Make task manager ignore events it can't handle
ClosedPublic

Authored by davidedmundson on Oct 29 2016, 12:09 AM.

Details

Summary

Currently if I drag an item from widget explorer onto the panel and
hover over most applets the applet will shift showing me a drop
indicator when I can add the applet. However if I move over the task
manager this doesn't work.

This patch makes the taskmanager not intercept drop events that are not
related to the task manager, URLs or internal drops, so that adding
applets works correctly.

Test Plan

Dropped a file on kate, still opened
Set ordering to manual, still could shuffle things
Dragged an item from widget explorer over the task manager, it
showed a drop indicator either side and appeared there when dropped.

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.
davidedmundson retitled this revision from to Make task manager ignore events it can't handle.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptOct 29 2016, 12:09 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Oct 29 2016, 11:18 PM
hein added a reviewer: hein.
This revision is now accepted and ready to land.Oct 29 2016, 11:18 PM
This revision was automatically updated to reflect the committed changes.