https://bugs.kde.org/show_bug.cgi?id=440439

            Bug ID: 440439
           Summary: Unresponsive shortcuts after connecting bluetooth
                    device
           Product: frameworks-kglobalaccel
           Version: 5.84.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: simg...@gmail.com
  Target Milestone: ---

SUMMARY
When connecting (and sometimes disconnecting) a Bluetooth device the kde global
shortcuts are not processed and the event is instead processed by other focused
software.

STEPS TO REPRODUCE
1. Connect a Bluetooth device
2. Trigger any global shortcut (e.g. F12 to open yakuake)

OBSERVED RESULT
Shortcuts are not processed by kde for about a 15-20 seconds (yakuake does not
open/close) and the shortcut is delivered to software window in focus (chrome
open dev tools).


EXPECTED RESULT
Global shortcuts work as excpected


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.10.52-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

ADDITIONAL INFORMATION

- Bluetooth mouse connected at 8:53:03
- Shortcuts unresponsive until 08:53:18


lug 31 08:53:03 dragonfly systemd[1]: Started Fix Bluetooth A2DP.
lug 31 08:53:03 dragonfly kernel: audit: type=1130 audit(1627714383.075:1436):
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fix-bt-a2dp comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lug 31 08:53:03 dragonfly audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295
ses=4294967295 msg='unit=fix-bt-a2dp comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lug 31 08:53:03 dragonfly kernel: input: ProClick Mouse as
/devices/virtual/misc/uhid/0005:1532:0076.0037/input/input310
lug 31 08:53:03 dragonfly kernel: input: ProClick Consumer Control as
/devices/virtual/misc/uhid/0005:1532:0076.0037/input/input311
lug 31 08:53:03 dragonfly kernel: input: ProClick System Control as
/devices/virtual/misc/uhid/0005:1532:0076.0037/input/input312
lug 31 08:53:03 dragonfly kernel: input: ProClick as
/devices/virtual/misc/uhid/0005:1532:0076.0037/input/input313
lug 31 08:53:03 dragonfly kernel: input: ProClick Keyboard as
/devices/virtual/misc/uhid/0005:1532:0076.0037/input/input314
lug 31 08:53:03 dragonfly kernel: hid-generic 0005:1532:0076.0037:
input,hidraw4: BLUETOOTH HID v0.01 Mouse [ProClick] on 74:e5:f9:84:f5:98
lug 31 08:53:03 dragonfly systemd-logind[526]: Watching system buttons on
/dev/input/event258 (ProClick System Control)
lug 31 08:53:03 dragonfly systemd-logind[526]: Watching system buttons on
/dev/input/event257 (ProClick Consumer Control)
lug 31 08:53:03 dragonfly systemd-logind[526]: Watching system buttons on
/dev/input/event260 (ProClick Keyboard)
lug 31 08:53:03 dragonfly audit[256122]: USER_AUTH pid=256122 uid=0
auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_rootok
acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
lug 31 08:53:03 dragonfly audit[256122]: USER_ACCT pid=256122 uid=0
auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_unix
acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
lug 31 08:53:03 dragonfly su[256122]: (to simga) root on none
lug 31 08:53:03 dragonfly audit[256122]: CRED_ACQ pid=256122 uid=0
auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_rootok
acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
lug 31 08:53:03 dragonfly audit[256122]: USER_START pid=256122 uid=0
auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix
acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
lug 31 08:53:03 dragonfly su[256122]: pam_unix(su:session): session opened for
user simga(uid=1001) by (uid=0)
lug 31 08:53:03 dragonfly kernel: audit: type=1100 audit(1627714383.162:1437):
pid=256122 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication
grantors=pam_rootok acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=?
res=success'
lug 31 08:53:03 dragonfly kernel: audit: type=1101 audit(1627714383.162:1438):
pid=256122 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting
grantors=pam_unix acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=?
res=success'
lug 31 08:53:03 dragonfly kernel: audit: type=1103 audit(1627714383.162:1439):
pid=256122 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred
grantors=pam_rootok acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=?
res=success'
lug 31 08:53:03 dragonfly kernel: audit: type=1105 audit(1627714383.162:1440):
pid=256122 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open
grantors=pam_unix acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=?
res=success'
^[[24~lug 31 08:53:03 dragonfly bluetoothd[746]:
profiles/battery/battery.c:parse_battery_level() Trying to update an
unregistered battery
^[[24~lug 31 08:53:08 dragonfly fix-bt-a2dp[256137]: waiting for 5 seconds...
lug 31 08:53:08 dragonfly fix-bt-a2dp[256137]: No such file or directory -
pacmd
lug 31 08:53:08 dragonfly su[256122]: pam_unix(su:session): session closed for
user simga
lug 31 08:53:08 dragonfly audit[256122]: USER_END pid=256122 uid=0
auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix
acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
lug 31 08:53:08 dragonfly audit[256122]: CRED_DISP pid=256122 uid=0
auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_rootok
acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=? res=success'
lug 31 08:53:08 dragonfly systemd[1]: fix-bt-a2dp.service: Main process exited,
code=exited, status=1/FAILURE
lug 31 08:53:08 dragonfly systemd[1]: fix-bt-a2dp.service: Failed with result
'exit-code'.
lug 31 08:53:08 dragonfly kernel: audit: type=1106 audit(1627714388.245:1441):
pid=256122 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close
grantors=pam_unix acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=?
res=success'
lug 31 08:53:08 dragonfly kernel: audit: type=1104 audit(1627714388.245:1442):
pid=256122 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred
grantors=pam_rootok acct="simga" exe="/usr/bin/su" hostname=? addr=? terminal=?
res=success'
lug 31 08:53:08 dragonfly audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295
ses=4294967295 msg='unit=fix-bt-a2dp comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
lug 31 08:53:08 dragonfly kernel: audit: type=1131 audit(1627714388.248:1443):
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fix-bt-a2dp comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
lug 31 08:53:08 dragonfly kernel: usb 1-1.4: reset high-speed USB device number
71 using xhci_hcd
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: Failed to focus
0x3000007 (error 8)
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: Failed to focus
0x3000007 (error 8)
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: Failed to focus
0x3000007 (error 8)
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: Failed to focus
0x3000007 (error 8)
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: XCB error: 3
(BadWindow), sequence: 5799, resource id: 17574828, major code: 129 (SHAPE),
minor code: 8 (GetRectangles)
lug 31 08:53:18 dragonfly kwin_x11[126767]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 6244, resource id: 17575752, major code: 18
(ChangeProperty), minor code: 0
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: Failed to focus
0x3000007 (error 8)
lug 31 08:53:18 dragonfly kwin_x11[126767]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 7068, resource id: 17575761, major code: 18
(ChangeProperty), minor code: 0
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: Failed to focus
0x3000007 (error 8)
lug 31 08:53:18 dragonfly kwin_x11[126767]: kwin_core: Failed to focus
0x3000007 (error 8)
lug 31 08:53:18 dragonfly kwin_x11[126767]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 7498, resource id: 17575767, major code: 18
(ChangeProperty), minor code: 0
lug 31 08:53:18 dragonfly kwin_x11[126767]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 7997, resource id: 17575771, major code: 18
(ChangeProperty), minor code: 0
lug 31 08:53:18 dragonfly kcminit[256406]: Initializing  "kcm_mouse" : 
"kcminit_mouse"
lug 31 08:53:18 dragonfly kwin_x11[126767]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 8844, resource id: 17575781, major code: 18
(ChangeProperty), minor code: 0
lug 31 08:53:18 dragonfly kwin_x11[126767]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 9268, resource id: 96468997, major code: 18
(ChangeProperty), minor code: 0
lug 31 08:53:18 dragonfly kwin_x11[126767]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 9272, resource id: 17575786, major code: 18
(ChangeProperty), minor code: 0
lug 31 08:53:21 dragonfly kwin_x11[126767]: kwin_core: XCB error: 3
(BadWindow), sequence: 10185, resource id: 17575794, major code: 129 (SHAPE),
minor code: 8 (GetRectangles)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to