Bug 450131 - In Wayland, the "windows minimize" animation moves in the wrong direction (towards the right)
Summary: In Wayland, the "windows minimize" animation moves in the wrong direction (to...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.24.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-02-13 08:21 UTC by John van Spaandonk
Modified: 2023-08-24 03:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video of the windows minimizing vaguely toward the right (2.81 MB, application/octet-stream)
2022-02-23 13:42 UTC, John van Spaandonk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John van Spaandonk 2022-02-13 08:21:53 UTC
SUMMARY
See title: this problem is specific to wayland

STEPS TO REPRODUCE
1. you start with several open windows, corresponding to icons+text in the taskbar (taskbar at the bottom)
   Icons+text is important to give the "buttons" in the taskbar enough width to clearly observe the intended effect.
2. Minimize a window.

OBSERVED RESULT
The minimization animation moves from the outlines of the window location towards the right of the screen, not ending on the outline of the "button" in the taskbar. Thus the minimization gives a false/incorrect hint of where the window is minimized to. I had to turn it of since it was too confusing.

EXPECTED RESULT
I expect the same behavior as in X-windows: the minimization should end precisely at the outline of the "button" (representation
of the window) in the taskbar, because that is where it always "is".

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3
Graphics Processor: Mesa DRI Intel® HD Graphics 3000

ADDITIONAL INFORMATION
I checked with Nate Graham who asked to create this bug report since it is not an intended behavior, so I guess we should see it as a regression from the desired behavior (still working under X-windows).
Comment 1 John van Spaandonk 2022-02-13 08:27:53 UTC
Forgot to mention: the relevant desktop effect is called "squash", and the little animation (movie) shows that the behavior under Wayland is not as intended.
Comment 2 Nate Graham 2022-02-16 01:02:14 UTC
1. How many screens do you have?
2. How many panels do you have?
3. What screen edges are your panels on?
Comment 3 John van Spaandonk 2022-02-16 09:30:52 UTC
Thanks for looking into this!

What's bugged me with this one is that  I have the simplest possible setup!
(I always use the most standard setup to obtain the most stable system.)
My desktop system has one monitor, a DELL U2410F, using the built in graphics of my 2500k processor.
I had to look up the word "panel", I take it this is the taskbar with the start menu, the tray area and the representations of running applications.
It lives at its default position (at the bottom of the screen).

Perhaps there are some configuration files I could try to reset?
Comment 4 Nate Graham 2022-02-21 21:18:39 UTC
So only one monitor and one panel. Huh, that's the common case, so I'm surprised to hear that it's broken for that.

Is there any chance I could ask you to attach a screen recording that shows the issue? OBS works on Wayland these days.
Comment 5 John van Spaandonk 2022-02-23 13:42:00 UTC
Created attachment 147074 [details]
Video of the windows minimizing vaguely toward the right

I click on the taskbar icons one by one a few times, working from  left to right.
This demonstrates that, under Wayland, the windows minimization lets the windows fly off somewhere towards the right, but not ending at their representation in the taskbar.
Taking this video was fiddly using my webcam, so I hope you trust me that under X-windows it works as it should :-)
Comment 6 Nate Graham 2022-02-23 20:07:27 UTC
Thanks, that's helpful.

At any point, have you had another screen attached?
Comment 7 John van Spaandonk 2022-02-24 07:28:49 UTC
No, I never, ever, had more than 1 screen attached in the last 12 years that I used this computer :-)
Comment 8 Nate Graham 2022-02-28 21:47:45 UTC
Well that's strange! Thanks for the info.
Comment 9 Bug Janitor Service 2022-03-15 04:35:19 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 10 John van Spaandonk 2022-03-15 08:40:26 UTC
I changed the status NEEDSINFO to REPORTED to ensure that the bug will not be automatically closed.
Comment 11 Vlad Zahorodnii 2023-07-16 16:31:29 UTC
Can you reproduce it with icons only task manager?
Comment 12 Nate Graham 2023-07-25 19:58:09 UTC
.
Comment 13 Bug Janitor Service 2023-08-09 03:45:00 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 14 Bug Janitor Service 2023-08-24 03:45:39 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!