Skip to content
Commit f31f4976 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix action registration and unregistration order

It appears like the order between QDBus::NoBlock and QDBus::Block calls
is undefined. If a blocking call is made after a few non-block calls,
those non-block calls can arrive at the destination after the blocking
call.

This is the root cause of some global shortcuts not working in kwin.
When restarting compositing, the effects will release and register
shortcuts but kglobalacceld receives setInactive() and doRegister()
requests in the opposite expected order.

kglobalaccel either should use QDBus::NoBlock for all requests or none.

BUG: 448369
parent 00f021c6
Loading
Loading
Loading
Pipeline #133024 passed with stage
in 51 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment