Bug 477625

Summary: Weird icon placement of apps that do not have window in Dekstop Overview
Product: [Plasma] kwin Reporter: Jakub <jjaruszewski>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: cj61947, corcegajovic, fanzhuyifan, jjaruszewski, kde, nate, postix, xalt7x.service, yuntaz
Priority: NOR Keywords: qt6
Version: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=477025
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Dekstop Overview with Wayland to X11 Video Bridge icon
Wayland to X11 Video Bridge in Desktop Overview but not the Task Switcher
Wayland to X11 Video Bridge showing on Overview - Plasma 5
After commit 9ee3d7a2 XWayland Video Bridge is still visible in Overview

Description Jakub 2023-11-27 16:57:12 UTC
Created attachment 163543 [details]
Dekstop Overview with Wayland to X11 Video Bridge icon

SUMMARY
Noticed with Wayland to X11 Video Bridge enabled (default on KDE Neon). On the new desktop overview, icon of the Wayland to X11 Video Bridge is weirdly placed, but it should not even be there, since it does not have visible window (and not on the taskbar)
STEPS TO REPRODUCE
Note: Sometimes icon can be offscreen, so it may be useful to open mutilpe apps/add more virtual desktop
1. Have Wayland to X11 Video Bridge (check in system tray)
2. Have a couple windows open
3.  Open (new) Desktop Overview Effect
4. See weirdly placed icon

OBSERVED RESULT
There is an icon of weirdly placed Wayland to X11 Video Bridge

EXPECTED RESULT
There is no icon at all

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook_ASUSLaptop X521IA_M533IA
System Version: 1.0
Comment 1 fanzhuyifan 2023-11-28 05:17:03 UTC
Possible dupe of 477025
Comment 2 David Redondo 2023-11-28 10:22:38 UTC

*** This bug has been marked as a duplicate of bug 477025 ***
Comment 3 Jakub 2023-11-28 16:43:38 UTC
Created attachment 163582 [details]
Wayland to X11 Video Bridge in Desktop Overview but not the Task Switcher
Comment 4 Jakub 2023-11-28 16:45:18 UTC
(In reply to David Redondo from comment #2)
> 
> *** This bug has been marked as a duplicate of bug 477025 ***

Can still reproduce. I do not have Wayland to X11 Video Bridge in the task switcher, but I do have it in the Dekstop Overview. This is no a duplicate of https://bugs.kde.org/show_bug.cgi?id=477025
Comment 5 John Vincent 2023-11-29 01:45:24 UTC
Created attachment 163596 [details]
Wayland to X11 Video Bridge showing on Overview - Plasma 5

Also reproducible on Plasma 5.

SOFTWARE/OS VERSIONS
Operating System: Ultramarine Linux 39
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.12-300.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × 11th Gen Intel® Core™ i3-1115G4 @ 3.00GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 81X7
System Version: IdeaPad 3 14ITL05
Comment 6 Yevhen Popok 2023-11-29 07:59:19 UTC
Created attachment 163605 [details]
After commit 9ee3d7a2 XWayland Video Bridge is still visible in Overview

(In reply to Jakub from comment #4)
> (In reply to David Redondo from comment #2)
> > 
> > *** This bug has been marked as a duplicate of bug 477025 ***
> 
> Can still reproduce. I do not have Wayland to X11 Video Bridge in the task
> switcher, but I do have it in the Dekstop Overview. This is no a duplicate
> of https://bugs.kde.org/show_bug.cgi?id=477025

I'm not sure if it's a Pager thing, but even with
https://invent.kde.org/system/xwaylandvideobridge/-/commit/9ee3d7a21ee3069e37a205318914f48b2b597eaa
applied (which is supposed to close 477394, 477595 and  477625
I still can see XWayland Video Bridge item in the overview.
Comment 7 David Redondo 2023-12-04 09:36:39 UTC
KWin bug then? It should skip windows with skip switcher here maybe?
Comment 8 Yevhen Popok 2023-12-05 11:48:31 UTC
(In reply to David Redondo from comment #7)
> KWin bug then? It should skip windows with skip switcher here maybe?

It's possible. With Plasma 5 I still have XWaylandVideoBridge icon on Overview or Desktop Grid. On Plasma 6 it didn't show up lately.
Comment 9 fanzhuyifan 2023-12-20 05:32:18 UTC
*** Bug 478747 has been marked as a duplicate of this bug. ***
Comment 10 yuntaz 2023-12-20 20:43:16 UTC
(In reply to Yevhen from comment #8)
> (In reply to David Redondo from comment #7)
> > KWin bug then? It should skip windows with skip switcher here maybe?
> 
> It's possible. With Plasma 5 I still have XWaylandVideoBridge icon on
> Overview or Desktop Grid. On Plasma 6 it didn't show up lately.

Hi, it still shows an icon in plasma 6. Here is my system info

    Linux/KDE Plasma: Fedora Linux 40 Kinoite (available in "About System")
    KDE Plasma Version: 5.90.0
    KDE Frameworks Version: 5.246.0
    Qt Version: 6.6.1
Comment 11 Christopher Smith 2024-01-23 15:37:32 UTC
I haven't had this issue on Plasma 5 until the recent KDE Frameworks update. Previously, I've only seen it in Plasma 6.
Comment 12 Nate Graham 2024-01-23 19:57:23 UTC
So this is caused by a bug: windows that only have an icon weren't supposed to be shown there in the first place. It's been fixed in Plasma 6.

*** This bug has been marked as a duplicate of bug 463542 ***