metacity no longer honors keybindings without modmask?

Asked by Don Hatch

I'm extremely attached to the following two keybindings:
    $ dconf read /org/gnome/desktop/wm/keybindings/raise
    ['F1']
    $ dconf read /org/gnome/desktop/wm/keybindings/lower
    ['F2']
But they stopped working for me in metacity 2.34.13.
(That is, I hit F1/F2 expecting the window under the mouse cursor
to be raised/lowered respectively, and it doesn't happen.)

When I run `METACITY_VERBOSE=1 METACITY_USE_LOGFILE=1 metacity --replace`
and install my keybindings:
    $ dconf write /org/gnome/desktop/wm/keybindings/raise "['F1']"
    $ dconf write /org/gnome/desktop/wm/keybindings/lower "['F2']"
I notice the following appears in the log file:
    KEYBINDINGS: Will not grab keybinding F1 without modmask.
    KEYBINDINGS: Will not grab keybinding F2 without modmask.
If I then try installing similar bindings with a modmask:
    $ dconf write /org/gnome/desktop/wm/keybindings/raise "['<Shift>F1']"
    $ dconf write /org/gnome/desktop/wm/keybindings/lower "['<Shift>F2']"
no such log message occurs, and the modified keybindings work!

When I searched for that log message on the web, it led to this
recent commit and bug reference:
    https://mail.gnome.org/archives/commits-list/2015-April/msg01612.html
    https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1440570
Note however that this bug seems to refer to VNC, which I am not using.

So is it the case that F1/F2, unmodified,
can no longer be keyboard shortcuts?
This would make me very sad, since I've used them several thousand times per
day for the last 25 years or so, and I'm not sure I can rewire my fingers
at this point.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug.

Can you help with this problem?

Provide an answer of your own, or ask Don Hatch for more information if necessary.

To post a message you must log in.