SUMMARY Window-minimisation animations switching their “focal point” after connecting a second screen STEPS TO REPRODUCE 1. Minimise any window and watch the animation—the window disappears into its spot in the icons-only task manager 2. Connect a second monitor/screen and enable the icons-only task manager there as well 3. Minimise any window again and watch it disappear into its spot in the SECOND SCREEN’S icons-only task manager 4. Disconnect the second monitor/screen 5. Minimise any window again and watch how there is no longer any animation OBSERVED RESULT – When minimising a window, Plasma would play a little animation of the window disappearing into its respective spot. – Connecting a second screen whose desktop also contains a bottom panel (an Icons-only Task Manager), causes the “focal point” (for lack of a better word) to shift to that second screen’s bottom panel. – The minimising animation would now be played normally, however, the window would disappear into the second screen’s panel’s icon. – Disconnecting the second screen again, causes my Plasma to lose this “focal point” altogether and the “Scale” animation would no longer be played at all, while the “Magic Lamp” animation still works, but “sucks” the window into some seemingly random point on the top of the screen. – Everything is back to normal after a reboot. EXPECTED RESULT The animation doesn’t switch its focal/reference point to the second screen’s task manager panel, but remains on the first screen. SOFTWARE/OS VERSIONS Windows: — macOS: — Linux/KDE Plasma: Manjaro Linux, Kernel 5.10 (available in About System) KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
I believe my issue is related to this issue. My setup is quite simple. I have 3 monitors. When the left screen is a default screen with a taskbar on the left side then magic lamp works always correctly. Problem appears when I set my middle screen as default (that makes taskbar also to move to the middle monitor). Then magic lamp has a weird effect. Part of the window is pulled to the correct place but another part of the window is pulled all the way to the right. There's nothing on the right side of the middle screen or on the right screen.
Can I ask both of you whether you're using X11 or Wayland? And does the issue appear on the other one too? Also, if you're on X11, are you forcing Plasma to use Qt scaling? Finally which screen is the primary screen, and where is it physically located relative to other screens?
I'm using X11 and no Qt scaling. I was testing it with 2 monitors and also with only laptop screen and I never got clean magic lamp anymore. It always had different glitches depending on number of screens and position of the taskbar. Must be fresh bug since I remember it was always working correctly.
Squash minimize effect has no issues.
Ah, sounds like a bug with the Magic Lamp effect, then. Are you able to reproduce the bug with Plasma 5.24?
I'm using Plasma 5.24 in Manjaro. Effect seems to work fine when the task manager is on the leftmost screen but becomes broken when the taskbar is on any other screen. Basically that has been described in the initial post of this bug report. If I connect external display that is set as default display then taskbar moves to the external display (that is very nice!). Laptop becomes leftmost screen without any task manager and now it seems that magic lamp still wants to minimize to the laptop screen and creates a broken animation.
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!
Happens to me only when the task manager is on the left side of the 2nd or 3rd screen (middle screen or right screen depending on the setup). When task manager is on the top, bottom or right side of the screen then animation looks correct no matter on which screen it is situated. Affects also Squash minimize effect although it was a bit difficult to notice at first.
I can confirm this behaviour. I'm using two monitors (the right one is my primary one), and the lamp's "focal point" is wrong when minimizing/restoring every window. This started happening for me on plasma 6 rc 2 (kwin 5.93.0 on gentoo), using nvidia drivers (I'm using version 550.40.07, but this happens on every driver version). On wayland this problem DOESN'T happen
Not sure if I should open a separate bug (which is related to the logic of "focal point" of the magic lamp effect). My understanding is that the expected correct behavior of the minimize effect (whether Magic Lamp or the default Squash effect) is that it should animate the window into the task manager entry. But what if you don't have any task manager on any panel? Or (my actual issue) what if you have a specific application on which you have applied the "Skip taskbar" window rule? The issue is that there is inconsistent behaviour between the Magic Lamp effect and the default Squash effect when handling this situation (only for that specific application without a task manager entry). Squash: Don't animate at all i.e. just immediately hide the window without any animation. Magic Lamp: Do the lamp effect and hide the window into the mouse pointer (the "focal point"), wherever the mouse pointer might be! I want the Magic Lamp to also not animate at all and immediately hide the window, making its behaviour consistent with the Squash effect.