GNOME Bugzilla – Bug 158902
Ctrl-Z closes galeon - not described in User Guide
Last modified: 2005-05-08 16:43:49 UTC
1. Open galeon 2. Press Ctrl-Z 3. The galeon window disappears, the process seems to be gone too I could not find ^Z in the menus nor in the keybindings of the User Manual.
It doesn't here, are you sure you haven't mapped the Quit menu item to Ctrl+Z ?
If you mean File->Quit, it's still bound to Ctrl+Q, and that works. ^Z doesn't close mozilla-browser, and I made no galeon specific configuration changes that could explain this (ie window manager keybindings).
Where is the input focus when you press Ctrl+Z ? And could you attach your ~/.gnome2/accels/galeon file please.
It happens with the focus on the web page, in the URL entry bar, in the menus, everywhere where I've tested in fact.
Created attachment 33978 [details] keybindings for galeon here are the keybindings you requested. I'm sorry I didn't provide them in the first place, I didn't knew of the existence of the file.
Created attachment 33979 [details] output of "strace -f -p <pid of galeon>" I tried stracing galeon from before opening a new window (with some windows already open) until after the window disappears becaused I press ^Z. It completely freezed the other galeon windows though, and I couldn't gather any useful information except that the "session" seems to be closed normally, for example the opened URL are removed from .galeon/session_crashed.xml.
To be honest, we have no idea what is going on here, certainly Ctrl+Z is not bound to anything inside galeon. This does sound like your window manager is handling it, what window manager are you using ?
Yeah I can understand this is weird, I was surprized to discover the behavior myself. Thanks for investigating despite the fact you can't reproduce! I'm using the standard metacity from Debian, but a bunch of updates are coming, so version numbers are probably temporary. Is there a way for me to debug events Galeon is receiving, say "window close" or "keypress" events? I'm familiar with GTK and using Galeon, but not with the Galeon source code. Or you might know of some metacity hack to watch what it does to applications? (Since this doesn't happen with mozilla-browser and mozilla-firefox, I can't tell why it would be bound the wm I'm using, but I can try with a different one, for example sawfish-gnome.)
Tried with sawfish: ^Z still acts exactly as ^W does.
I'm afraid I'm out of ideas then, it is certainly not that something that galeon is doing itself.
hmm, just wondering if this is a keymap issue
What do you mean? How do I check?
I think this might be gtk+ bug 162726: if you have more than one latin keymap installed, they cross-activate. So Ctrl-Z is Ctrl-W since they share the same key in different keymaps.
It is indeed, well spotted! I removed the English keymap, and now ^Z won't close Galeon. I don't understand the point of having both shortcuts valid when only one keymap is, but that's a Gtk issue. I don't see why this happens only for ^Z/^W: ^A doesn't quit Galeon as ^Q does, even if A and Q are swapped as Z ans W are. I'm marking this bug as a duplicate. *** This bug has been marked as a duplicate of 162726 ***