[PATCH] fix for 165789 - easier dropping of applets onto panel
Aaron J. Seigo
aseigo at kde.org
Mon Jul 14 02:33:08 CEST 2008
On Sunday 13 July 2008, Mario Oschwald wrote:
> and related bugs that complain about difficult to drop applets onto
> the panel.
i have a half-finished patch here that shows a drop area indicator in the same
fashion as moving applets on the panel does... i should probably finish that up
for 4.2
> 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.
is the call to !item->acceptDrops() really needed? afaik, dragMove events
shouldn't appear unless the item above rejects/ignores it?
> 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.
the drop isn't passed onto the app, it causes that window to activate. it's
useful as it is.
what it should probably do is ignore drops that have the applet mimetype.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080713/3c6104ea/attachment.pgp
More information about the Panel-devel
mailing list