Summary: | Plastik window decorations render issues after suspend/resume | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Miguel De Anda <miguel> |
Component: | decorations | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | allo, kde.20.andromodon |
Priority: | NOR | ||
Version: | 5.21.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
this particular suspend/resume resulted in multiple different treatments
fixed by switching window decoration to breeze, then back to plastik An example of the black (missing?) title bar on the first window opened after suspend. |
Description
Miguel De Anda
2021-04-20 19:52:08 UTC
Created attachment 137737 [details]
this particular suspend/resume resulted in multiple different treatments
Created attachment 137738 [details]
fixed by switching window decoration to breeze, then back to plastik
i didn't restart anything and just switched window decorations to fix the issue.
I have the same problem. I was about to type a bug report and add it here as comment now. It happens every time I use suspend to RAM on Debian testing. SUMMARY After suspend to RAM, the plastik window decorations are broken. Some windows have transparent title bars (The buttons work when you know where they should be) others have an title bar that looks not focussed even when it has the focus. STEPS TO REPRODUCE 1. Use Plastik window decorations 2. Use suspend to RAM 3. Wake up the PC again OBSERVED RESULT Broken window decoration. EXPECTED RESULT Working window decoration SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.20.5 (available in About System) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION Using breeze decorations there seems to be no problem. kwin --replace fixes the problem, switching to breeze decorations and back to plastik also works as a workaround for the problem. The compositor uses XRender and smooth scaling Nvidia driver: 460.67-1 It gets worse. Randomly windows do not have a visible decoration at all, even when they are opened after resuming (I had at least the impression that the problem only affects windows that already were open), but I can click the buttons when I know the position. I do not see a clear pattern which windows do not work, but when I disable compositing the broken titlebars reappear as black bar, which is still clickable. Compositor: XRender (as opengl tends not to work very well with nvidia graphics) SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.20.5 (available in About System) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 I'm also running into the same issue. It seems that the first window opened after a suspend is the one that has the title bar missing. All further windows opened are fine. It doesn't seem to matter what program is run, just the first one window after a suspend. I'll attach an example too, called "chrome.jpeg". I have a keyboard shortcut set to run "kwin_x11 --replace" and this fixes the black title bar in the window. Created attachment 147778 [details]
An example of the black (missing?) title bar on the first window opened after suspend.
This bug was reported against an outdated version of KWin. We have made many changes since the. If the issue persists in newer versions can you reopen the bug report updating the version number. I can still reproduce. I do not get black titlebars, but the titlebars of open windows are stuck at the colors they had before suspend, which means one window has a titlebar with the color for focussed windows and the other windows the colors of unfocussed windows and they do not change when you switch windows. If you resize windows the text and buttons get visually distored. It still happens for Plastik and not for Breeze or Oxygen. |