Workaround problems with Qt::QueuedConnection
ClosedPublic

Authored by graesslin on Apr 4 2016, 12:37 PM.

Details

Summary

For unknown reasons our signals with Qt::QueuedConnection are not
delivered with Qt 5.6 if the context object is this (KSldApp instance).

If we use a different context object (e.g. the sender) it works.

The lack of signals not working triggered quite a few bugs, like

  • grace time not working
  • global shortcuts not working

BUG: 361008
BUG: 361007

Diff Detail

Repository
R133 KScreenLocker
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 3126.Apr 4 2016, 12:37 PM
graesslin retitled this revision from to Workaround problems with Qt::QueuedConnection.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptApr 4 2016, 12:37 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Apr 4 2016, 2:01 PM
sebas added a reviewer: sebas.
sebas added a subscriber: sebas.

Bah, but okay. :/

This revision is now accepted and ready to land.Apr 4 2016, 2:01 PM
This revision was automatically updated to reflect the committed changes.