Bug 423008 - Task switcher renders incorrectly and behaves strangely
Summary: Task switcher renders incorrectly and behaves strangely
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.19.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-15 12:18 UTC by Bernie Innocenti
Modified: 2021-11-06 13:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
the task switcher in one of the odd states described in the bug (1023.80 KB, image/png)
2020-06-15 12:18 UTC, Bernie Innocenti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernie Innocenti 2020-06-15 12:18:55 UTC
Created attachment 129383 [details]
the task switcher in one of the odd states described in the bug

Sorry for the lack of specificity: the exact behavior varies between sessions and I couldn't pinpoint how to trigger the same bug on another machine.

SUMMARY

Switching applications with alt-tab has become tricky: often, the switcher displays a single entry for "Show Desktop" (even if the option to include Show Desktop is unchecked).

Sometimes, the switcher appears with transparent background or other rendering artifacts. I haven't been able to reproduce this in a couple of weeks.

When I hit alt-tab and release it, the desktop is indeed revealed.

When I hit alt-tab again, sometimes the windows come back, and sometimes they start coming back, but as soon as I release alt-tab the desktop is shown again.

STEPS TO REPRODUCE

No idea! It just started happening 1 month ago, and I tried selecting different visualizations and fiddling with the other settings, to no use.

However, this is what I know:
 - I can only reproduce this on my Arch Linux box, not on Fedora 32
 - It is unrelated to using 30bpp
 - The bug shows with or without compositing
 - I think it first appeared when I upgraded to qt 5.15
 - I had this bug with plasma 5.18.x, and upgrading to 5.19 didn't fix it
 - It happened with KF 5.70 and KF 5.71
 - Also happens with kwinft built from git master
 - I checked for conflicting shortcuts, and there aren't any


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19
KDE Frameworks Version: 5.71
Qt Version: 5.15
Comment 1 Bernie Innocenti 2020-06-15 12:39:57 UTC
Suspiciously similar to bug #421527, but this one triggers every time.
Comment 2 Bernie Innocenti 2020-06-15 17:29:12 UTC
Deleting the [TabBox] and [TabBoxAlternative] sections from ~/.config/kwinrc resolved the "behaves incorrectly part of this bug.

I have not determined which of these settings triggered the bug, but I tried switching between different layouts (Breeze, BreezeDark...) and they all work now.


--- kwinrc.bak  2020-06-16 02:17:48.668094687 +0900
+++ kwinrc      2020-06-16 02:20:12.169159896 +0900
@@ -132,32 +132,6 @@ wobblywindowsEnabled=true
 PopupHideDelay=500
 TextOnly=false

-[TabBox]
-ActivitiesMode=0
-ApplicationsMode=0
-BorderActivate=9
-BorderAlternativeActivate=9
-DesktopLayout=org.kde.breeze.desktop
-DesktopListLayout=org.kde.breeze.desktop
-DesktopMode=2
-HighlightWindows=false
-LayoutName=org.kde.breezedark.desktop
-MinimizedMode=0
-MultiScreenMode=0
-TouchBorderActivate=6
-TouchBorderAlternativeActivate=9
-
-[TabBoxAlternative]
-ActivitiesMode=1
-ApplicationsMode=0
-DesktopMode=1
-HighlightWindows=false
-MinimizedMode=0
-MultiScreenMode=0
-ShowDesktopMode=0
-ShowTabBox=true
-SwitchingMode=0
-
 [TouchEdges]
 Bottom=None
 Left=None
Comment 3 kde.org 2021-11-06 13:31:25 UTC
User cannot reproduce the issue anymore.