Closed Bug 324708 Opened 20 years ago Closed 18 years ago

Cursor Insertion Caret is lost when an element disappears due to reflow

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Cursor Insertion Caret is lost when an element disappears due to reflow. The cursor disappears, presumably still blinking in the now hidden control. Clicking into a visible field puts the insertion caret there but it does not show/blink. Reproducible: Always Steps to Reproduce: 1. Build a page with two text inputs and one button to hide one of them 2. Put the cursor in the one that will hide and type something. 3. Click the hide button Actual Results: Insert Caret is missing Expected Results: Insert Caret either moves to another element or at the very least can be seen again by clicking on another control.
Reporter, do you still see this problem with the latest Firefox 2? If it does, please test in a trunk build. If it's fixed, can you please close this bug as WORKSFORME. Thanks!
Component: OS Integration → General
QA Contact: os.integration → general
Whiteboard: CLOSEME 06/27
Version: unspecified → 1.5.0.x Branch
I have 2.0.0.3 currently, still does this. It actually occurs under a number of circumstances. All of them seem to be related to if the cursor is in a text field which is removed from screen. Either by style.display = 'none' or removing the element from DOM or whatever. After that point if you click in another text field, you can enter and delete text but there is no insertion carat.
I've verified that the bug exists on Win32 versions 1.5 and 2.0 using my above attachment. Using the Trunk build, it is fixed. - on a side note: Are you aware that the trunk installs and runs as Minefield?
Yes, 'Minefield' is the codename for the trunk which is meant to put of casual users from thinking it's an official release and supported software :) Since this is fixed on the trunk, I am marking this bug WORKSFORME. It will be fixed when Firefox 3 is released (my personal guess ~ nov 2007).
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Keywords: testcase
Resolution: --- → WORKSFORME
Whiteboard: CLOSEME 06/27
Version: 1.5.0.x Branch → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: