Summary: | [Wayland] Kwin Wayland cannot draw titlebars shadows correctly | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | tromzy |
Component: | aurorae | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kde, nate |
Priority: | NOR | Flags: | vlad.zahorodnii:
Wayland+
vlad.zahorodnii: X11+ |
Version First Reported In: | 5.13.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Black rectangle around the titlebar context popup
Breeze Window decoration 1 Breeze Window decoration 2 |
If you're able to downgrade Qt, could you please try to reproduce the bug with Qt 5.11.X? I still have 5.11 packages in my /var/cache/pacman/pkg/ folder, which one should I reinstall ? I don't feel like reinstalling ALL 5.11 packages... Oh, you're using Arch. Nevermind then, downgrading packages on Arch is PITA. @Vlad, what were you thinking could be the cause that you wanted to test? @tromzy as well as trying different window decos, see if changing the qstyle theme makes a difference. I started noticing this issue after upgrading to Qt 5.12. Though on X11, it's occasional. Changing the Qt style makes a difference, but other problems occur too. The black rectangle problem seems to happen only with Kvantum Qt style ; other styles like Fusion or Breeze have their own set of glitches, but not the "rectangle for shadow" one. After updating Qt to 5.12.1, I no longer able to reproduce it. I am on QT 5.12.1 too and the bug still occurs. > other styles like Fusion or Breeze have their own set of glitches
Are they still present?
Hmm, I just changed from Kvantum to Breeze style ; the glitches are still present with Breeze ; but then I switched back from Breeze to Kvantum and... Problem solved ! It seems to draw the shadow correctly (although other problems remain, like the inability to close the context window, but that is probzbly another issue). (In reply to tromzy from comment #11) > the glitches are still present with Breeze What glitches exactly? Created attachment 117923 [details]
Breeze Window decoration 1
Created attachment 117924 [details]
Breeze Window decoration 2
See the 2 screenshots I provided : on "Breeze window decoration 1", I just made a right click on the title bar : the entries are blue-ish. On "Breeze window decoration 2", this is after I hovered every entry : they got even more blue. Hmm, that glitch looks unrelated to this report. Anyway, I'm marking it as WORKSFORME. If you're still able to reproduce this bug, please file a bug report downstream (kvantum). If it turns out that's a problem in KWin (very unlikely), then please reopen this bug report. |
Created attachment 117465 [details] Black rectangle around the titlebar context popup SUMMARY On Wayland, if I right click a window title bar, the context menu has a weird black rectangle around itself, instead of its shadow. i tried several different window decoration themes and the same problem occurs everytime. See screenshot for result. STEPS TO REPRODUCE 1. Start a Wayland session 2. Open any window 3. Right click the titlebar OBSERVED RESULT See screenshot ; weird black rectangle around the context popup. EXPECTED RESULT A shadow. SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.54 Qt Version: 5.12.0 ADDITIONAL INFORMATION