Bug 405820 - window placement behaviour is broken on Wayland
Summary: window placement behaviour is broken on Wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-24 16:43 UTC by Damian Ivanov
Modified: 2019-06-20 17:45 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 Damian Ivanov 2019-03-24 16:43:26 UTC
The behavior "Under Mouse" for window placement works => as long as the active window is not on a different screen. If the active window is on a different screen it gets placed there instead.
Comment 1 Martin Flöser 2019-03-24 19:05:20 UTC
Please provide output of xprop and xwininfo of a incorrectly placed window.
Comment 2 Damian Ivanov 2019-03-26 07:30:30 UTC
These would be empty on Wayland?
Comment 3 Martin Flöser 2019-03-26 07:35:47 UTC
In future please include a hint that you are using Wayland.
Comment 4 Damian Ivanov 2019-03-26 07:38:58 UTC
Will do.
Comment 5 Damian Ivanov 2019-03-26 07:51:41 UTC
It does seem to affect all additional behaviours. Centered is affected as well.
Comment 6 David Edmundson 2019-03-26 21:20:32 UTC
I know maximised placement is broken with a top panel, I have a failing unit test ready.

We get set the position, then handle a resize and end up going back to 0,0.

I'll finish chasing that up, hopefully it's the same cause.
Comment 7 kolorafa 2019-06-19 19:07:50 UTC
@Damian

I got exactly the same behavior but on xorg, enabling "Active screen follows mouse" on Focus tab did fix it for me.

(overall, <3 plasma)
Comment 8 David Edmundson 2019-06-20 17:45:33 UTC
>I'll finish chasing that up, hopefully it's the same cause.

I fixed this.

Please reopen if this original report is still valid with kwin > 5.16