Bug 481955

Summary: On X11, when hovering over the entries that show a submenu, an icon appears in the Task Manager
Product: [Plasma] plasmashell Reporter: paninomaninodesu
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: basjetimmer, kde, nate, nicolas.fella, notmart, petermayr, sntmail
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.3
Sentry Crash Report:
Attachments: the extra icon

Description paninomaninodesu 2024-02-28 19:35:27 UTC
Created attachment 166171 [details]
the extra icon

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. click the menu
2. move the mouse pointer over the application entries
3. 

OBSERVED RESULT
An unspecified icon appears in the panel

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Neon User
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 paninomaninodesu 2024-02-28 22:06:05 UTC
Submited on X11.
Tested on Wayland and on Wayland it doesn't happen.
Comment 2 Nicolas Fella 2024-02-28 22:21:33 UTC
The _NET_WM_WINDOW_TYPE for the submenu is wrong. It's _NET_WM_WINDOW_TYPE_NORMAL but should be _KDE_NET_WM_WINDOW_TYPE_APPLET_POPUP

Likely a result from the plasma dialog refactoring
Comment 3 Bug Janitor Service 2024-03-04 15:37:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2081
Comment 4 David Edmundson 2024-03-04 16:36:44 UTC
Git commit c20dcf37c659e78bbd92a055944c97a35f21993a by David Edmundson.
Committed on 04/03/2024 at 15:37.
Pushed by davidedmundson into branch 'master'.

Kicker: Fix submenus appearing in taskmanager

Kicker Submenu still uses Dialog.

Calling staysOnTopHint explicitly is not necessary. Calling setFlags
conflicts with the KWindowSystem::setState and we end up losing the
skips taskbar.

Dialog could be changed, but it's still better to reduce code than add
workarounds on top especially with Dialog being deprecated.

M  +0    -1    applets/kicker/package/contents/ui/ItemListDialog.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/c20dcf37c659e78bbd92a055944c97a35f21993a
Comment 5 Nicolas Fella 2024-03-13 09:56:31 UTC
*** Bug 483407 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas Fella 2024-03-14 11:20:55 UTC
Git commit 7cdeb427b59857ed0a69ad0fab6cc86a9cbbfc99 by Nicolas Fella, on behalf of David Edmundson.
Committed on 14/03/2024 at 11:14.
Pushed by nicolasfella into branch 'Plasma/6.0'.

Kicker: Fix submenus appearing in taskmanager

Kicker Submenu still uses Dialog.

Calling staysOnTopHint explicitly is not necessary. Calling setFlags
conflicts with the KWindowSystem::setState and we end up losing the
skips taskbar.

Dialog could be changed, but it's still better to reduce code than add
workarounds on top especially with Dialog being deprecated.


(cherry picked from commit c20dcf37c659e78bbd92a055944c97a35f21993a)

M  +0    -1    applets/kicker/package/contents/ui/ItemListDialog.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/7cdeb427b59857ed0a69ad0fab6cc86a9cbbfc99
Comment 7 Nicolas Fella 2024-03-14 11:23:00 UTC
*** Bug 483522 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas Fella 2024-03-14 11:23:48 UTC
This should have been fixed in 6.0.1, but wasn't backported to 6.0 until now, so it will be fixed in 6.0.3 instead
Comment 9 Nicolas Fella 2024-03-20 18:22:00 UTC
*** Bug 484061 has been marked as a duplicate of this bug. ***
Comment 10 Patrick Silva 2024-03-22 11:11:40 UTC
*** Bug 484230 has been marked as a duplicate of this bug. ***