Bug 455804

Summary: Quickly middle-clicking a non-running pinned app launcher multiple times opens only one instance
Product: [Plasma] plasmashell Reporter: David <david.cortes.rivera>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: kinofhek, nate, yerrey
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.0 or earlier
Sentry Crash Report:

Description David 2022-06-22 19:36:31 UTC
SUMMARY
If I quickly middle-click an app icon in the taskbar more than once and there are no active windows of said app already opened, it will open only one window of the app.

STEPS TO REPRODUCE
1. Configure the taskbar to use the icons-only task mager.
2. Configure the task manager to launch a new instance of applications when middle-clicking the icon.
3. Pin dolphin or similar to the taskbar.
4. Quickly middle-click the dolphin icon twice.
5. Repeat the previous step, but this time with one dolphin window already opened.

OBSERVED RESULT
If I quickly middle-click the icon twice when no previous window has been opened, it will open only one window. If I quickly middle-click the icon twice while there's at least one window of the app already opened, it will open two new windows as expected.

EXPECTED RESULT
Should always open two new windows, since I made two clicks.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Kernel Version: 5.18.0-2-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10
Comment 1 Felipe Kinoshita 2022-06-23 03:43:42 UTC
Cannot confirm
Comment 2 Yerrey Dev 2022-06-23 19:45:50 UTC
(In reply to Felipe Kinoshita from comment #1)
> Cannot confirm

I tested this yesterday and can confirm. If Dolphin is not launched yet, double clicking middle click only launches one instance. If Dolphin is already running, double clicking middle click launches two instances. Not a huge bug, but inconsistent behavior.
Comment 3 Nate Graham 2022-06-23 19:49:16 UTC
I can confirm it.
Comment 4 Nate Graham 2025-10-17 19:19:35 UTC
Can't confirm anymore; this appears to be working as expected for me now in Plasma 6.5.