View previous topic :: View next topic |
Author |
Message |
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Fri Mar 27, 2015 9:38 pm Post subject: Zooming via [Ctrl]+[=] broke |
|
|
Usually, [Ctrl]+[-] zooms out and [Ctrl]+[=] zooms in (on an US keyboard layout). This works in most applications that support zooming (Firefox, Chromium, gedit, etc).
I've messed with some keyboard settings recently, and now [Ctrl]+[=] is broken. Instead, I have to use [Ctrl]+[Shift]+[=]. I can kinda see why, because + is generated with [Shift]+[=], but zooming was always an exception here!
This problem persists across all applications. It is extremely annoying, but I don't know what caused this change. Google does not reveal anything either (try googling for +, good luck )
Does anyone have any ideas? |
|
Back to top |
|
|
atemv n00b
Joined: 09 Aug 2014 Posts: 63
|
Posted: Sat Mar 28, 2015 2:54 am Post subject: |
|
|
Which desktop environment do you use? |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Sat Mar 28, 2015 6:44 am Post subject: |
|
|
Xfce 4.12 |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Sat Mar 28, 2015 8:43 am Post subject: |
|
|
I tracked the source of the problem down. I have two keyboard layouts defined in Xfce's keyboard settings, US and DE. I can switch them via a key combination.
If the DE layout defines the nodeadkeys variant, [Ctrl]+[=] zooming breaks WHEN THE US LAYOUT IS ACTIVE. It remains broken until I log out, removing the DE layout during runtime does not help.
Curiously, if the DE layout defines no variant, this problem does not occur.
Good:
Code: | Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: thinkpad60
layout: us,de
variant: ,
options: compose:menu,grp:alt_caps_toggle
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+de:2+inet(evdev)+group(alt_caps_toggle)+compose(menu)
geometry: thinkpad(60)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+de:2+inet(evdev)+group(alt_caps_toggle)+compose(menu)" };
xkb_geometry { include "thinkpad(60)" };
}; |
Broken:
Code: | Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: thinkpad60
layout: us,de
variant: ,nodeadkeys
options: compose:menu,grp:alt_caps_toggle
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+de(nodeadkeys):2+inet(evdev)+group(alt_caps_toggle)+compose(menu)
geometry: thinkpad(60)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+de(nodeadkeys):2+inet(evdev)+group(alt_caps_toggle)+compose(menu)" };
xkb_geometry { include "thinkpad(60)" };
}; |
Does this sound like a Xorg bug? |
|
Back to top |
|
|
atemv n00b
Joined: 09 Aug 2014 Posts: 63
|
Posted: Sat Mar 28, 2015 10:35 am Post subject: |
|
|
There is a nice little app to show X events, called xev, maybe it can help you further.
Just
and run
|
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Sat Mar 28, 2015 1:30 pm Post subject: |
|
|
it sometimes is [Ctrl]+[-] and [Ctrl]+[+]. In such a case numpad or [Ctrl]+[Shift]+[=] might work. |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Sat Mar 28, 2015 1:42 pm Post subject: |
|
|
atemv wrote: | There is a nice little app to show X events, called xev, maybe it can help you further.
Just
and run
|
I had a look. Pressing [Ctrl]+[=] when:
Good:
Code: | KeyPress event, serial 37, synthetic NO, window 0x4e00001,
root 0x9e, subw 0x0, time 10572194, (-322,629), root:(549,1079),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x4e00001,
root 0x9e, subw 0x0, time 10575609, (-322,629), root:(549,1079),
state 0x4, keycode 21 (keysym 0x3d, plus), same_screen YES,
XLookupString gives 1 bytes: (3d) "="
XmbLookupString gives 1 bytes: (3d) "="
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
root 0x9e, subw 0x0, time 10575647, (-322,629), root:(549,1079),
state 0x4, keycode 21 (keysym 0x3d, plus), same_screen YES,
XLookupString gives 1 bytes: (3d) "="
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
root 0x9e, subw 0x0, time 10577249, (-322,629), root:(549,1079),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False |
Broken:
Code: | KeyPress event, serial 37, synthetic NO, window 0x4e00001,
root 0x9e, subw 0x0, time 10572194, (-322,629), root:(549,1079),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 136, synthetic NO, window 0x2e00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 136, synthetic NO, window 0x2e00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 136, synthetic NO, window 0x0,
keys: 2 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
root 0x9e, subw 0x0, time 10577249, (-322,629), root:(549,1079),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False |
The difference is that under the broken condition, the [=] key press is never received. Instead there are FocusOut/FocusIn events. Is the window temporarily losing focus? How come? |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
|
Back to top |
|
|
atemv n00b
Joined: 09 Aug 2014 Posts: 63
|
Posted: Wed Apr 01, 2015 2:44 am Post subject: |
|
|
Today I did a system update due to the new multilib system, and I got the following message:
Code: | * Messages for package x11-libs/libXi-1.7.4:
* Some special keys and keyboard layouts may stop working.
* To fix them, recompile xorg-server.
|
Maybe It can explain it, have you tried recompile the xorg-server? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|