[Wayland-bugs] [Bug 735756] Relative window positioning doesn't work

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 4 03:02:10 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=735756
  gtk+ | Backend: Wayland | 3.13.x

--- Comment #4 from Christoph Reiter (lazka) <reiter.christoph at gmail.com> 2014-09-04 10:02:06 UTC ---
Jasper asked for use cases, here are some:

* Modal dialogs currently get placed randomly on the screen while making the
parent non responsive. I'd argue they shouldn't.

* Same for windows that are set to be place on the center of the parent (in my
case clicking on a album cover opens a bigger version centered on the window,
or preference windows)

* I have a custom tooltip implementation: https://i.imgur.com/QE0ZdvM.gif
  No idea how to port that.

* I have a slider in a window that pops up next to a button:
https://i.imgur.com/KNotPgA.png
  Also no idea.

Positioning: I like the current solution that the top most parent defines the
fake root. This makes offset calculations work on both X11 and wayland.

Window dragging:

* Dragging the modal dialog could move the parent and dragging the parent could
move the dialog.

* Moving preference window should not move the parent and vice versa

* A popover like widget should move with the parent, but might depending on the
use case be movable independent of the parent.

So as a result each window could specify if it should move with the parent and
if the parent should move with the window.

Resizing: I don't see any problems there.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list