Bug 434139 - Magic Lamp effect sometimes minimizes windows to the wrong spot
Summary: Magic Lamp effect sometimes minimizes windows to the wrong spot
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.21.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 11:57 UTC by Dashon
Modified: 2023-09-06 17:08 UTC (History)
5 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 Dashon 2021-03-08 11:57:44 UTC
SUMMARY
The minimize effect, particularly I'm using the magic lamp effect, will occur toward the left side of the task manager when the app in question is not pinned to the task manager as well as started from the task manager. If a app is both pinned to the task manager and started from the task manager then minimizing the app will show the app going toward it's own icon. 

STEPS TO REPRODUCE PART 1
1. Launch an app not pinned to the task manager.
2. Minimize the app


OBSERVED RESULT
The minimize animation does not go towards the direction of its icon.

EXPECTED RESULT
The animation should go towards the direction of its own icon.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.11-zen2-1-zen
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Comment 1 Marco Martin 2021-03-08 14:46:00 UTC
Seems the task position is not correctly published.
do you have more than 1 taskbar? (maybe on other screens)
does the same thing occur with the default minimize effect as well?
Comment 2 Nate Graham 2021-03-08 20:07:11 UTC
Yes, good questions. Also, are you using a high DPI scale factor with Plasma using Qt scaling via the PLASMA_USE_QT_SCALING=1 environment variable?
Comment 3 Dashon 2021-03-08 23:40:57 UTC
Thanks for getting back to me. I'm using a laptop, and this is the only screen. I only have one task manager set on the bottom panel. As far as I know I am not using any kind of scaling. I left it at the default of 100% in the settings. I have not set that particular environment variable. I believe squash is the default effect. Correct me if I'm wrong. I've forgotten since I've been using magic lamp for quite some time. This bug does not occur with the default effect set to squash.
Comment 4 Nate Graham 2021-03-09 15:44:30 UTC
Interesting. I ask because I use my system at 200% scale with Plasma Qt scaling and I can *very occasionally* reproduce the issue with the Magic Lamp effect too, but not the default scale effect. Signs point to there being something wrong with the Magic Lamp effect. Moving to KWin.
Comment 5 Dashon 2021-03-09 19:59:12 UTC
Alright thanks
Comment 6 Dashon 2021-03-29 00:54:36 UTC
Also wanted to add that the issue does not occur in latte dock.
Comment 7 Nate Graham 2023-09-06 16:53:12 UTC
I can't reproduce this in Plasma 6, and I was not able to reproduce it with later Plasma 5 versions either. Can you try again with 5.27.7 and see what happens? Thanks!
Comment 8 Dashon 2023-09-06 17:08:02 UTC
Oh hey sorry, I have long since stopped having this issue and forgot to come back and close it. The issue has been fixed for a long time now. Thanks, I'll close this as fixed.