Bug 439076 - Wrong application restored from Task Manager after using show desktop
Summary: Wrong application restored from Task Manager after using show desktop
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: master
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-23 15:04 UTC by Vincent
Modified: 2022-06-21 04:35 UTC (History)
4 users (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 Vincent 2021-06-23 15:04:54 UTC
SUMMARY
When you click on an application in the Task Manager panel the wrong app gets restored.

STEPS TO REPRODUCE
1. Open Dolphin.
2. Open Firefox.
3. Click on Show Desktop.
4. Click on Dolphin app icon in Task Manager (or use Meta + Numkey keybinding to activate it).

OBSERVED RESULT
First issue: both Dolphin and Firefox get restored.
Second issue: Firefox is on top and not Dolphin. It seems it always restores the last application which was on top no matter what app button you click.
Workaround: you always need to click the application twice to bring it to front.

EXPECTED RESULT
Only Dolphin should get restored, Firefox (or any other applications) should stay minimized.

SOFTWARE/OS VERSIONS
Windows: Windows 10 as a VirtualBox VM host
macOS: N/A
Linux/KDE Plasma: KDE neon (neon-user-20210617-0945.iso)
(available in About System)
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Graphics Platform: X11

ADDITIONAL INFORMATION
Could also be reproduced on a fresh install of Kubuntu 21.04 (64-bit).
Comment 1 Paul Worrall 2021-06-24 09:59:55 UTC
The second issue seems to be specific to Firefox, when I try it with other applications the one who's icon I click comes out on top.

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-59-generic (64-bit)
Graphics Platform: Wayland
Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CEDAR
Comment 2 Nate Graham 2021-07-29 15:25:08 UTC
Can reproduce. Not sure if this is KWin's fault of the Task Manager's fault; moving to the Task Manager for now.
Comment 3 postix 2022-05-22 18:46:03 UTC
I don't think I can reproduce it on 5.24.5 Wayland, can you?
Comment 4 Bug Janitor Service 2022-06-06 04:35:37 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-06-21 04:35:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!