Bug 1892701

Summary: rstudio is broken in wayland
Product: [Fedora] Fedora Reporter: Basil Eric Rabi <ericbasil.rabi>
Component: rstudioAssignee: Iñaki Ucar <i.ucar86>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: i.ucar86
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-30 00:41:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Basil Eric Rabi 2020-10-29 13:29:09 UTC
Description of problem:
Rstudio won't open in wayland

Version-Release number of selected component (if applicable):
rstudio-desktop-1.3.1093-1.fc33.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Just open RStudio
2.
3.

Actual results:
Crashes and won't oepn.

Expected results:
Opens.

Additional info:
Works fine in xorg and in F32 Wayland.

Comment 1 Iñaki Ucar 2020-10-29 16:27:45 UTC
1) RStudio can't be broken in Wayland, because RStudio never supported Wayland in the first place.
2) What we do is to prepend "env QT_QPA_PLATFORM=xcb" to tell Qt that this application does not support Wayland (see `cat /usr/share/applications/rstudio.desktop`)

And that should work. And it works on my end, I can't reproduce the issue. So I'm not sure what issue you may be hitting (maybe Gnome is not honoring the Exec line in the .desktop file?), but I'm afraid there's nothing more we can do in the RStudio package.

Comment 2 Basil Eric Rabi 2020-10-30 00:41:15 UTC
I installed a bunch of rpms then now rstudio opens in wayland. Maybe some package is needed for Qt apps not supporting wayland to run in wayland. Thank you for packaging this.

Comment 3 Iñaki Ucar 2020-10-30 08:25:48 UTC
Thanks for the report. I'd suggest to push upstream for a better Wayland support.