Open Bug 1736209 Opened 1 year ago Updated 5 months ago

[wayland] Dragging window that was created maximized moves window origin to cursor location

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 95
defect

Tracking

()

Tracking Status
firefox95 --- affected

People

(Reporter: ke5trel, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached video drag-maximized.webm

STR:

  1. Start with MOZ_ENABLE_WAYLAND=1 on Ubuntu 21.04.
  2. Make sure the initial window is maximized, if not then maximize and restart or create a new window.
  3. Drag maximized window titlebar down so it unmaximizes.

Expected:

Cursor grab location remains the same, window does not shift position relative to cursor.

Actual:

Window repositions so the cursor grab location is the top-left window corner. This makes the window move mostly off-screen when dragged from the right side. Only happens for windows that were created maximized.

Not a regression, reproducible going back to 2019.

Blocks: linuxdad
Priority: -- → P3

Yes, I can reproduce it too.

No longer blocks: linuxdad
See Also: → 1770245
You need to log in before you can comment on or make changes to this bug.