Bug 420757

Summary: Text-only virtual desktop OSD is empty when I switch virtual desktop for the first time after login
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: minor CC: andrea.ippo, nate, plasma-bugs
Priority: NOR    
Version: 6.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=483420
Latest Commit: Version Fixed In: 6.1
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2020-04-29 15:21:32 UTC
STEPS TO REPRODUCE
1. set virtual desktops in system settings > workspace behavior > virtual desktop ( I use 4 virtual desktops, 2 rows)
2. check "Show on-screen display when switching" and leave "Show desktop layout indicators" unchecked
3. restart Plasma session
4. switch virtual desktop

OBSERVED RESULT
Empty OSD appears on the screen.
Switch virtual desktop again and the OSD shows the virtual desktop name as expected.
Watch the attached screen recording please.

EXPECTED RESULT
OSD should always show the virtual desktop name

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Comment 1 Patrick Silva 2020-04-29 21:04:01 UTC
Created attachment 128012 [details]
screen recording
Comment 2 Nate Graham 2021-08-31 18:48:22 UTC
Cannot reproduce with current git master. Can you?
Comment 3 Patrick Silva 2021-09-01 10:48:31 UTC
I can reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 4 Nate Graham 2021-09-01 14:08:59 UTC
OK.
Comment 5 Nate Graham 2023-04-27 21:32:22 UTC
Still cannot reproduce. How about on Plasma 5.27?
Comment 6 Patrick Silva 2023-04-27 21:48:20 UTC
it's still reproducible.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland
Comment 7 Patrick Silva 2023-05-08 19:34:27 UTC
*** Bug 456633 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-03-13 21:08:39 UTC
Can reproduce.
Comment 9 Bug Janitor Service 2024-04-11 13:51:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5601
Comment 10 Andrea Ippolito 2024-05-20 07:54:09 UTC
Faced this as well today.

journalctl -b -f

May 20 09:51:05 andromeda kwin_wayland[1868]: This plugin does not support raise()
May 20 09:51:01 andromeda kwin_wayland[1868]: This plugin does not support raise()
May 20 09:50:59 andromeda kwin_wayland[1868]: This plugin does not support raise()
May 20 09:50:57 andromeda kwin_wayland[1868]: This plugin does not support raise()
May 20 09:50:55 andromeda kwin_wayland[1868]: This plugin does not support raise()
May 20 09:50:55 andromeda kwin_wayland[1868]: trying to show an empty dialog
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_effect_blur: Failed to create an offscreen framebuffer
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: 0x3: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_effect_blur: Failed to create an offscreen framebuffer
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: 0x3: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_effect_blur: Failed to create an offscreen framebuffer
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: 0x3: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_effect_blur: Failed to create an offscreen framebuffer
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: 0x3: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_effect_blur: Failed to create an offscreen framebuffer
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
May 20 09:50:55 andromeda kwin_wayland[1868]: kwin_scene_opengl: 0x3: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
May 20 09:50:54 andromeda kwin_wayland[1868]: This plugin does not support raise()
May 20 09:50:54 andromeda kwin_wayland[1868]: trying to show an empty dialog
May 20 09:50:54 andromeda kwin_wayland[1868]: file:///usr/share/kwin/scripts/desktopchangeosd/contents/ui/osd.qml:41:9: QML QQuickItem*: Binding loop detected for property "width"
May 20 09:50:54 andromeda kwin_wayland[1868]: file:///usr/share/kwin/scripts/desktopchangeosd/contents/ui/osd.qml:41:9: QML QQuickItem*: Binding loop detected for property "width"


I think it's `trying to show an empty dialog`

Hope this helps


Operating System: openSUSE Tumbleweed 20240517
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 30,7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7
Comment 11 David Edmundson 2024-05-24 13:03:19 UTC
Git commit 5362105f276d62aff420bbc36615b75f999a21a7 by David Edmundson.
Committed on 24/05/2024 at 12:51.
Pushed by davidedmundson into branch 'master'.

plugins/desktopchangeosd: Port to simpler PlasmaWindow

Plasma::Dialog contains logic that we don't want for a kwin window and
is considered deprecated. Dialog uses the width of the main item which
results in an unavoidable binding loop.

PlasmaWindow allows us to propagate implicit sizes upwards correctly.

M  +6    -5    src/plugins/desktopchangeosd/package/contents/ui/osd.qml

https://invent.kde.org/plasma/kwin/-/commit/5362105f276d62aff420bbc36615b75f999a21a7
Comment 12 Patrick Silva 2024-07-10 03:00:13 UTC
Can reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.8.0
Graphics Platform: Wayland
Comment 13 Andrea Ippolito 2024-09-24 07:58:48 UTC
Still present

Operating System: openSUSE Tumbleweed 20240922
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.11-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7
Comment 14 Patrick Silva 2025-01-04 20:46:10 UTC
Cannot reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Graphics Platform: Wayland