Closed Bug 265061 Opened 20 years ago Closed 2 years ago

Switching input languages should skip caret blinks and display the new caret immediately

Categories

(Core :: Layout: Text and Fonts, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzillamozilla, Unassigned)

References

(Blocks 2 open bugs, )

Details

When switching languages between Hebrew and English, the caret disappears for a
relatively long time, sometimes close to a second (on a P4-2.8GHz machine).

Mozilla should follow Windows in this regard and display the caret *immediately*
after a language switch - regardless of the current blinking state.

To reproduce:
1. Open http://oren.gomen.org/mozilla/blank_textareas.html or any other page
with textareas.
2. Press Alt+Shift to switch input language a few times.

Actual result: Caret blinking gets much slower than usual. Moreover, it commonly
disappears (temporarily) right after the switch.

Expected result: The caret should display immediately after the switch. Compare
with native Windows text widgets (e.g. Notepad, IE, Start -> Run)

Prog.
Blocks: BidiCaret
Blocks: 194343
=> All/All
OS: Windows XP → All
Hardware: PC → All
Maybe this is fixed now with the patch for bug 287813.
Reporter could you perhaps retest with 2006-04-18 trunk build or later to see whether this bug still exists?
No, it's not fixed. The bug is still there. Tested under:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060419 Firefox/3.0a1

Actually, I now see a new bug. If I switch language while a BidI caret is displayed, its BiDi marker is left on the screen as a stray pixel. Is this bug reported already?

Prog.
(In reply to comment #3)
> Actually, I now see a new bug. If I switch language while a BidI caret is
> displayed, its BiDi marker is left on the screen as a stray pixel. Is this bug
> reported already?
Not that I know, please file a new bug on this. Could you find the regression rang e for that?

I'm going to take a look.  ASSIGN it to myself.
Assignee: mozilla → behnam
QA Contact: zach → smontagu
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: smontagu → layout.fonts-and-text
Four years since this bug first reported, I'm still able to reproduce using Firefox 3.1b1.

The bug assignee didn't login in Bugzilla in the last 7 months.
:jfkthame, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: mozilla → nobody
Flags: needinfo?(jfkthame)

This is not recreatable anymore

I changed bidi.browser.ui to true and then loaded the testcase.

Doing quick switches using Ctrl+Shift+X, the cursor is always consistent.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jfkthame)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.