Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793203 - gnome-base/gnome-40[wayland] breaks X11 applications
Summary: gnome-base/gnome-40[wayland] breaks X11 applications
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-31 12:29 UTC by Jan Henke
Modified: 2021-06-04 03:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Henke 2021-05-31 12:29:57 UTC
After updating gnome to 40, applications using X11 are no longer visible.
xorg-server builds the Xwayland application and Xwayland is also launched after log in. Still only waland-native applications are actually rendered on the desktop. Any X11 application is running (visible in the process list and when launched via a terminal, has active output), but shows no window or other GUI element.

Switching the GNOME session to "GNOME on Xserver" brings back all applications, but suffers from the X11 limitations (for me mostly the lack of fractional desktop scaling)

Reproducible: Always

Steps to Reproduce:
1. Update to GNOME 40
2. Start a GNOME wayland session
3. Launch any X11 applocation
Actual Results:  
"nothing happens" (application is launched, but nothing appears on the screen)

Expected Results:  
The application's window appears on screen.

Used to work fine with GNOME to to and including 3.38, broken with 40
Comment 1 Mart Raudsepp gentoo-dev 2021-06-02 20:15:37 UTC
If this is on OpenRC/elogind, it might be needing https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/2c6aca9ba7974a67c9fd6f0a51c6a3d485044655 to get grabbed in in a gnome-shell patchset revision bump.
Could someone experiencing the issue try if that patch solves it? Add `.patch` at the end of the URL to get a downloadable and usable version to apply.
Comment 2 Tim Dodge 2021-06-02 20:25:41 UTC
(In reply to Mart Raudsepp from comment #1)
> If this is on OpenRC/elogind, it might be needing
> https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/
> 2c6aca9ba7974a67c9fd6f0a51c6a3d485044655 to get grabbed in in a gnome-shell
> patchset revision bump.
> Could someone experiencing the issue try if that patch solves it? Add
> `.patch` at the end of the URL to get a downloadable and usable version to
> apply.

This patch works for me - I'm on OpenRC/elogind and X11 apps now appear. Thanks!
Comment 3 Larry the Git Cow gentoo-dev 2021-06-02 23:53:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f167e1b1efddbbaa9268e0764bbb37f2e4e303b6

commit f167e1b1efddbbaa9268e0764bbb37f2e4e303b6
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-06-02 22:55:29 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-06-02 23:52:43 +0000

    gnome-base/gnome-shell: Add patches from upstream
    
    Closes: https://bugs.gentoo.org/793203
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 gnome-base/gnome-shell/Manifest                   |   1 +
 gnome-base/gnome-shell/gnome-shell-40.1-r1.ebuild | 193 ++++++++++++++++++++++
 2 files changed, 194 insertions(+)