Skip to content
Commit 8709b7ed authored by David Edmundson's avatar David Edmundson
Browse files

Reverse TaskManager DragDrop to blacklist Plasma instead of whitelisting URLs

Summary:
A previous patch made the task manager only accept drag events which
contained URL lists or internal taskmanager mimedata in order to make it
easier to drag applets onto the panel.

This broke a feature where you can drag arbitrary mimedata between
windows and hovering above a task will raise that window.

This patch reverses the logic to only ignore plasmoids, and accept all
other drag/drops.

BUG: 375871
FIXED-IN: 5.9.2

Test Plan:
Dragged applet from Widget explorer onto task manager and the task
manager moved to
the side to allow a drop.

set sorting to manual and moved a task

Dragged some text onto a task, and that window raised immediately

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4476
parent fcff42d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment