Fix mouse events being withheld from the scrollbar.
ClosedPublic

Authored by hein on Nov 19 2018, 6:43 AM.

Details

Summary

Fixes regression introduced in 48b32259e73f.

Thanks to ngraham for pointing out the bug.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hein created this revision.Nov 19 2018, 6:43 AM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 19 2018, 6:43 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein requested review of this revision.Nov 19 2018, 6:43 AM
ngraham accepted this revision.Nov 19 2018, 3:18 PM

Thanks Eike! Can confirm that this fixes the issue, and the code change looks eminently sane.

This revision is now accepted and ready to land.Nov 19 2018, 3:18 PM
davidedmundson requested changes to this revision.Nov 19 2018, 6:01 PM
davidedmundson added a subscriber: davidedmundson.

If you run in arabic/RTL the scrollbars will be on the left.

If you add:
anchors.left: parent.left

It should get automatically flipped to the right anchors and continue to work. If you don't specify anything, it'll stay on the left.

This revision now requires changes to proceed.Nov 19 2018, 6:01 PM
hein updated this revision to Diff 45864.Nov 20 2018, 6:43 AM

Fix RTL bug

davidedmundson accepted this revision.Nov 21 2018, 1:30 PM
This revision is now accepted and ready to land.Nov 21 2018, 1:30 PM
This revision was automatically updated to reflect the committed changes.