Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 404684 - [regression] No visual feedback when dragging an editor tab on Linux
Summary: [regression] No visual feedback when dragging an editor tab on Linux
Status: CLOSED DUPLICATE of bug 492842
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal with 6 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 16:33 EDT by Sergey Prigogin CLA
Modified: 2016-06-08 01:18 EDT (History)
8 users (show)

See Also:


Attachments
Screenshot taken while dragging (115.16 KB, image/png)
2013-04-01 16:33 EDT, Sergey Prigogin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Prigogin CLA 2013-04-01 16:33:49 EDT
Created attachment 229217 [details]
Screenshot taken while dragging

When dragging editor tab to change the order of editors, a black vertical line indicating the insertion location appears but doesn't move with the cursor (see the attached screenshot). As a result the user doesn't know where the tab will be inserted and whether the dragging works or not. This is a regression from 3.8.
Comment 1 Marc-André Laperle CLA 2013-06-14 15:33:07 EDT
This works for me on Mac using 4.3.0 I20130605-2000. So this could be a Linux/GTK specific issue.
Comment 2 Marc Khouzam CLA 2013-06-14 16:17:11 EDT
Works for me on Linux Ubuntu 11.10 GTK 2.24.6 with 4.3RC2
Comment 3 Sergey Prigogin CLA 2013-06-14 16:57:34 EDT
(In reply to comment #2)
Hmm. In 4.3RC4 the black line sometimes does move but then it gets stuck and stops following the cursor. Does it move for you along the whole row of tabs?
Comment 4 Marc Khouzam CLA 2013-06-14 20:55:00 EDT
(In reply to comment #3)
> (In reply to comment #2)
> Hmm. In 4.3RC4 the black line sometimes does move but then it gets stuck and
> stops following the cursor. Does it move for you along the whole row of tabs?

I can see the problem also if I move around a lot.  I've noticed that if the editor is maximized it can happen more often.  Also, it sometimes works ok, but then I move the cursor around the rest of eclipse and then go back to the list of editor tabs, and it won't work anymore.

Definitely something not working well.
Comment 5 Sergey Prigogin CLA 2013-06-16 01:05:40 EDT
This is a Linux specific issue. Works fine on Windows.
Comment 6 Krzysztof Daniel CLA 2013-06-18 02:48:13 EDT
Works well on Fedora 19, for both 20130606-0932 and for Fedora Eclipse build.

The only difference I've noticed is that the marker is bright green.  Steps to reproduce the problem would be nice here...

Alex, any idea?
Comment 7 Alexander Kurtakov CLA 2013-06-18 03:59:12 EDT
(In reply to comment #6)
> Works well on Fedora 19, for both 20130606-0932 and for Fedora Eclipse build.
> 
> The only difference I've noticed is that the marker is bright green.  Steps
> to reproduce the problem would be nice here...
> 
> Alex, any idea?

I can easily reproduce it with GTK3 backend and maximized editor. Is it by any chance implemented using SWT Sash? 
About the color it is probably theming issue.
Comment 8 Owen Williams CLA 2013-08-05 10:18:12 EDT
This is probably an issue with Ubuntu's choice of black for tooltip background color.  Any time I've found black UI elements in Eclipse, they've been fixed by using a custom gtkrc that sets tooltip_bg_color to something else (like #fefefe).  In this case I'm on ubuntu and with my gtkrc I see the correct green highlight.
Comment 9 Sergey Prigogin CLA 2013-08-05 12:57:01 EDT
(In reply to comment #8)
> This is probably an issue with Ubuntu's choice of black for tooltip
> background color.  Any time I've found black UI elements in Eclipse, they've
> been fixed by using a custom gtkrc that sets tooltip_bg_color to something
> else (like #fefefe).  In this case I'm on ubuntu and with my gtkrc I see the
> correct green highlight.

The problem is not the color of the highlight but the fact that the highlight gets stuck and rarely moves with the cursor. In fact, the vertical bar highlight would not provide for a good user experience even if it moved properly. Compare with the tab dragging experience in Chrome where it is a truly WYSIWYG experience.
Comment 10 Marc-André Laperle CLA 2016-03-08 00:55:07 EST
I still get this issue with 4.6-I20160301-1230. I found that if the window is not maximized the issue is easily reproducible. Using Ubuntu 15.10 and Fedora 23. Although on Fedora 23, it seems to happen whether or not it's maximized.
Comment 11 Marc-André Laperle CLA 2016-06-08 00:10:49 EDT
This seems to be solved now with bug 492842 fixed. Should this be closed?
Comment 12 Sergey Prigogin CLA 2016-06-08 01:18:11 EDT

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