Bug 480182 - Combining pinned app icons with running windows does not work.
Summary: Combining pinned app icons with running windows does not work.
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Window List widget (show other bugs)
Version: 5.92.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-22 16:55 UTC by Guido Winkelmann
Modified: 2024-01-23 01:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2024-01-22 16:55:49 UTC
SUMMARY
***
Combining pinned app icons with running windows does not work.

When I have an application pinned in the window list in Plasma 5, and then open an instance/window of that application by clicking on its icon, the window list will replace the pinned app icon with the new entry for the open window, so it does not show both at the same time.

In Plasma 6.0 RC1, this functionality is broken. The window list will show both the icon for the closed but pinned app and the entry for the new window.
***


STEPS TO REPRODUCE
1.  Have an application pinned to the window list, for example dolphin or firefox
2. Open that application by clicking on its icon.

OBSERVED RESULT
The window list will dhow both the original icon that was shown when the pinned application was closed or had no open windows on that desktop and monitor and the entry for the open window.

EXPECTED RESULT
The window list should stop showing the pinned app icon once there is at least one window entry for that application that can be shown instead.

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: Linux 6.6.12
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 guimarcalsilva 2024-01-23 01:25:37 UTC
This is intentional to make pinned apps easier to launch when one instance is already open (some novice users might not know about middle-clicking to open a new instance). You can change back to a behavior similar to the old one by right-clicking the panel > Configure Task Manager... > Behavior > And unchecking "Keep Launcher Separate". That way, the icon will disappear again. The only difference is that it won't be placed at the end of the list and stay where it is.