#781308 xfce4-settings: Some keys on keyboard don't work after installing xfce4-settings 4.12.0-1

Package:
xfce4-settings
Source:
xfce4-settings
Description:
graphical application for managing Xfce settings
Submitter:
Thorsten
Date:
2017-10-15 20:03:09 UTC
Severity:
normal
#781308#5
Date:
2015-03-27 10:41:20 UTC
From:
To:
Package: xfce4-settings
Version: 4.12.0-1
Severity: normal

Dear Maintainer,

I wanted to try out the new xfce4-display-settings from 4.12, so I
installed all xfce4 related stuff from experimental. After installing it
both keyboards (bluetooth and normal laptop keyboard) had a few keys not
working anymore. It where the "4" and "e" keys.

There are still keyboards events, but "xev -event keyboard" has no
window associated to it. Here is the output only for the key "e"

### Output with xfce4-settings 4.10 (working keyboard):

KeyPress event, serial 28, synthetic NO, window 0x2000001,
    root 0xb3, subw 0x0, time 8332672, (549,408), root:(1420,941),
    state 0x0, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XmbLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x2000001,
    root 0xb3, subw 0x0, time 8332772, (549,408), root:(1420,941),
    state 0x0, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: False



### Output with xfce4-settings 4.12 (key e doesn't work):

KeymapNotify event, serial 28, synthetic NO, window 0x0,
    keys:  4294967219 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   0   0   0   0

KeymapNotify event, serial 28, synthetic NO, window 0x0,
    keys:  4294967219 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   0   0   0   0


After going back competely to xfce 4.10 everything was okay again. And
only xfce4-settings with it dependencies listed below I'm able to
reproduce it.

libxfce4ui-1-0 libxfce4ui-common libxfce4ui-utils
xfce-keyboard-shortcuts

#781308#10
Date:
2015-03-28 20:36:14 UTC
From:
To:
Can you check two things:

- does it happens everytime you run Xfce or only the first time after the upgrade?
- is there something bound to those keys?

Regards,

#781308#15
Date:
2015-03-29 11:53:25 UTC
From:
To:
Hi Yves-Alexis,

It doesn't matter how often I reboot or install the packages.
debugging, I found out, that the problem was a line which I used
recently to check something.

I found the line in my configuration, which was the problem. I used it
a while ago to debug something. But still it is bound to "EuroSign" and
not the key "e".

The line is:
<property name="EuroSign" type="string" value="/bin/true"/>

To reproduce the problem I needed only to create the following file
with the following contents. I have to mention, that I use a "German"
keyboard layout. The "€" sign is "right Alt + e"

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml



<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-keyboard-shortcuts" version="1.0">
   <property name="commands" type="empty">
    <property name="custom" type="empty">
      <property name="override" type="bool" value="true"/>
      <property name="EuroSign" type="string" value="/bin/true"/>
     </property>
   </property>
</channel>



After changing my Keyboard Layout a few times while debugging, I cannot
again reproduce the problem with the "4". It disappeared. But still
there is something wrong.

My solution was to delete the line. But I'm able to add such an entry
by using the xfce4-keyboard-settings under "Application Shortcuts". So
it is not an outdated way to write the key binding.

Hope it will help you to debug the problem.

Thanks and cheers

#781308#20
Date:
2017-02-28 00:14:39 UTC
From:
To:
Hi,

I have the same problem on two different computers with the "ù" key of
the French (fr(oss)) keyboard:

KeymapNotify event, serial 26, synthetic NO, window 0x0,
    keys:  4294967209 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   0   0   0   0

Restarting xfsettingsd (pkill xfsettingsd && xfsettingsd) makes the key
work again.

Removing some configuration files in
~/.config/xfce4/xfconf/xfce-perchannel-xml (probably
xfce4-keyboard-shortcuts.xml) and restarting xfce seems to fix the
problem as well for some time but it comes back again at some point.

#781308#25
Date:
2017-10-15 20:02:03 UTC
From:
To:
Hi,

I investigated further and for me the bug is caused by this line in
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml:

<property name="twosuperior" type="string" value="xfce4-terminal
--drop-down"/>

Binding this command to another key combination fixes the problem.

I still don't know why shortcut breaks an unrelated key and why
restarting xfsettings manually fixes the issue.