Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 390387

Summary: Bad scrolling and hit test with long lines (Chrome only)
Product: [ECD] Orion Reporter: Silenio Quarti <Silenio_Quarti>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 1.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Silenio Quarti CLA 2012-09-25 16:07:40 EDT
Only happens on Chrome.

- Open demo.js
- Replace createLoad() with this:

	function createLoad() {
		var l = "";
		for (var i=0; i< 37; i++) {
			l += "line" + i+ "\n";
		}
		var text = tURLContent.value ? mSetup.getFile(tURLContent.value) : l + "The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog";
		return setupView(text, sLangSelect.value);
	}

- Scroll right to see the very end of the "var text ..." line.
- Grab the vertical scroll bar thumb and scroll up.


Note that when the long line scrolls off the bottom, the view scrolls left when shows the beginning of the lines.

And clicking on any line puts the caret at the wrong offset.