Bug 200798

Summary: quicklaunch plasmoid: change icons place works only from left to right
Product: [Unmaintained] plasma4 Reporter: anton <benderamp>
Component: widget-quicklaunchAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: asraniel, plasma-bugs, thelwyn
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description anton 2009-07-19 21:08:11 UTC
Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    SuSE RPMs

Version 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2)) "release 142"

1. Add quicklaunch plasmoid with at least 2 icons (let them be on 1 horizontal line for simplicity)
2. Try to change their places
2.1 Drag left icon to the right - icons changed places
2.2 Drag right icon to the left - icons do not change places
Comment 1 Beat Wolf 2009-07-22 21:12:49 UTC
I can't really reproduce this. Even though they don't always exactly change places like i would want to, they do it in all directions
Comment 2 anton 2009-07-22 21:25:07 UTC
I have quicklaunch plasmoid looking like this:

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

it is added directly to the desktop, not to the panel.

For example on the screenshot I have icons: firefox, konqueror, kmail

If I want to move konqueror icon on place of kmail icon (left to right), I just drag it and drop on place of kmail - the icons do change place, so I receive firefox, kmail, konqueror

<rollback>

But if I want to move kmail icon on place of konqueror (right to left), I drag kmail icon and drop it above konqueror - nothing happens.

Then if I drag kmail icon and drop it above firefox icon, kmail goes one position left to the place of konqueror icon, so I have firefox, kmail, konqueror.


This happens in 100% of cases.
Comment 3 anton 2009-07-22 21:36:22 UTC
Aha, i see the logick. If I drop some icon above another icon, the dropped icon is always places to the right from the bottom icon.
Comment 4 Kolia 2010-01-03 00:42:46 UTC
Same than Beat Wolf here with KDE 4.4 SVN 1068732 | Qt 4.6.0 : i can not reproduce it since i can move them every direction BUT they sometimes don't move where i would expect. 

I think this bug report should be renamed. The problem is that the icons does not always move where they should!
Comment 5 anton 2010-01-03 01:05:42 UTC
Currently this has changed even worse - when I try to drag'n'drop icon inside quicklaunch plasmoid, I receive error message:

The following is already in quicklaunch, ignoring it:
/usr/share/applications/kde4/krusader.desktop

and the icon is not moved in any direction

(KDE 4.3.85 (KDE 4.4 Beta2) from opensuse factory
Comment 6 Kolia 2010-01-04 00:08:15 UTC
Hi anton,

Can you try with a new user?
Comment 7 anton 2010-01-05 11:57:11 UTC
I have killed plasma-desktop process, removed all plasma* config files in ~/.kde4/share/config, started plasma-desktop process again and received desktop with default config, so I think this gave me same behaviour as for new user.

Added new quicklaunch plasmoid to desktop and tried to drag icons - still receive "The following is already in quicklaunch, ignoring it" message and the icons are not moved.
Comment 8 anton 2010-01-09 12:28:27 UTC
Update to KDE 4.3.90 (KDE 4.4 RC1) from opensuse factory - the "The following is already in quicklaunch, ignoring it" message disappeared, but the issue with arranging icons still here.

It is now similar to my "Comment #2", except that the dragged icon is placed not directly to the right from the bottom icon, but to the right from the right icon.

It might sound a bit confusing, would try to give example:

I.) Move from left to right
1. <firefox> <konqueror> <kmail>

drag <firefox> and drop above <konqueror> - receive:

2. <konqueror> <kmail> <firefox>


II.) In another direction - from right to left:

1. <firefox> <konqueror> <kmail>

drag <kmail> and drop above <konqueror> - nothing happens:

2. <firefox> <konqueror> <kmail>


III.) From right to left with different step:

1. <firefox> <konqueror> <kmail>

drag <kmail> and drop above <firefox> - result:

2. <firefox> <kmail> <konqueror>
Comment 9 Aaron J. Seigo 2010-03-08 23:06:43 UTC
SVN commit 1100884 by aseigo:

patch by Ingomar Wesp: "changes the computation of the insert position when dropping something on the applet's layout (it does not address dropping to the dialog yet). Additionally, appending items to the end of the list should be fixed now (it lead to a crash previously)."
CCMAIL:ingomar@wesp.name
BUGS:200798,225011


 M  +32 -65    quicklaunchApplet.cpp  


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