GNOME Bugzilla – Bug 786963
Emoji chooser is shown only partially when the parent window is too small
Last modified: 2017-10-06 13:08:29 UTC
Created attachment 358656 [details] Emoji chooser cut (image) Emoji chooser popover isn't shown fully when the window associated with, is small. This was tested on X11 (I don't know the status of wayland). How to reproduce: 1. Open gtk3-widget-factory 2. goto page 3 3. Click settings button (near the lock button) 4. In the window open, right click on either of the entry -> Insert Emoji Please see the attached screenshot.
That's a limitation of Popovers on X11; they can only be positioned within the parent window. And until recently, they could even be positioned over its CSD shadows, but they wouldn't receive input there; see https://bugzilla.gnome.org/show_bug.cgi?id=786209 So I think this is not a bug. But will leave it open to see if there's any interest in a workaround. Probably, number of real situations where you'd want to enter emoji in an entry in such a small window are very few.
Created attachment 358667 [details] Nautilus compress dialog (image) > Probably, number of real situations where you'd want to enter emoji in an entry in such a small window are very few. Sure. But there are. Say for example the attachement is a screenshot of nautilus compress dialog. Though most of the users may not be interested in inserting an emoji to some file name, that dialog is a very user visible location where the bug will be prominently displayed to the user, which is not good.
Without some convoluted and unlikely workaround, such as conditionally changing how the chooser is implemented if the window is detected to be below a certain size, this is fated to be a dupe of the more general Bug 747509 about GtkPopover.
*** This bug has been marked as a duplicate of bug 747509 ***