! 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 !
alt-tab does not work
Status:
RESOLVED: FIXED

Comments

Description rene 2009-02-08 13:41:37 CET
In Xfce 4.6rc1 on FreeBSD 7.1/amd64 with X.org 7.4, Alt-Tab does not work.


Action:
1) I have XDG_CONFIG_DIRS set to /usr/local/etc in my shell environment.
2) start xfce4 using startxfce4
3) open some applications (e.g. Terminal, Firefox, Thunderbird)
4) press Alt-Tab to switch between applications

Expected behaviour:
A window popping up showing iconified versions of the applications, which allows to switch to another application using Alt-Tab (as in Xfce 4.4).

Actual behaviour:
Nothing happens, no messages in /var/log/messages
Comment 1 Olivier Fourdan editbugs 2009-02-09 17:35:33 CET
Do you have the shortcut defined?

- Can you provide the output of the following command:

    xfconf-query -c xfce4-keyboard-shortcuts -vl

- Can you try resetting the shortcuts to their defaults using the "Reset to defaults" button?

- Can you provide the output of "xfwm4 --version"
Comment 2 rene 2009-02-09 18:39:56 CET
Created attachment 2164 
output of xfconf-query -c xfce4-keyboard-shortcuts -vl
Comment 3 rene 2009-02-09 18:43:49 CET
(In reply to comment #1)
> Do you have the shortcut defined?
> 
> - Can you provide the output of the following command:
> 
>     xfconf-query -c xfce4-keyboard-shortcuts -vl
> 
> - Can you try resetting the shortcuts to their defaults using the "Reset to
> defaults" button?
> 
> - Can you provide the output of "xfwm4 --version"

See attachment of comment #2 for the output of xfconf-query.

Pressing the "Reset to defaults button" in Menu -> Settings -> Xfce4 Configuration Management -> Keyboard does not make a difference.

	This is xfwm4 version 4.5.99.1 (revision 29379) for Xfce 4.5.99.1
	Released under the terms of the GNU General Public License.
	Compiled against GTK+-2.14.7, using GTK+-2.14.7.

	Build configuration and supported features:
	- Startup notification support:                 Yes
	- XSync support:                                Yes
	- Render support:                               Yes
	- Xrandr support:                               Yes
	- Embedded compositor:                          Yes
	- KDE systray proxy (deprecated):               No
Comment 4 Olivier Fourdan editbugs 2009-02-09 19:04:28 CET
Can you try redefining the shortcut? Does that work?
Comment 5 rene 2009-02-09 19:17:35 CET
(In reply to comment #4)
> Can you try redefining the shortcut? Does that work?

You mean using the Keyboard Configuration mentioned in comment #3 ?
That only allows to define the command, but not the keyboard shortcut itself.
Comment 6 Olivier Fourdan editbugs 2009-02-09 19:31:26 CET
(In reply to comment #5)
> (In reply to comment #4)
> > Can you try redefining the shortcut? Does that work?
> 
> You mean using the Keyboard Configuration mentioned in comment #3 ?
> That only allows to define the command, but not the keyboard shortcut itself.

No, I mean using the xfwm4-settings dialog, you can define the shortcut
Comment 7 rene 2009-02-09 19:38:31 CET
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Can you try redefining the shortcut? Does that work?
> > 
> > You mean using the Keyboard Configuration mentioned in comment #3 ?
> > That only allows to define the command, but not the keyboard shortcut itself.
> 
> No, I mean using the xfwm4-settings dialog, you can define the shortcut

Ah, I see.  It does not make a difference (either by explicitly redefining it or by using the defaults).  Alt-F7, Alt-F9, Alt-F10, Alt-Shift-Tab also don't work, while Alt-F2 (run application) does work.
Comment 8 Olivier Fourdan editbugs 2009-02-09 22:24:51 CET
Do you have any other application running that might have an active grab on the same keyboard combo? Does that happen for all users on the system?

(copying Jannis as it's about shortcuts code though the actual key grab did not change since 4.4)
Comment 9 rene 2009-02-09 22:28:14 CET
(In reply to comment #8)
> Do you have any other application running that might have an active grab on the
> same keyboard combo? Does that happen for all users on the system?
> 
> (copying Jannis as it's about shortcuts code though the actual key grab did not
> change since 4.4)

I don't think another application is grabbing the same keyboard combinations.  I'm the only xfce user on the system (I'm running it on my laptop).
Comment 10 Jannis Pohlmann editbugs 2009-02-10 12:24:10 CET
(In reply to comment #2)
> Created an attachment (id=2164) [details]
> output of xfconf-query -c xfce4-keyboard-shortcuts -vl

Do you have xfce4-settings-helper running? The output is weird, because you should have the same properties under /xfwm4/custom/ (which does not exist) as you have under /xfwm4/default/. That's really strange, because whenever xfce4-settings-helper or xfwm4-settings starts and there is no /xfwm4/custom, it copies everything from /xfwm4/default to /xfwm4/custom.
Comment 11 rene 2009-02-10 12:44:55 CET
(In reply to comment #10)
> (In reply to comment #2)
> > Created an attachment (id=2164) [details] [details]
> > output of xfconf-query -c xfce4-keyboard-shortcuts -vl
> 
> Do you have xfce4-settings-helper running? The output is weird, because you
> should have the same properties under /xfwm4/custom/ (which does not exist) as
> you have under /xfwm4/default/. That's really strange, because whenever
> xfce4-settings-helper or xfwm4-settings starts and there is no /xfwm4/custom,
> it copies everything from /xfwm4/default to /xfwm4/custom.

xfce4-settings-helper is running:
% ps -axwwu | grep xfce4-settings-helper
rene       23384  0,0  0,5 73696  9588  v1  S    do11pm    0:02,10 xfce4-settings-helper

I didn't run xfwm4-settings before running the xfconf-query command.
I can run xfconf-query when I'm back home, because it needs a remote X11 connection which I currently don't have (SSH-console only for now).
Comment 12 Jannis Pohlmann editbugs 2009-02-10 12:54:04 CET
(In reply to comment #11)
> I didn't run xfwm4-settings before running the xfconf-query command.
> I can run xfconf-query when I'm back home, because it needs a remote X11
> connection which I currently don't have (SSH-console only for now).

No, you don't have to run xfwm4-settings. xfce4-settings-helper should already copy from default to custom when it's started. The same should happen if you reset all xfwm4 shortcuts to their defaults. AFAICS, there's no reason why this should not work on your machine as it already seems to have worked for the command shortcuts. There's no difference between these two.
Comment 13 rene 2009-03-01 17:19:26 CET
(In reply to comment #12)
> (In reply to comment #11)
> > I didn't run xfwm4-settings before running the xfconf-query command.
> > I can run xfconf-query when I'm back home, because it needs a remote X11
> > connection which I currently don't have (SSH-console only for now).
> 
> No, you don't have to run xfwm4-settings. xfce4-settings-helper should already
> copy from default to custom when it's started. The same should happen if you
> reset all xfwm4 shortcuts to their defaults. AFAICS, there's no reason why this
> should not work on your machine as it already seems to have worked for the
> command shortcuts. There's no difference between these two.

After a reboot, Alt-Tab now works correctly.  (i.e. windows switch and the window selection dialog pops up)

Bug #4919

Reported by:
rene
Reported on: 2009-02-08
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
2 users

Version

Version:
4.5.99.1 (4.6 rc 1)

Attachments

Additional information