GNOME Bugzilla – Bug 747509
GtkPopover is constrained to parent window size on non-Wayland backends
Last modified: 2018-05-02 16:30:27 UTC
Created attachment 301142 [details] Attached is the open GtkPopover with a smaller in height parent GtkWindow. My menu inside of a GtkPopover is a good size long. Longer than the parent GtkWindow. It gets cut off and won't show the whole popover regardless of parent window size unless I stretch window to cover the whole popover. Am I missing something to fix this? Or is this an actual bug with gtk+-3.0?
Its a limitation of the GtkPopover implementation under X11. On Wayland, popover happily hang out of the window.
Thanks for the quick reply Matthias!!! I'm on an Arch machine so 3.16 and Wayland are not quite ready to see this working properly. Is Gnome Wayland stable enough for day to day in your opinion?
Is this actually a bug in GTK+ (limited implementation), or does X11 simply make it impossible to have a Popover that hangs out of its parent Window?
also curious about this: the "X11" path in this code is really 'if not Wayland', but are win32 and macOS actually subject to the same limitation?
*** Bug 787838 has been marked as a duplicate of this bug. ***
(In reply to Daniel Boles from comment #4) > also curious about this: the "X11" path in this code is really 'if not > Wayland', but are win32 and macOS actually subject to the same limitation? win32 is. I'm guessing macOS is too. Which compositors actually need to be limited in this way? and is there a theoretical possibility to give the Popover a full window of its own to fix it? It might get a lot more visible with the advent of things like the EmojiChooser, as seen in Bug 786963
*** Bug 786963 has been marked as a duplicate of this bug. ***
> Which compositors actually need to be limited in this way? and is there a > theoretical possibility to give the Popover a full window of its own to fix > it? It might get a lot more visible with the advent of things like the > EmojiChooser, as seen in Bug 786963 Yes, it is theoretically possible to reimplement popovers in a different way
*** Bug 771118 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/543.