Package: gsettings-desktop-schemas
Version: 3.7.90-1
Severity: normal
Tags: patch
Control: affects -1 gnome-shell

Dear maintainers,

After updating gnome-themes-standard to 3.7.90, Alt-Tab combination does
no longer switch windows in gnome-shell. This happens because gnome-shell
3.6 uses 'switch-windows' combination for switching windows, while in
GNOME 3.8 there are two different keys: 'switch-applications' and
'switch-windows'.

Please apply the attached patch that will fix this. It can be dropped when
gnome-shell gets updated to 3.8.

Cheers,

--
Dmitry Shachnev

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gsettings-desktop-schemas depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.12.1-3

gsettings-desktop-schemas recommends no packages.

gsettings-desktop-schemas suggests no packages.

-- no debconf information
Index: debian/patches/series
===================================================================
--- debian/patches/series	(revision 36801)
+++ debian/patches/series	(working copy)
@@ -1 +1,2 @@
 01_no_metacity_theme.patch
+02_fix_alt-tab_in_gnome-shell_3.6.patch
Index: debian/patches/02_fix_alt-tab_in_gnome-shell_3.6.patch
===================================================================
--- debian/patches/02_fix_alt-tab_in_gnome-shell_3.6.patch	(revision 0)
+++ debian/patches/02_fix_alt-tab_in_gnome-shell_3.6.patch	(working copy)
@@ -0,0 +1,32 @@
+Description: Move Alt+Tab shortcut to 'switch-windows' key
+ GNOME Shell 3.6 doesn't yet know about switch-applications key, so
+ it reads 'search-windows' instead. This patch can be dropped when
+ GNOME Shell gets updated to 3.7.x.
+Author: Dmitry Shachnev <mity...@gmail.com>
+Forwarded: not-needed
+Last-Update: 2013-02-25
+
+Index: gsettings-desktop-schemas-3.7.90/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in
+===================================================================
+--- gsettings-desktop-schemas-3.7.90.orig/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in	2013-02-25 15:26:36.568757469 +0400
++++ gsettings-desktop-schemas-3.7.90/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in	2013-02-25 15:26:49.512756942 +0400
+@@ -76,7 +76,7 @@
+       <_summary>Reverse switch windows of an application</_summary>
+     </key>
+     <key name="switch-applications" type="as">
+-      <default><![CDATA[['<Super>Tab','<Alt>Tab']]]></default>
++      <default><![CDATA[['<Super>Tab']]]></default>
+       <_summary>Switch applications</_summary>
+     </key>
+     <key name="switch-applications-backward" type="as">
+@@ -84,8 +84,8 @@
+       <_summary>Reverse switch applications</_summary>
+     </key>
+     <key name="switch-windows" type="as">
+-      <default>[]</default>
+-      <_summary>Switch windows</_summary>
++      <default><![CDATA[['<Alt>Tab']]]></default>
++      <_summary>Switch applications</_summary>
+     </key>
+     <key name="switch-windows-backward" type="as">
+       <default>[]</default>
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 36801)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+gsettings-desktop-schemas (3.7.90-2) UNRELEASED; urgency=low
+
+  * Fix Alt+Tab combination not working in GNOME 3.6 by moving that
+    shortcut from "switch-applications" to "switch-windows" key
+    (02_fix_alt-tab_in_gnome-shell_3.6.patch).
+
+ -- Dmitry Shachnev <mity...@gmail.com>  Mon, 25 Feb 2013 15:33:22 +0400
+
 gsettings-desktop-schemas (3.7.90-1) experimental; urgency=low
 
   [ Josselin Mouette ]

Reply via email to