Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 650728

Summary: sci-mathematics/rstudio-1.1.383: dialog box on exit not working
Product: Gentoo Linux Reporter: François Valenduc <francoisvalenduc>
Component: Current packagesAssignee: Mark Wright <gienah>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: try for an adapted ebuild

Description François Valenduc 2018-03-17 16:05:31 UTC
This is a problem which occurs with every version of rstudio I have tried. When I try to quit rstudio, a dialog box asks if I want to save the workspace. Clicking on yes or no doesn't do anything. The only way to quit rstudio is to type q() in the console.
This problem doens't occur under other distribution (like opensuse or ubuntu).
Does somebody notice the same problem ?
Comment 1 François Valenduc 2018-03-17 16:06:19 UTC
The same problem also occurs when closing a file. Clicking on yes or no also doesn't do anything.
Comment 2 tmvlpl 2018-09-26 09:21:59 UTC
The problem still occurs on the latest build version 1.1.453. According to the upstream bug report https://github.com/rstudio/rstudio/issues/2007 the issue seems to have something to do with using the system Qt libraries instead of the ones bundled with RStudio.
Comment 3 François Valenduc 2018-11-09 19:52:07 UTC
Created attachment 554700 [details]
try for an adapted ebuild

According to the comments in the github issue, the problem has been solved in arch linux. I tried to apply the same changes to the ebuild as those applied to the pkgbuild file (see https://aur.archlinux.org/cgit/aur.git/commit/?h=rstudio-desktop-git&id=2c4413a5714dae9753d2e62ba326286871ca94ef). Unfortunately, the configuration fails with this error:

CMake Error at src/cpp/desktop/CMakeLists.txt:83 (find_package):
Found package configuration file:

/usr/lib64/cmake/Qt5WebKit/Qt5WebKitConfig.cmake

but it set Qt5WebKit_FOUND to FALSE so package "Qt5WebKit" is considered to
be NOT FOUND. Reason given by package:

Qt5WebKit could not be found because dependency is required to have exact
version 5.11.x.

Does anybody has an idea to solve this ?
Comment 4 François Valenduc 2021-01-25 18:04:13 UTC
This bug doesn't occur anymore since quite a long time.