[Application Dashboard] Improve mouse handler
ClosedPublic

Authored by trmdi on Mar 16 2019, 8:48 AM.

Details

Summary
  • Do not close Application Dashboard after dragging items
  • Correct the view attached property to GridView.view

BUG: 390424

Test Plan
  • Application Dashboard is not closed when dragging items in the Favorites column.

Diff Detail

Repository
R119 Plasma Desktop
Branch
fix-390424 (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9654
Build 9672: arc lint + arc unit
trmdi created this revision.Mar 16 2019, 8:48 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 16 2019, 8:48 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
trmdi requested review of this revision.Mar 16 2019, 8:48 AM
trmdi edited the summary of this revision. (Show Details)Mar 16 2019, 8:53 AM

While I can't get the bug to happen as often with this, I still can sometimes--especially when I drag the top-left-most item down one column.

This might need @hein's magic touch. :)

trmdi added a comment.Mar 16 2019, 9:18 AM

While I can't get the bug to happen as often with this, I still can sometimes--especially when I drag the top-left-most item down one column.

This might need @hein's magic touch. :)

I don't know how to reproduce it. Can you find an easy way to reproduce it?

While I can't get the bug to happen as often with this, I still can sometimes--especially when I drag the top-left-most item down one column.

This might need @hein's magic touch. :)

I don't know how to reproduce it. Can you find an easy way to reproduce it?

With this patch:

Ok, it will be fixed.

trmdi updated this revision to Diff 54052.EditedMar 17 2019, 1:18 AM

Improve the code.

@ngraham: Can you still reproduce it?

trmdi edited the summary of this revision. (Show Details)Mar 17 2019, 1:21 AM
hein accepted this revision.Mar 18 2019, 1:42 PM
This revision is now accepted and ready to land.Mar 18 2019, 1:42 PM
ngraham accepted this revision.Mar 18 2019, 2:38 PM

Yep, I can no longer reproduce the issue under any circumstances. Thanks a lot for fixing this!

Land on the Plasma/5.15 stable branch please: https://community.kde.org/Infrastructure/Phabricator#Landing_on_the_.22Stable_branch.22

If you need a hand with that, let me know. :)

This revision was automatically updated to reflect the committed changes.