Open Bug 399437 Opened 18 years ago Updated 3 years ago

when inputfield receives focus and focus event triggers alert, caret is not displayed

Categories

(Core :: DOM: Selection, defect)

1.8 Branch
x86
Windows
defect

Tracking

()

People

(Reporter: mlr, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 When I use the attachec HTML file, I click in the first field, then tab or click the second one an alert is displayed. When I click OK on the alert there is not caret, but when I start typing data is entered in the input field. Reproducible: Always Steps to Reproduce: 1. open html file 2. click on first field 3. tab to next field (or click) 4. click OK on alert 5. start typing -> second field will be changed but no caret visible Actual Results: The second field had the keyboard focus as expected, but no caret visisble Expected Results: Second field should have focus, caret should be visible and the text should be selected Note that when I code the onfocus event in the element instead of the addEventListener the problem does not occur.
Attached file html code to reproduce
This html document show the problem
I can reproduce this bug. Looks bad for bug 259059.
Blocks: 259059
Status: UNCONFIRMED → NEW
Component: General → Selection
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → selection
Version: unspecified → Trunk
Still REPRODUCIBLE with unzipped installer of official en-US SeaMonkey 2.52a1 (NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0 Build 20170311002651 (Default Classic Theme) on German WIN7 64bit
Has STR: --- → yes
OS: Windows XP → Windows
Version: Trunk → 1.8 Branch

Please notice that bug 1645546 seems to be a superset of this bug. For me, it only happens with BidiUI enabled.

I find that, for years now, on Windows 10 and I think on Linux as well, sometimes the caret disappears while composing an email in Thunderbird. I think the trigger might be the insertion of an image. At any rate it is a serious problem. For it makes typing hard and the defect is pretty gross.

Hi,
I am able to reproduce the issue in Release 93, Beta 94.0b1 and latest Nightly 95.0a1 (2021-10-05) using Win10.

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: major → --

REPRODUCIBLE with reporter's sample document and

  • installation of unofficial (by wg9s) De SeaMonkey 2.53.14 beta 1 pre Mozilla/5.0 (NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 Build 20220801210005 (Same with normal user Profile and newly created User Profile Default Classic Theme) on German WIN10 64bit
  • FF 108.0a1 (2022-10-31) (64-Bit)

Another visible effect of the issue: In step (5) no bold frame around right field appears when typing.

Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: