! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfwm4-settings: <super>+<tab> window cycle shortcut lost after logout
Status:
RESOLVED: DUPLICATE

Comments

Description Christian Weiske 2009-03-15 13:19:13 CET
I am using <Super>+<Tab> shortcut to switch application windows ("Cycle windows" keyboard setting in xfwm4-settings). After changing the shortcut to <Super>+<Tab>, it works until I logout and re-login. Then, xfwm4-settings still shows the shortcut as "<Super>+Tab", but it does not work - pressing/holding the key combination does not do anything. Only when I re-assign it, it starts to work again.
Comment 1 Olivier Fourdan editbugs 2009-03-28 19:13:18 CET
Can you check if the migration script is started? If so, can you disable it (it should not run more than once).
Comment 2 Christian Weiske 2009-04-02 16:16:20 CEST
Sorry, but I had to switch back to xfce 4.4.x due to x server problems on gentoo.
Comment 3 Markus Klinga 2012-05-23 08:51:38 CEST
I have same problem with <Super>+section (in finnish layout, section (§) is above 'tab', next to '1').

I think this might not be xfce4-bug, though, since I've had it with ubuntu 12.04 & xfce 4.8, but also after upgrading to xfce 4.10 through ppa. In debian wheezy (testing) with xfce4.8 I never had this problem.

Don't know where to report it, though, since it only happens with window manager shortcuts.
Comment 4 Lukas Lalinsky 2012-12-15 11:13:55 CET
I had the same problem with <Super>+<Up> for maximizing a window. The problem is that xfconf stores keyboard shortcuts keyed by the shortcut, not the action, so in the configuration file ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml I end up with:

...
<property name="&lt;Alt&gt;F10" type="string" value="maximize_window_key"/>
...
<property name="&lt;Super&gt;Up" type="string" value="maximize_window_key"/>
...

There is a duplicate setting for the "maximize_window_key" setting and xfwm always selects the first one. I've made a simple workaround xfwm to use the last one:

lukas@gurgle:~/code/misc/xfwm4$ git diff
diff --git a/src/settings.c b/src/settings.c
index 607bb7b..75d397b 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -1487,7 +1487,6 @@ getShortcut (const gchar *name, GList *shortcuts)
         if (g_str_equal (shortcut->command, name))
         {
             result = shortcut->shortcut;
-            break;
         }
     }

The correct fix would be probably to not have duplicate settings in the configuration file, but I'm not sure at the moment where to fix that.
Comment 5 Jérôme Guelfucci editbugs 2012-12-20 00:22:10 CET
Likely a duplicate of bug #4695, the migration script used to introduce duplicate shortcuts in Xfconf and the code assume it is not possible.

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

Bug #5102

Reported by:
Christian Weiske
Reported on: 2009-03-15
Last modified on: 2012-12-20

People

Assignee:
Olivier Fourdan
CC List:
3 users

Version

Attachments

Additional information