Bug 433071 - No background wallpapers in Desktop Grid on Wayland when Present Windows effect is enabled
Summary: No background wallpapers in Desktop Grid on Wayland when Present Windows effe...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (show other bugs)
Version: 5.21.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression, wayland
Depends on:
Blocks:
 
Reported: 2021-02-17 11:49 UTC by geisserml
Modified: 2022-05-06 10:44 UTC (History)
9 users (show)

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


Attachments
no wallpapers shown (66.57 KB, image/png)
2021-02-17 11:49 UTC, geisserml
Details
configuration file (11.03 KB, text/plain)
2021-05-14 11:08 UTC, geisserml
Details
Old user (2.63 KB, text/plain)
2021-08-26 11:25 UTC, geisserml
Details
New user (1.07 KB, text/plain)
2021-08-26 11:25 UTC, geisserml
Details

Note You need to log in before you can comment on or make changes to this bug.
Description geisserml 2021-02-17 11:49:03 UTC
Created attachment 135762 [details]
no wallpapers shown

SUMMARY
Wallpapers are black/invisible in the Show Desktop Grid effect (on Wayland only, Screenshot attached)

STEPS TO REPRODUCE
1. Login to a Wayland session
2. Trigger the "Show Desktop Grid" effect (via button or keyboard shortcut)
-> the open windows of the various virtual desktops are visible, but not the backgrounds/wallpapers, they're just black.

OBSERVED RESULT
black/no Wallappers in Show Desktop Grid effect on Wayland

EXPECTED RESULT
Wallpapers should show up correctly for all virtual desktops, as they do in X11

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-65-generic
OS Type: 64-bit
Graphics Platform: Wayland

ADDITIONAL INFORMATION
The Present Windows effect correctly shows the wallpaper
Comment 1 geisserml 2021-02-17 16:06:27 UTC
I created a new user account and tested it there - the bug doesn't happen, so this must probably be a configuration issue, although I have no clue why...
Comment 2 geisserml 2021-03-11 12:02:38 UTC
I have the same problem with the Parachute script - it also doesn't show the wallpaper as background.
Comment 3 geisserml 2021-03-17 10:00:59 UTC
Does anyone have an guess where this could come from? Maybe there is a damaged entry in a configuration file?
Which config files are related to the desktop wallpaper, so that I could take a look whether there is something peculiar?
Comment 4 geisserml 2021-04-23 18:19:55 UTC
This is still troubling me - I'd like to have the background wallpaper in Show Desktop Grid back at some point, but I am not really enthusiastic about switching to a new user account - I've done sooo much configuration etc. ...
Could anyone please give me some hint what I can do?
Comment 5 geisserml 2021-04-30 16:44:35 UTC
Still missing my wallpaper...
Comment 6 geisserml 2021-05-03 13:02:42 UTC
Wallpaper, please come back :/
Comment 7 geisserml 2021-05-07 14:38:28 UTC
wallpaper &>/dev/null
Comment 8 Thiago Sueto 2021-05-14 01:59:10 UTC
Hello, I cannot reproduce this on Plasma from master.
Could you share your ~/.config/plasma-org.kde.plasma.desktop-appletsrc?
That's the file that handles wallpapers from what I recall.
Comment 9 geisserml 2021-05-14 11:08:34 UTC
Created attachment 138411 [details]
configuration file
Comment 10 geisserml 2021-05-18 10:04:55 UTC
I attempted to clean up said configuration file and replace most of it with a fresh one from a new user account, but it didn't take the desired effect; still the same problem as before.
Comment 11 David Edmundson 2021-05-18 10:54:24 UTC
Can you run:

qdbus org.kde.KWin /KWin org.kde.KWin.queryWindowInfo and click on the desktop
Comment 12 geisserml 2021-05-18 11:44:42 UTC
activities: caption: Arbeitsfläche — Plasma
clientMachine: 
desktopFile: org.kde.plasmashell
fullscreen: false
height: 1024
keepAbove: false
keepBelow: false
localhost: true
maximizeHorizontal: 0
maximizeVertical: 0
minimized: false
noBorder: true
resourceClass: org.kde.plasmashell
resourceName: plasmashell
role: 
shaded: false
skipPager: false
skipSwitcher: true
skipTaskbar: true
type: 1
width: 1280
x: 0
x11DesktopNumber: -1
y: 0
Comment 13 zeertzjq 2021-05-19 06:49:13 UTC
I also have this problem and it makes it hard to see how desktops are arranged in the grid.
Comment 14 zeertzjq 2021-05-19 06:53:27 UTC
(Also in Wayland only, and in Desktop Grid but not Desktop Cube)
Comment 15 geisserml 2021-08-26 10:43:17 UTC
Ping :)
Is there any chance we will ever find the cause of this issue?
Comment 16 Vlad Zahorodnii 2021-08-26 10:57:38 UTC
Can you attach kwinrc file from your old and new account?
Comment 17 geisserml 2021-08-26 11:25:41 UTC
Created attachment 141058 [details]
Old user
Comment 18 geisserml 2021-08-26 11:25:54 UTC
Created attachment 141059 [details]
New user
Comment 19 geisserml 2021-08-26 11:26:25 UTC
> Can you attach kwinrc file from your old and new account?
Done
Comment 20 geisserml 2021-08-28 20:06:04 UTC
Did the kwinrc files contain any useful information?
Comment 21 Bacteria 2021-10-29 06:33:43 UTC
I can reproduce this on Plasma 5.23.2. What's weird is I didn't encounter this bug on the older versions and happened right after update to 5.23.
Comment 22 Bacteria 2021-10-29 06:50:49 UTC
Present Windows effect is what is causing the issue here. Disabled it and I can see the background once again.

OP is also using the this effect which is visible in the kwinrc and the effect is not enabled by default.
Comment 23 geisserml 2021-10-29 16:18:22 UTC
> Present Windows effect is what is causing the issue here. Disabled it and I can 
> see the background once again.
Wow, good catch! Disabling Present Windows indeed solves the problem.
Comment 24 Nate Graham 2021-10-29 16:31:21 UTC
Can confirm. Very interesting observation!
Comment 25 David Strobach 2022-01-10 14:35:09 UTC
(In reply to Nate Graham from comment #24)
> Can confirm. Very interesting observation!

+1. Same here on Plasma 5.23.5/Wayland. No background in Desktop Grid effect if Present Windows is enabled at the same time.
Comment 26 David Strobach 2022-02-10 03:03:55 UTC
The bug is triggered by the "Show panels" option of the Present Windows effect. If the option is disabled, there's no wallpaper in the desktop grid.
Comment 27 Bacteria 2022-04-12 17:56:00 UTC
Just updated to KDE Frameworks 5.93 and the wallpaper is not present anymore.

Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Comment 28 Bacteria 2022-04-12 17:56:28 UTC
(In reply to Bacteria from comment #27)
> Just updated to KDE Frameworks 5.93 and the wallpaper is not present anymore.
> 
> Operating System: Arch Linux
> KDE Plasma Version: 5.24.4
> KDE Frameworks Version: 5.93.0
> Qt Version: 5.15.3

the wallpaper issue*
Comment 29 Marco Martin 2022-05-06 10:44:52 UTC
Git commit 7a4cabf3287e82e7d1d6ba84b8b059ab470f9f42 by Marco Martin.
Committed on 06/05/2022 at 10:44.
Pushed by mart into branch 'master'.

QML version of the Desktop Grid effect

Replace completely the old desktop grid effect with a QML version.
Aims to feature parity and be a change as transparent as possible for the user.
Related: bug 452625, bug 443971, bug 437121, bug 452925, bug 437928, bug 452439, bug 288530, bug 450254, bug 450106, bug 447832, bug 449960, bug 416576, bug 441862, bug 444859, bug 445999, bug 422117, bug 404627, bug 435483, bug 420744, bug 435482, bug 427055, bug 333445, bug 429120, bug 427391, bug 409295, bug 294322, bug 356955
FIXED-IN: 5.25

M  +5    -0    src/effects.cpp
M  +10   -5    src/effects/desktopgrid/CMakeLists.txt
D  +0    -1571 src/effects/desktopgrid/desktopgrid.cpp
D  +0    -186  src/effects/desktopgrid/desktopgrid.h
D  +0    -32   src/effects/desktopgrid/desktopgrid.kcfg
M  +6    -14   src/effects/desktopgrid/desktopgrid_config.cpp
M  +2    -2    src/effects/desktopgrid/desktopgrid_config.h
M  +68   -144  src/effects/desktopgrid/desktopgrid_config.ui
A  +32   -0    src/effects/desktopgrid/desktopgridconfig.kcfg
M  +5    -1    src/effects/desktopgrid/desktopgridconfig.kcfgc
A  +342  -0    src/effects/desktopgrid/desktopgrideffect.cpp     [License: GPL(v2.0+)]
A  +108  -0    src/effects/desktopgrid/desktopgrideffect.h     [License: GPL(v2.0+)]
M  +5    -4    src/effects/desktopgrid/main.cpp
D  +0    -26   src/effects/desktopgrid/main.qml
M  +1    -0    src/effects/desktopgrid/metadata.json
A  +255  -0    src/effects/desktopgrid/qml/DesktopView.qml     [License: GPL(v2.0+)]
A  +193  -0    src/effects/desktopgrid/qml/main.qml     [License: GPL(v2.0+)]
M  +22   -5    src/effects/private/qml/WindowHeap.qml
M  +21   -3    src/libkwineffects/kwineffects.h
M  +4    -1    src/libkwineffects/kwinquickeffect.cpp

https://invent.kde.org/plasma/kwin/commit/7a4cabf3287e82e7d1d6ba84b8b059ab470f9f42