After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786963 - Emoji chooser is shown only partially when the parent window is too small
Emoji chooser is shown only partially when the parent window is too small
Status: RESOLVED DUPLICATE of bug 747509
Product: gtk+
Classification: Platform
Component: Widget: GtkPopover
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-08-29 08:31 UTC by Mohammed Sadiq
Modified: 2017-10-06 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Emoji chooser cut (image) (20.35 KB, image/png)
2017-08-29 08:31 UTC, Mohammed Sadiq
Details
Nautilus compress dialog (image) (16.21 KB, image/png)
2017-08-29 10:27 UTC, Mohammed Sadiq
Details

Description Mohammed Sadiq 2017-08-29 08:31:55 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.
Comment 1 Daniel Boles 2017-08-29 10:03:22 UTC
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.
Comment 2 Mohammed Sadiq 2017-08-29 10:27:16 UTC
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.
Comment 3 Daniel Boles 2017-09-13 21:53:44 UTC
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.
Comment 4 Daniel Boles 2017-10-06 13:08:29 UTC

*** This bug has been marked as a duplicate of bug 747509 ***