Closed
Bug 308736
Opened 19 years ago
Closed 15 years ago
Caret is invisible when entering an empty designmode field.
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: egonknapen, Assigned: peterv)
References
()
Details
(Whiteboard: midas)
Attachments
(2 files)
629 bytes,
text/html
|
Details | |
1.53 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
When an designmode field is still empty when you enter by clicking the mouse in
it, you don't see a cursor. The cursor will appear only after you start typing
characters.
Reproducible: Always
Steps to Reproduce:
1. visit the site,
2. click 'view source'
3. delete everything
4. unclick 'view source' (remove check)
5. click with mouse in textfield
Actual Results:
You don't see a focus or an blinking cursor. Or any cursor what so ever...
Expected Results:
In a normal textfield or textarea, when you it gets the focus, you see a
blinking cursor.
Problem happens under Windows XP, but also under MacOSX (Tiger), with using
Firefox 1.5 beta 1 or Camino 1.0a1.
Comment 1•19 years ago
|
||
WFM, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908
Firefox/1.4 ID:2005090806 However, the cursor is very very small, making it hard
to see, still a bug, but not the same as decribed.
Reporter | ||
Comment 2•19 years ago
|
||
No it's not visible. That other one is when there is text, and you move the
cursor totally to the beginning, then I see a very small cursor.
Both are bugs I think that should be finished!
Comment 3•19 years ago
|
||
See this as well with 20050916 branch build
Assignee: nobody → mozeditor
Component: General → Editor
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.0 Branch
Updated•19 years ago
|
Whiteboard: midas
Reproducible (no cursor) with SeaMonkey/20050904/1.1a, I see a very small cursor
with SeaMonkey/20050907/1.1a.
Oops, now I also see the very small cursor with SeaMonkey/20050904/1.1a so my
comment 4 is incorrect, sorry.
Reporter | ||
Comment 6•19 years ago
|
||
The DesignMode has been a big improvement in the 1.5beta2 over the 1.0.6 version
of firefox, but this small or invisible cursor is really something that should
get quickly fixed, to make it a perfect designmode....
Updated•19 years ago
|
Keywords: helpwanted
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: cursor is invisible when enter an empty designmode field. → Caret is invisible when entering an empty designmode field.
Comment 7•19 years ago
|
||
Same on trunk/win xp --> trunk
Flags: blocking1.9a1?
Version: 1.8 Branch → Trunk
Updated•18 years ago
|
Flags: blocking1.9a1? → blocking1.9-
Updated•18 years ago
|
QA Contact: editor
Updated•18 years ago
|
Assignee: mozeditor → nobody
Comment 8•18 years ago
|
||
The cursor is also invisible when a text-area or design mode is used above a transparent layer (see bug 343240).
Afaik it was fixed in 1.5 but is still not fixed in 2.0.
When will this be fixed? (please?)
Comment 9•17 years ago
|
||
This now works for me [Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a9pre) Gecko/2007102510 Minefield/3.0a9pre].
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 10•17 years ago
|
||
Under latest night build 3.0a9pre (1.Nov) it is visible. But it's very small...
Same when in there is text, and you go to the last line, it sometimes is small too. Still same behaviour as in 2.0.0.8.
Resolution: WORKSFORME → INCOMPLETE
Comment 11•17 years ago
|
||
Reopening per comment 10.
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment 12•17 years ago
|
||
Oh I see, the problem is that when you delete everything in view source mode, there's *nothing* left in the iframe. When we draw the caret in an empty iframe, the caret is offset vertically, that's why we always add a <br> tag to an empty iframe.
We need to either:
1. Fix the caret drawing/positioning code when it's drawn in an *empty* iframe document.
2. Add a <br> to the iframe when all its content is deleted.
Taking bug.
Status: REOPENED → ASSIGNED
Updated•17 years ago
|
Assignee: nobody → chris
Status: ASSIGNED → NEW
Updated•17 years ago
|
Blocks: contenteditable
Assignee | ||
Comment 13•15 years ago
|
||
Assignee: chris → peterv
Status: NEW → ASSIGNED
Assignee | ||
Comment 15•15 years ago
|
||
Attachment #381763 -
Flags: superreview?(roc)
Attachment #381763 -
Flags: review?(roc)
Assignee | ||
Updated•15 years ago
|
Keywords: helpwanted,
testcase
Target Milestone: --- → mozilla1.9.2
Attachment #381763 -
Flags: superreview?(roc)
Attachment #381763 -
Flags: superreview+
Attachment #381763 -
Flags: review?(roc)
Attachment #381763 -
Flags: review+
Assignee | ||
Comment 16•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 17 years ago → 15 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: mozilla1.9.2 → mozilla1.9.2a1
Comment 17•15 years ago
|
||
This caused bug 503531
You need to log in
before you can comment on or make changes to this bug.
Description
•