Bug 199059 - Colored labels breaks drag feedback
Summary: Colored labels breaks drag feedback
Status: CLOSED DUPLICATE of bug 428852
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-07 08:22 EDT by Dani Megert CLA
Modified: 2016-07-29 15:54 EDT (History)
4 users (show)

See Also:


Attachments
Snippet showing problem (6.10 KB, application/zip)
2007-08-08 06:08 EDT, Dani Megert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2007-08-07 08:22:30 EDT
I20070807-0010 but same bug is in R3.3.

1. enable colored labels (Java > Appearance)
2. select an item in the Package Explorer
3. start to drag
==> there is an empty rectangle which should display the item label
4. disable colored labels and repeat step 2 and 3
==> the rectangle correctly shows the label

Martin, this is probably an SWT issue.
Comment 1 Dani Megert CLA 2007-08-08 06:08:21 EDT
Created attachment 75650 [details]
Snippet showing problem

The problem is caused by the eraseItem event which JDT uses to clear the label. It seems that under Linux the eraseItem event is sent before the image is taken for DnD. this seems to be different than under WindowsXP where this works as expected.
Comment 2 Eric Williams CLA 2016-07-29 15:54:47 EDT
This looks like a symptom DnD events being sent in the wrong order on GTK, fixed with bug 428852.

*** This bug has been marked as a duplicate of bug 428852 ***