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 100636 - emacs movement keys don't work in location bar with mozilla 1.2b with gtk2
emacs movement keys don't work in location bar with mozilla 1.2b with gtk2
Status: RESOLVED FIXED
Product: galeon
Classification: Deprecated
Component: User interface
1.3.4
Other FreeBSD
: Normal minor
: ---
Assigned To: Tommi Komulainen
Yanko Kaneti
: 105699 109164 109742 110909 112379 118466 119925 (view as bug list)
Depends on: 98176
Blocks:
 
 
Reported: 2002-12-08 00:03 UTC by Adam Weinberger
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Weinberger 2002-12-08 00:03:56 UTC
With mozilla-1.2b and galeon-1.3.0 installed, CTRL-{A,E,U,W} and ALT-{B,F},
etc. do not work in the location bar. Instead, these sequences get sent to
the main window.

This has also been verified with mozilla-1.2.1.
Comment 1 Tommi Komulainen 2003-03-03 23:14:21 UTC
The various keys are most likely being intercepted because they are
shortcuts for some menuitems.  This is just how bonobo works.  And
since HIG states Ctrl-A is Select All, it's obviously conflicting. 
The whole emacs keybinding issue needs to be resolved in more general
level.
Comment 2 Tommi Komulainen 2003-03-08 18:45:11 UTC
*** Bug 105699 has been marked as a duplicate of this bug. ***
Comment 3 Yanko Kaneti 2003-03-25 17:29:12 UTC
*** Bug 109164 has been marked as a duplicate of this bug. ***
Comment 4 Yanko Kaneti 2003-04-16 01:58:00 UTC
*** Bug 110909 has been marked as a duplicate of this bug. ***
Comment 5 Mark Howard 2003-04-20 07:46:31 UTC
Another issue is reported in debian bug #189357:

I use emacs keybinding with gtk+2. Keybindings CTRL+U and CTRL+K work ok,
but CTRL-W doesn't because association with "close" action of file menu
takes precedence.

Instead it should work as in mozilla, where CTRL-W in text-box delete
previous word and out of text-box close tab.
Comment 6 Yanko Kaneti 2003-05-06 10:09:16 UTC
*** Bug 109742 has been marked as a duplicate of this bug. ***
Comment 7 Yanko Kaneti 2003-05-06 10:09:27 UTC
*** Bug 112379 has been marked as a duplicate of this bug. ***
Comment 8 Yanko Kaneti 2003-07-28 12:15:33 UTC
*** Bug 118466 has been marked as a duplicate of this bug. ***
Comment 9 Philip Langdale 2003-08-02 13:53:30 UTC
This, one hopes will be solved when I rip and out and replace the menu
system, so I'm taking this.
Comment 10 Calum Benson 2003-08-07 16:19:10 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 11 Yanko Kaneti 2003-08-07 16:39:41 UTC
removing the GNOMEVER, cuz we are not an official module
Comment 12 Crispin Flowerday (not receiving bugmail) 2003-08-25 12:19:22 UTC
*** Bug 119925 has been marked as a duplicate of this bug. ***
Comment 13 Crispin Flowerday (not receiving bugmail) 2003-09-02 14:43:19 UTC
> This, one hopes will be solved when I rip and out and replace the menu
> system, so I'm taking this.

I wouldn't count on that, epiphany has exactly the same problems that
we do :(

Interestingly the key bindings work when the autocompletion drop-down
is open.
Comment 14 Tommi Komulainen 2003-09-12 21:01:08 UTC
I ought to mention here that this has been considered "to be a world of pain to
set up with [gtk] 2.2"  One could hope we'd have better luck with 2.4 or 2.6.

The reason it's working with the autocompletion window open could be that the
window grabs the cursor.
Comment 15 Philip Langdale 2003-09-14 01:02:58 UTC
We now have a viable workaround which I have implemented and checked in.

We override the key_press_event "virtual method" from GtkWidget
instead of attaching a callback to the key_press signal. This allows
us to see the events before the stupid Accel code eats them. So, we
check if the key code could possibly be an emacs code (anything
modifed with ctrl or alt) and then pass it straight on to the GtkEntry
if the GtkEntry is focused. We then return immediately if the GtkEntry
processed the code or otherwise we let the original key_press_event
handler have a go which will let the accel code respond to it if needed.

It's not particularly inelegant but highly offensive in principle that
Gtk forces us to do something as silly as this.
Comment 16 Mikael Wahlberg 2004-02-07 21:31:44 UTC
In 1.3.11a(Debian) ctrl-U in the location bar opens "View Source" 
instead of clearing the location bar.
Comment 17 Crispin Flowerday (not receiving bugmail) 2004-02-07 21:47:49 UTC
This should be working fine in 1.3.11a if the Emacs key theme is
enabled. It has been altered again in 1.3.12, and further altered
since then. This really is fixed.