[PATCH] fix for 165789 - easier dropping of applets onto panel

Mario Oschwald mario.oschwald at hpi.uni-potsdam.de
Mon Jul 14 00:37:28 CEST 2008


Hello,

attached is a small patch to fix

http://bugs.kde.org/show_bug.cgi?id=165789

and related bugs that complain about difficult to drop applets onto
the panel.

I just (out of curiosity) accepted all DragMoveEvents in the panel
and was then surprised that the panel (or rather containment) already
handled the situation really well when a new applet is dropped on an existing one.

One issue that came up, while playing around with this, is that taskbar
items already accept (visually) all drops, even new applets, which then
causes nothing to happen. Maybe drops should be disabled for taskbar
items until those are really able to pass the events on to the respective
application.

I added this patch also to the reviewboard.

Please review for strange corner cases.

Thank you,

Mario
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel_easier_applet_drop.diff
Type: text/x-patch
Size: 1018 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080714/945072bc/attachment.bin 


More information about the Panel-devel mailing list