Bug 482784 - Plastik window decorations cause: window titlebars to loose color definition and location visibility (greyed out) after suspend/unsuspend. Resizing corrupts titlebar, then crashes window.
Summary: Plastik window decorations cause: window titlebars to loose color definition ...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: 5.27.10
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-07 23:29 UTC by panorain
Modified: 2024-04-09 06:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Greyed-Dolphin-Titlebar-After-Unsuspend-0 (5.61 KB, image/png)
2024-03-07 23:29 UTC, panorain
Details
Corrupted-Window-Titlebar-Once-Resized (133.73 KB, image/png)
2024-03-07 23:42 UTC, panorain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description panorain 2024-03-07 23:29:57 UTC
Created attachment 166649 [details]
Greyed-Dolphin-Titlebar-After-Unsuspend-0

NOTE: See *Update:* section below in this report for updated and current workaround implemented here. 

Initial Problem:

I have a fully updated 64 bit openSUSE Tumbleweed installed. Even before the latest snapshot this was happening. I notice that after suspend/unsuspend the preexisting titlebars (Dolphin instance, KeepassXC instance and Firefox instances etc. That the titlebar color has turned to greyed state (on all the open preexisting application windows) with the specific applications Titlebar information being nearly illegible (slightly more greyed than the rest of the titlebar). 

Currently the system here is set for Global Theme openSUSE, Application Style is set to Breeze, Plasma style is set to openSUSE Follows color scheme. Colors are set to Breeze Classic and Window Decorations are set to Plastik. These settings are confirmed (static) and have been applied for some time between powercycles.

Newly opened windows (after unsuspending *OR* freshly booted) open with a fully legible and colored titlebar, labeled with easy to read location indicator on the upper left of the titlebar. I have attached a snapshot of an afflicted Dolphin instance to this message.




If this is not a bug how can I fix this problem? Do you think this could be related to the actual Nvidia driver itself? Or possibly the video card?


Update:

After unsuspending the system and experiencing the issue. System Settings -> Window Decorations -> Select 'breeze' apply settings. <- Colors reappear. Changing application window size (middle button, far right of titlebar) no longer causes characacter size to change either.
Switching back to Plastik works fine. Until next suspend/unsuspend cycle is performed. 

Using *only* the Breeze window decoration does not appear to have this issue at all.   

STEPS TO REPRODUCE
1. Suspend then Unsuspend the machine. Sleep/Unsleep machine into onboard memory.
 

OBSERVED RESULT
Greyed out and almost illegible window titlebar display information.

EXPECTED RESULT
Legible and colored window titlebars. Able to change size without crashing the window when attempting to resize.

SOFTWARE/OS VERSIONS
Linux: openSUSE Tumbleweed
KDE Plasma Version:  5.27.10
KDE Frameworks version = 5.115.0 
Kernel Version = 6.7.7-1-default (64-bit)
Graphics Platform = X11
Qt Version: 5.15.12

ADDITIONAL INFORMATION
For now the workaround is to *USE* only the (available by default) Breeze window decorations as the Plastik window decorations seem to be very problematic.
Comment 1 panorain 2024-03-07 23:42:06 UTC
Created attachment 166650 [details]
Corrupted-Window-Titlebar-Once-Resized

Added a screenshot of the titlebar description becoming corrupted when resize (top right middle button) is attempted. Attempting to maximize (click again) then crashes the window.
Comment 2 panorain 2024-03-08 04:21:25 UTC
If I pass 'journalctl -f' in Konsole. Suspend and unsuspend the machine with the Plastik window decorations and view the Konsole output is:

journalctl -f
Mar 07 22:17:01 paul-Thinkcentre-M57p systemsettings[10343]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:283:9: QML QQuickItem* (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredWidth"
Mar 07 22:17:01 paul-Thinkcentre-M57p systemsettings[10343]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Mar 07 22:17:01 paul-Thinkcentre-M57p systemsettings[10343]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Mar 07 22:17:01 paul-Thinkcentre-M57p systemsettings[10343]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/templates/OverlaySheet.qml:603:17: QML ColumnLayout: Binding loop detected for property "height"
Mar 07 22:17:01 paul-Thinkcentre-M57p systemsettings[10343]: kf.coreaddons: KPluginFactory could not create a KDecoration2::DecorationThemeProvider instance from "/usr/lib64/qt5/plugins/org.kde.kdecoration2/breezedecoration.so"
Mar 07 22:17:01 paul-Thinkcentre-M57p systemsettings[10343]: Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
Mar 07 22:17:03 paul-Thinkcentre-M57p systemsettings[10343]: Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Mar 07 22:17:19 paul-Thinkcentre-M57p plasmashell[2096]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:286: Unable to assign [undefined] to QString
Mar 07 22:17:19 paul-Thinkcentre-M57p systemd[1873]: Started Konsole - Terminal.
Mar 07 22:17:19 paul-Thinkcentre-M57p plasmashell[2096]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:286: Unable to assign [undefined] to QString
Mar 07 22:17:36 paul-Thinkcentre-M57p chronyd[1459]: Selected source 207.246.65.226 (2.opensuse.pool.ntp.org)
Comment 3 Nate Graham 2024-03-10 04:55:35 UTC
Is it happening on Plasma 6 too?
Comment 4 panorain 2024-03-10 05:48:22 UTC
openSUSE Tumbleweed has not released a Plasma 6 package yet (in zypper dup). It's in staging and people are talking about it on the factory mailing list. It's available in the oss build repository I think. Who develops the Plastik window decorations anyways?
Comment 5 Bug Janitor Service 2024-03-25 03:46:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 panorain 2024-03-25 15:13:16 UTC
Yes the problem exists in Plasma 6 also. From what I can tell it is identical to as before.
Comment 7 Bug Janitor Service 2024-04-09 03:48:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!