Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349951 - [editor] [Chrome] Selection flickers when dragging cursor outside of editor
Summary: [editor] [Chrome] Selection flickers when dragging cursor outside of editor
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Editor (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.3 RC1   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 10:00 EDT by Mark Macdonald CLA
Modified: 2011-10-11 15:40 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-06-21 10:00:03 EDT
Chrome 13.0 beta

1. Open some .js file in the editor.
2. Use the mouse cursor to select several lines of text upward (i.e. start from the bottom of the text block and drag the cursor up.)
3. As you're dragging, move the cursor to the left so goes outside the editor and onto the ruler.
4. The selection starts to flicker. When the mouse button is released, the selection is sometimes not drawn.
Comment 1 Felipe Heidrich CLA 2011-06-21 10:05:16 EDT
Worked for me here http://orion.eclipse.org/examples/textview/demo.html

Come by my office and show it to me or silenio.
Comment 2 Mark Macdonald CLA 2011-08-23 17:27:10 EDT
(In reply to comment #1)
> Come by my office and show it to me or silenio.
I recall we tested with an older stable version of Chrome on your machine and couldn't reproduce the bug.

I am now using Chrome 14 beta and I still see the bug with demo.html
Comment 3 Silenio Quarti CLA 2011-08-23 17:29:58 EDT
This is happening because of a bug in Chrome. See

http://code.google.com/p/chromium/issues/detail?id=93771

We need to investigate if we can find a work around. Selection is pretty broken this way.
Comment 4 Silenio Quarti CLA 2011-09-27 16:34:35 EDT
It is not clear when/if the bug in webkit will ever be fixed. Given that we release a workaround the catches
most cases. One case that is broken is if the mouse exits the editor while select dragging and goes over another iframe (for example, another editor), the selection does not update as the mouse move. This is a small problem compared to the current behaviour.

Fixed
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=69595b54a3c575088d5f15a7e01250989e3219ba