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 786964 - Emoji Chooser: Can't scroll clicking on the scroll bar
Emoji Chooser: Can't scroll clicking on the scroll bar
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-08-29 08:40 UTC by Mohammed Sadiq
Modified: 2017-09-01 23:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
emoji-chooser: fix subsequent scroll (1.06 KB, patch)
2017-08-30 17:59 UTC, Mohammed Sadiq
committed Details | Review

Description Mohammed Sadiq 2017-08-29 08:40:45 UTC
Clicking somewhere on the scroll bar of Emoji chooser popover does nothing. Ideally it should scroll to the right location
Comment 1 Mohammed Sadiq 2017-08-29 08:47:37 UTC
Hm.. This seems to random. Not happening always.
I couldn't find a reliable way to reproduce this.
Comment 2 Matthias Clasen 2017-08-29 18:12:21 UTC
works here
Comment 3 Mohammed Sadiq 2017-08-29 20:45:35 UTC
(In reply to Matthias Clasen from comment #2)
> works here

Hm.. Found a way to reproduce:

1. In some GtkEntry, right click -> Insert Emoji.
2. Click on the middle of scroll bar (the scroll bar moves)
3. Now press Escape (and the popover hides)
4. Now again, right click on GtkEntry -> Insert Emoji
5. Click on the middle of the scroll bar

Result:
The second interaction with scroll bar is futile

Please close in case you can't reproduce.

Thanks
Comment 4 Matthias Clasen 2017-08-30 12:28:23 UTC
still just works here. is this with master or 3.22 ?
Comment 5 Mohammed Sadiq 2017-08-30 12:31:40 UTC
(In reply to Matthias Clasen from comment #4)
> still just works here. is this with master or 3.22 ?

3.22 in jhbuild on X11. I first doubted if that was my mouse. But the same issue is present with touchpad too.

should I update any module other than gtk+-3?
Comment 6 Mohammed Sadiq 2017-08-30 17:59:47 UTC
Created attachment 358785 [details] [review]
emoji-chooser: fix subsequent scroll

Event handlers on scroll window should only be run once the widget
is shown.
Comment 7 Mohammed Sadiq 2017-08-30 18:00:47 UTC
I really don't know what to write as the commit message. Hope the patch is right, as it seems to fix the issue
Comment 8 Matthias Clasen 2017-09-01 23:35:36 UTC
Attachment 358785 [details] pushed as 8d0dc64 - emoji-chooser: fix subsequent scroll