Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335505 - [client][editor][FF4] Editing caret is not visible in coding.html
Summary: [client][editor][FF4] Editing caret is not visible in coding.html
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 15:11 EST by Mark Macdonald CLA
Modified: 2011-09-01 11:41 EDT (History)
6 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-01-26 15:11:39 EST
Using Firefox 4.0b10:

1. Open coding.html on a Javascript file.
2. The editing caret does not appear in the text editor.

The symptoms here are the same as Bug 334587, but I opened this separately against [client] because the standalone editor at /editor/demo.html shows the cursor just fine. Something about the way coding.html embeds the editor is triggering the disappearing cursor in FF4.
Comment 1 Felipe Heidrich CLA 2011-01-27 14:17:56 EST
If you type in the editor, what happens ? (i.e. is the editor getting focus?)
Comment 2 Mark Macdonald CLA 2011-01-27 16:15:09 EST
(In reply to comment #1)
> If you type in the editor, what happens ? (i.e. is the editor getting focus?)

Yeah, I can type in the editor, and trigger actions like Toggle Comment. But the cursor is invisible, drag-to-select regions are incorrect, and Ctrl+C/V doesn't work.
Comment 3 Boris Bokowski CLA 2011-03-08 09:43:28 EST
This is the same issue as reported at Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=639695
Comment 4 Silenio Quarti CLA 2011-03-10 14:11:44 EST
I released a temporary workaround for this problem. The workaround does not solve bug#334587.

http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/bundles/org.eclipse.orion.client.editor?id=eb9eb2f589b7ad1bc36d242cef03afb39a22552d
Comment 5 Silenio Quarti CLA 2011-03-10 14:28:00 EST
I was able to reproduce this problem on Windows and Mac. They both work with the workaround.

Closing.
Comment 6 John J. Barton CLA 2011-03-11 12:44:24 EST
Just FYI, I've seen this problem twice on Firefox 3.6. Can't reproduce it yet however.
Comment 7 Ehsan Akhgari CLA 2011-03-11 18:48:59 EST
This is a bug in Gecko.  I have a patch in this Mozilla bug which fixes the problem:

https://bugzilla.mozilla.org/show_bug.cgi?id=639695
Comment 8 Felipe Heidrich CLA 2011-06-09 11:08:56 EDT
This bug is back in 3.6 (?)
it looks much worse as the selection has anchor suck at the end of file.
pushing a modification of the fix soon.