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 164082 - metacity does not use custom keybindings the first time GNOME loads it
metacity does not use custom keybindings the first time GNOME loads it
Status: RESOLVED DUPLICATE of bug 565540
Product: metacity
Classification: Other
Component: general
2.8.x
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 165958 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-14 16:02 UTC by Michael Hoffman
Modified: 2009-11-20 21:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Log of initial non-functioning metacity (168.39 KB, text/plain)
2005-01-14 16:04 UTC, Michael Hoffman
Details
Log of subsequent functioning metacity (224.69 KB, text/plain)
2005-01-14 16:04 UTC, Michael Hoffman
Details

Description Michael Hoffman 2005-01-14 16:02:12 UTC
Please describe the problem:
When I first start a GNOME session, my internet application keys IA1-IA8, which
are assigned to run_command_11, and run_command_2-run_command_8 do not run the
assigned keybinding_commands.

Steps to reproduce:
1. Use gconf-editor to assign IA1 to apps/metacity/global_keybindings/run_command_11
2. Assign gnome-terminal to apps/metacity/keybinding_commands/command_11
3. Logout of GNOME session and log in again
4. Press IA1 key


Actual results:
Nothing happens

Expected results:
gnome-terminal should start

Does this happen every time?
Yes

Other information:
Workaround: add "killall metacity" to the gnome-session-properties Startup
Programs to force a restart.
Comment 1 Michael Hoffman 2005-01-14 16:04:07 UTC
Created attachment 36014 [details]
Log of initial non-functioning metacity

created with METACITY_VERBOSE=1 METACITY_USE_LOGFILE=1
Comment 2 Michael Hoffman 2005-01-14 16:04:36 UTC
Created attachment 36015 [details]
Log of subsequent functioning metacity
Comment 3 Havoc Pennington 2005-02-02 04:22:50 UTC
The difference in these logs is that the working one has:

KEYBINDINGS: Grabbing keybinding IA2 mask 0x0 on 0x3f

and so forth. They both load the IA* bindings from gconf.

The only reason I can think of why the grabbing wouldn't happen is if keycode ==
0 i.e. KeysymToKeycode is returning 0. That would indicate that the keysyms are
unbound.

Neither log has a line about a Mapping event that I see.
Comment 4 Elijah Newren 2005-02-02 04:31:10 UTC
*** Bug 165958 has been marked as a duplicate of this bug. ***
Comment 5 Derek Poon 2008-12-24 07:27:08 UTC
I've just filed bug http://bugzilla.gnome.org/show_bug.cgi?id=565540 with proposed patches.  I suspect that it may be the cause of this bug.
Comment 6 Owen Taylor 2009-11-20 21:44:45 UTC
Consolidating bugs about not picking up layout changes, hopefully they are all actually the same.

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