Bug 109281 - Cursor blinking should respect NSTextInsertionPointBlinkPeriod
Summary: Cursor blinking should respect NSTextInsertionPointBlinkPeriod
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.8
: P4 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 03:38 PST by NN
Modified: 2013-02-11 18:24 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NN 2013-02-08 03:38:03 PST
To reproduce:

1. In terminal enter:
    defaults write -g NSTextInsertionPointBlinkPeriod -int 100000000
    defaults write -g CursorBlink -string 0
2. Re-login?, restart browser 
3. Open any webpage with input/textarea fileds and try to type some text
4. See if cursor is blinking after you stop typing

Cursor should stop blinking in text fields, but it doesn't.

Affects Safari, Chrome and webviews inside apps.
Comment 1 Alexey Proskuryakov 2013-02-11 18:24:24 PST
Yes, RenderTheme hardcodes the interval to 0.5.

>    defaults write -g NSTextInsertionPointBlinkPeriod -int 100000000

This is not a perfect way to disable blinking. The value is in milliseconds, and equals ~27 hours. So after this period, the cursor will disappear.

>    defaults write -g CursorBlink -string 0

This is a preference of Terminal.app that should have no effect on other applications.

For Apple employees, see also <rdar://problem/13196044>.