← Back to team overview

desktop-packages team mailing list archive

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

 

please, please, please, revert this! I also noticed this change when
going from 1:2.34.13-0ubuntu4 to 1:2.34.13-0ubuntu4.1. For me, the
function keys change between workspaces.  When some programs, such as an
xterm, have the mouse focus, they steal the definitions of the function
keys. Other programs, and the background don't.

Likewise, after many, many years of using these shortcuts (long
predating ubuntu or metacity), my aged brain cannot rewire itself. For
the sake of necessity, I tried converting to alt-Fn instead of Fn, but
my fingers get confused most of the time, and it seriously affects my
workflow.

One should definitely be able to assign the Fn keys as desired - user
level preferences should always override the app defaults.

-- 
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