Page MenuHomePhabricator

Spotify keeps getting keyboard input
Closed, ResolvedPublic

Description

To reproduce:

  • Open terminology on one VD
  • Open Spotify on a other VD
  • focus spofiy
  • go with ALT+Fx to the VD where terminology is open

You will see that keyboardinput does not go to terminology.
To make it work again I have to go back to focus spotify, and focus on the same VD a other window by ALT tab or clicking. then other windows are getting keyboard events again.
Changing the VD by mouse does not trigger the bug.

bu5hm4n created this task.Dec 16 2015, 9:00 AM
bu5hm4n updated the task description. (Show Details)
bu5hm4n raised the priority of this task from to Incoming Queue.
bu5hm4n assigned this task to zmike.
bu5hm4n added a project: enlightenment-git.
bu5hm4n added subscribers: bu5hm4n, billiob.
bu5hm4n added a subscriber: ApB.Dec 16 2015, 9:02 AM

It is not only with terminology. It had some focus issues but the behavior explained in the ticket also occurs with firefox or whatever application not on spotify's VD.

yeah, forgot to add that.

Okay I debugged this a bit more with xev

If I normally focus and unfocus spotify I am getting this output:

FocusIn event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyNormal, detail NotifyNonlinear

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

FocusOut event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyGrab, detail NotifyNonlinear

FocusIn event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyUngrab, detail NotifyNonlinear

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

FocusOut event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyNormal, detail NotifyInferior

EnterNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0xc00002, time 1420625, (224,0), root:(904,200),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus NO, state 0

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

EnterNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0x0, time 1421150, (204,17), root:(884,217),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus NO, state 256

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

LeaveNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0x0, time 1421150, (204,17), root:(884,217),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus NO, state 256

LeaveNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0xc00002, time 1424453, (106,-1), root:(786,199),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus NO, state 0

FocusOut event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyNormal, detail NotifyNonlinearVirtual
FocusIn event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyNormal, detail NotifyNonlinear

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

FocusOut event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyGrab, detail NotifyNonlinear

FocusIn event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyUngrab, detail NotifyNonlinear

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

FocusOut event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyNormal, detail NotifyInferior

EnterNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0xc00002, time 1331922, (233,0), root:(913,200),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus NO, state 0

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

EnterNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0x0, time 1333314, (189,20), root:(869,220),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus NO, state 256

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

LeaveNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0x0, time 1333315, (189,20), root:(869,220),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus NO, state 256

LeaveNotify event, serial 18, synthetic NO, window 0xc00001,
    root 0xd5, subw 0xc00002, time 1336572, (209,-1), root:(889,199),
    mode NotifyNormal, detail NotifyNonlinearVirtual, same_screen YES,
    focus NO, state 0

FocusOut event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyGrab, detail NotifyVirtual

===> Here was the vd change

FocusIn event, serial 18, synthetic NO, window 0xc00001,
    mode NotifyUngrab, detail NotifyVirtual

KeymapNotify event, serial 18, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   1   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

PropertyNotify event, serial 18, synthetic NO, window 0xc00001,
    atom 0x238 (__E_WINDOW_MAPPED), time 1339709, state PropertyNewValue

FocusOut event, serial 19, synthetic NO, window 0xc00001,
    mode NotifyNormal, detail NotifyNonlinearVirtual

Does that help a bit?