! 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 !
Brightness hotkeys not being processed while num lock is on
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-power-manager
Component:
General

Comments

Description paul104x 2011-09-24 15:08:37 CEST
All the hotkeys grabbed by xfce4-power-manager (Battery and Brightness) are not processed when the num lock is turned on. When turning numlock off everything works as expected.
Comment 1 tadada 2011-10-28 23:28:04 CEST
having the same problem on a samsung R580. hotkeys works when numlock is off but not when turned on.
While running xev, keycodes does not bubble to xev when numlock is off (i think they where trapped by power-manager) but when numlock is on, xev display hotkeys keycodes :

XF86MonBrightnessDown sample

with numlock off (keycode does not bubble, power-manager modify brightness) :

FocusOut event, serial 33, synthetic NO, window 0x4800001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 33, synthetic NO, window 0x4800001,
    mode NotifyUngrab, detail NotifyAncestor

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

with numlock on (keycode bubble, power-manager does nothing) :

KeyPress event, serial 33, synthetic NO, window 0x4800001,
    root 0x15d, subw 0x0, time 15864343, (352,199), root:(946,515),
    state 0x10, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4800001,
    root 0x15d, subw 0x0, time 15864344, (352,199), root:(946,515),
    state 0x10, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
Comment 2 Christoph Mende 2012-01-19 19:23:41 CET
dupe of bug 6549
Comment 3 Lionel Le Folgoc 2012-01-31 10:53:56 CET

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

Bug #7997

Reported by:
paul104x
Reported on: 2011-09-24
Last modified on: 2012-01-31

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Version:
1.0.10

Attachments

Additional information