Closed Bug 286861 Opened 20 years ago Closed 20 years ago

deleting text that is too long, causes it not to scroll back into view [Sunbird 0.2]

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dee, Assigned: mostafah)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.40607)
Build Identifier: 

If you type any text into a text box in sunbird that is too long for the box, 
it will scroll left.
If you then use backspace to delete the text, it will backspace past the left 
hand side of the window and end up with part of the text invisible.

Reproducible: Always

Steps to Reproduce:
1.Type text in a text box that is too wide for the box
2.Use backspace to delete it all
3.

Actual Results:  
The cursor position is left at a negative value (way off to the left) and any 
text typed now will be invisible until it becomes wide enough.

Expected Results:  
It should scroll right again to show all the text.
This is bad behavior of the XUL text field.
This behavior appears in Sunbird 0.2 build.  
This behavior does not appear in Firefox 1.0 or Thunderbird 1.0.
This behavior does not appear in MozSuite1.8b1.

This bug sounds like Core bug 265940.  However, that bug was checked in before
the Sunbird 0.2 build was created, so if it was the cause it should not appear
in Sunbird 0.2 (unless somehow Sunbird 0.2 was using an old version of the
patched files).

Bad behavior: When you type text longer than the event dialog title field, it
scrolls to keep the end of the text visible.  When you backspace back to the
beginning of the visible field, it does not scroll to show the beginning of the
text, and the cursor disappears.  Also, if you backspace some then type the
'Home' key, the cursor disappears.

Firefox 1.0 & TB1.0 behavior: when backspace deleting, when the cursor reaches
the beginning of the text field, the contents jumps to show another
field-width's worth of text.

MozSuite 1.8b1 behavior:  when backspace deleting beyond the width of the text
field, the text scrolls right on every backspace so the text field remains filled.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: delecting text that is too long, causes it not to scroll back into view → deleting text that is too long, causes it not to scroll back into view [Sunbird 0.2]
Fixed on Sunbird trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Fixed for me in 20050320
QA Contact: gurganbl → sunbird
Resolution: WORKSFORME → FIXED
A bug is only marked FIXED if there exists a dedicated patch.
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.