Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-02-21 Thread Fabian Vogt
Moin, Am Samstag, 6. Februar 2021, 10:08:43 CET schrieb David Faure: > Problem mostly fixed by > https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/339 > but still seeing 15 notifications instead of 1 (already better than 145...). > > Indeed a single call to > /usr/bin/setxkbmap

Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-02-07 Thread Christoph Cullmann
On 2021-02-06 10:08, David Faure wrote: Problem mostly fixed by https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/339 but still seeing 15 notifications instead of 1 (already better than 145...). Indeed a single call to /usr/bin/setxkbmap -layout us,fr -option -option compose:caps

Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-02-06 Thread David Faure
Problem mostly fixed by https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/339 but still seeing 15 notifications instead of 1 (already better than 145...). Indeed a single call to /usr/bin/setxkbmap -layout us,fr -option -option compose:caps sends 12 XCB_XKB_NEW_KEYBOARD_NOTIFY

Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-01-31 Thread David Faure
On dimanche 31 janvier 2021 00:30:14 CET Fabian Vogt wrote: > I suspect that something else is triggering keyboard layout reloads or > similar in a loop. The keyboard kded module listens for new keyboards and > mouse events and configures them, which is likely to be called on resume > when devices

Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-01-30 Thread Albert Astals Cid
El diumenge, 31 de gener de 2021, a les 0:53:17 CET, David Faure va escriure: > On dimanche 31 janvier 2021 00:39:38 CET Albert Astals Cid wrote: > > El dissabte, 30 de gener de 2021, a les 18:32:32 CET, David Faure va > escriure: > > > For years, I've noticed that when resuming a laptop from

Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-01-30 Thread David Faure
On dimanche 31 janvier 2021 00:39:38 CET Albert Astals Cid wrote: > El dissabte, 30 de gener de 2021, a les 18:32:32 CET, David Faure va escriure: > > For years, I've noticed that when resuming a laptop from sleep, > > kglobalaccel and X11 use 100% CPU for a few minutes, making everything > >

Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-01-30 Thread Fabian Vogt
Hi, Am Samstag, 30. Januar 2021, 18:32:32 CET schrieb David Faure: > For years, I've noticed that when resuming a laptop from sleep, kglobalaccel > and X11 > use 100% CPU for a few minutes, making everything crawl for a while. > > I finally debugged why: kglobalaccel grabs and ungrabs all

Re: Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-01-30 Thread Albert Astals Cid
El dissabte, 30 de gener de 2021, a les 18:32:32 CET, David Faure va escriure: > For years, I've noticed that when resuming a laptop from sleep, kglobalaccel > and X11 > use 100% CPU for a few minutes, making everything crawl for a while. Does this happen on a short sleep too or needs a long

Need xcb/xkb help for severe kglobalaccel_x11 issue

2021-01-30 Thread David Faure
For years, I've noticed that when resuming a laptop from sleep, kglobalaccel and X11 use 100% CPU for a few minutes, making everything crawl for a while. I finally debugged why: kglobalaccel grabs and ungrabs all global shortcuts many many times in a row. KGlobalAccelImpl::nativeEventFilter