Bug 429072

Summary: Eclipse splash screen behaves differently between kwin + X11 and Kwin-wayland
Product: [Plasma] kwin Reporter: jonas-miles-kwecl
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bugseforuns, kde
Priority: NOR    
Version First Reported In: 5.19.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The bad splash screen on wayland

Description jonas-miles-kwecl 2020-11-13 22:47:31 UTC
Created attachment 133320 [details]
The bad splash screen on wayland

SUMMARY


STEPS TO REPRODUCE
1. Launch eclipse once with plasma + x11 and once with plasma-wayland
2. Observe the difference between splash screens

OBSERVED RESULT
With X11 the eclipse splash screen work like expected.
With wayland it appears as a framed window not centered in the screen

EXPECTED RESULT
No difference between X11 launch and wayland launch.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 jonas-miles-kwecl 2020-11-13 23:22:35 UTC
See those bug on the eclipse bug report tool that seem to be related to this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=549504
https://bugs.eclipse.org/bugs/show_bug.cgi?id=473278
https://bugs.eclipse.org/bugs/show_bug.cgi?id=564394
Comment 2 Patrick Silva 2020-11-14 09:51:45 UTC
Splash screens of kdenlive, audacity and qBittorrent are also not centered on the screen on Wayland session of Arch Linux (Plasma 5.20.3) and neon unstable.
Comment 4 jonas-miles-kwecl 2020-11-17 13:12:31 UTC
See also this bug on wayland bug report tool:
https://gitlab.freedesktop.org/wayland/wayland/-/issues/40
Comment 5 David Edmundson 2020-11-17 13:31:58 UTC
This is somewhat to be expected.

Wayland windows can't position themselves.

For the Qt clients listed, we can maybe implement layer-shell when we detect the window type is a splash screen.

For eclipse, it needs eclipse to do something.
Comment 6 jonas-miles-kwecl 2020-11-18 17:16:57 UTC
See also this discussion
https://gitlab.gnome.org/GNOME/mutter/-/issues/316