Bug 436519

Summary: Skrooge splash screen not centered on Wayland
Product: [Applications] skrooge Reporter: skierpage <info>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED DOWNSTREAM    
Severity: minor CC: stephane
Priority: NOR    
Version First Reported In: Trunk from git   
Target Milestone: 25.1.0   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description skierpage 2021-05-03 06:04:11 UTC
SUMMARY
The skrooge splash screen appears at the top left of the screen when run on Wayland.

STEPS TO REPRODUCE
1. Run skrooge
2. Look at the position of its titlebar
3. Confirm Help > About Skrooge > Libraries displays "The wayland windowing system"

OBSERVED RESULT
The Skrooge 2.28 splash window appears at the top left of the screen in Wayland. Happens with both Fedora 34's Skrooge 2.23.0 and the kdeapps flatpak.


EXPECTED RESULT
It is centered on X11.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: ??
KDE Frameworks Version: 5.81.0
Qt Version: Qt 5.15.3 (built against 5.15.3)
The wayland windowing system

ADDITIONAL INFORMATION
This may be a fact of life under Wayland, see https://gitlab.freedesktop.org/wayland/wayland/-/issues/40 .
If your .skg file is password-protected, the password dialog appears to the right of the splash screen.
I'm already getting used to the different behavior 😉.
Comment 1 Stephane MANKOWSKI 2021-11-06 15:07:58 UTC
Skrooge uses QSplashScreen and doesn't set the position of the splash screen.
So, the bug is not in skrooge but in QSplashScreen or wayland.