Bug 180173

Summary: panel drag and drop form factor problem
Product: [Plasma] plasma4 Reporter: Ignat Semenov <i.semenov.kde>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: the panel before drag and drop started
dragging Kate from the panel
Dragging Kate back into the panel. Note that the mouse button is not released yet. When released, everything becomes fine.

Description Ignat Semenov 2009-01-09 19:43:49 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.1 
OS:                Linux
Installed from:    Compiled sources

If you drag an applet that have more than one form-factor (e.g. Kate or Device Notifier) from the panel to the desktop, and then (without releasing it) drag it back into the panel, all applets inside the panel increase their size to become as large as the applet being dragged while it was on the desktop. This doesn't happen to applets like KMenu or Digital Clock or "Spaces" (Virtual Desktops) applet as they have the same size on the desktop and inside the panel. Three screenshots illustrate this bug.
Comment 1 Ignat Semenov 2009-01-09 19:44:33 UTC
Created attachment 30070 [details]
the panel before drag and drop started
Comment 2 Ignat Semenov 2009-01-09 19:45:20 UTC
Created attachment 30072 [details]
dragging Kate from the panel
Comment 3 Ignat Semenov 2009-01-09 19:45:48 UTC
Created attachment 30073 [details]
Dragging Kate back into the panel. Note that the mouse button is not released yet. When released, everything becomes fine.
Comment 4 Aaron J. Seigo 2009-01-09 21:43:15 UTC
SVN commit 908500 by aseigo:

insta-drop onto the desktop; not perfect, but prevents other even worse effects. in 4.3 we really need to centralize the inter-view drag code and make it possible to enter one mode then the other between views.
BUG:180173


 M  +24 -19    panelappletoverlay.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=908500