Bug 445718

Summary: Wayland: Turning off>on monitor results in no taskbar icons and extremely tiny applets
Product: [Plasma] plasmashell Reporter: guimarcalsilva
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: guimarcalsilva, meven29, nate, plasma-bugs-null, rdieter
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.23.2   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description guimarcalsilva 2021-11-18 19:48:43 UTC
SUMMARY

STEPS TO REPRODUCE
1. On a Wayland session (5.23.2 - Fedora 35), turn off the monitor in a single monitor setup
2. Turn it back on again

OBSERVED RESULT

Plasma will restart, there will be no icons in the taskbar and all applets and menus will be extremely tiny. Check this video I made for more information: https://www.youtube.com/watch?v=UrHlbGFVfcg

EXPECTED RESULT

Plasma shouldn't restart, icons should be where they were and applets should maintain the correct size.

Let me know if and how I can get some kind of log to help solve this issue.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.17-301.fc35.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Radeon RX 570 Series

ADDITIONAL INFORMATION

Fully updated system - Single monitor setup - 1x scale
Comment 1 Nate Graham 2021-11-23 23:22:21 UTC
wtf
Comment 2 Méven Car 2021-11-24 10:02:25 UTC
"Qt Version: 5.15.2"

Does fedora use kde QT patch collection ?
I am not sure, it should say 5.15.3 if it did.
It seems it does not https://src.fedoraproject.org/rpms/qt5-qtbase

If that would not be the case, this bug is expected.
That's a bug taken care of in our patch collection and Qt6.
Comment 3 Rex Dieter 2021-11-24 18:40:31 UTC
Fedora does ship the patch collection, just reverts the artificial version bump to 5.15.3,

https://src.fedoraproject.org/rpms/qt5-qtbase/blob/f35/f/qt5-qtbase.spec#_140
Comment 4 guimarcalsilva 2021-12-03 21:00:27 UTC
I had an image of OpenSUSE Tumbleweed Live from November 1st with Plasma 5.22.5 and QT 5.15.2 and when running the live image with a Wayland session and turning off the screen the panel disappeared and then the entire screen went black.

Then I downloaded the Dec. 2 image with Plasma 5.23.3 and also QT 5.15.2 and this time the bug wasn't present.

This must mean:

1. Both Fedora and OpenSUSE revert the QT version number to 5.15.2

2. Since the OpenSUSE version from November was also affect similarly (but not exactly the same way), it's probably not a bug specific to Fedora.

3. The fix for this bug must be pretty recent and it probably didn't land in many distros yet. (Méven Car and Rex Dieter from Fedora, please confirm)

4. Since this can't be reproduced with the latest Tumbleweed live image I assume this probably won't happen with newer versions of Fedora when the patch fixing this finally lands.

Close bug, I guess?