Bug 481955 - On X11, when hovering over the entries that show a submenu, an icon appears in the Task Manager
Summary: On X11, when hovering over the entries that show a submenu, an icon appears i...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 6.0.0
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 483407 483522 484061 484230 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-28 19:35 UTC by paninomaninodesu
Modified: 2024-03-22 11:11 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.0.3
Sentry Crash Report:


Attachments
the extra icon (211.83 KB, video/mp4)
2024-02-28 19:35 UTC, paninomaninodesu
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***