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 645482 - IBus + Alt-F2 + completions
IBus + Alt-F2 + completions
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-22 00:49 UTC by Owen Taylor
Modified: 2013-09-07 01:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2011-03-22 00:49:01 UTC
See explanation in bug 644509 for how, when you connect to key-press-event on a StEntry and the user is using IBus, then you'll see any event you return false on twice. Since this happens with the handling of Clutter.slash, it seems likely we are doing twice as much work as we should to preload directories

I think the right algorithm is to actually watch the text contents change signal, and each time the text context changes compute the  parent directory segment. If the parent directory segment changes from the last time, do the preload - this will work for deletion and for pastes as well as for direct key input.
Comment 1 Rui Matos 2012-10-10 13:29:15 UTC
Since we are now using 'captured-event' in st-im-text to feed key events to gtk_im_context_filter_keypress() I don't think the duplicated events problem exists anymore since the 1st time the event comes in it won't reach the key-press-event handlers. So is this "fixed"?
Comment 2 Florian Müllner 2013-06-14 14:53:14 UTC
(In reply to comment #1)
> So is this "fixed"?

I would think so - Owen?
Comment 3 Florian Müllner 2013-09-07 01:03:34 UTC
Tentatively closing as fixed.