← Back to team overview

desktop-packages team mailing list archive

[Bug 1459128] Re: metacity no longer honors keybindings without modmask?

 

Dmitry: can you revert? and maybe add new fix?

1) https://git.gnome.org/browse/metacity/commit/?id=3201830924f2c1ec0a763ebfd4d7250c95448cf3
2) https://git.gnome.org/browse/metacity/commit/?id=6b6f38a9371646b747bbec132e842c7f3c82ebd1
3) https://git.gnome.org/browse/metacity/commit/?id=b3f13502bfe9fd61bc9fb47425295414a0bf57d9
4) https://git.gnome.org/browse/metacity/commit/?id=ab8c187da6ea28a8b49e09e1f9b1f61fb46d49ff

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to metacity in Ubuntu.
https://bugs.launchpad.net/bugs/1459128

Title:
  metacity no longer honors keybindings without modmask?

Status in metacity package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1459128/+subscriptions