Bug 1892701 - rstudio is broken in wayland
Summary: rstudio is broken in wayland
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rstudio
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Iñaki Ucar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-29 13:29 UTC by Basil Eric Rabi
Modified: 2020-10-30 08:25 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-30 00:41:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.