Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 223870 - [CoolBar] Moving CoolItems does not work correctly
Summary: [CoolBar] Moving CoolItems does not work correctly
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 11:46 EDT by Ivan Furnadjiev CLA
Modified: 2009-10-23 11:03 EDT (History)
2 users (show)

See Also:


Attachments
Snippet150.java (2.59 KB, text/plain)
2008-03-25 11:46 EDT, Ivan Furnadjiev CLA
no flags Details
Proposed patch (21.36 KB, patch)
2009-10-01 08:03 EDT, Asen Draganov CLA
ruediger.herrmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Furnadjiev CLA 2008-03-25 11:46:07 EDT
In SWT is possible the change the order of coolitems, to put them on several rows and to hide them - in RWT it's not possible.
Comment 1 Ivan Furnadjiev CLA 2008-03-25 11:46:27 EDT
Created attachment 93408 [details]
Snippet150.java
Comment 2 Tim Buschtoens CLA 2009-08-24 09:07:19 EDT
Dragging a CoolItem before or after another one, causes it to be "stuck" behind (z-index) the other items on the position it was dropped.

To reproduce: In the controls demo, tab "CoolBar", drag the last (3rd) item between the first two.
Comment 3 Asen Draganov CLA 2009-10-01 08:03:12 EDT
Created attachment 148518 [details]
Proposed patch
Comment 4 Tim Buschtoens CLA 2009-10-08 11:09:42 EDT
> Created an attachment (id=148518) [details]
> Proposed patch

Hm. Using this patch, the actions described in comment#2 still don't work. Only now, instead of beeing stuck behind the other items, the item snaps back to its original location.
Comment 5 Jordan Yakovchev CLA 2009-10-13 07:44:35 EDT
According to me the bug is fixed by this patch. Reordering works correctly and the items do not end overlapped.
Comment 6 Tim Buschtoens CLA 2009-10-13 08:42:16 EDT
(In reply to comment #5)
> According to me the bug is fixed by this patch. Reordering works correctly and
> the items do not end overlapped.

Agreed, it seems i was mistaken. The controls-demo is a bit confusing, because a) when resizing the CoolBar, the CoolItems are cut of instead of moved into a new row and b) the items look (almost) alike.
Comment 7 Rüdiger Herrmann CLA 2009-10-23 10:58:40 EDT
Applied patch to CVS HEAD