This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124211 - Cursor blink rate too fast
Summary: Cursor blink rate too fast
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@editor
Depends on:
Reported: 2007-12-18 17:46 UTC by matthies
Modified: 2008-05-02 09:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2007-12-18 17:46:53 UTC
The cursor blink rate in the editor is quite fast, much too hectic for my tastes. It is almost twice as fast as the 
cursor blink rate in text boxes in dialogs and such (e.g. "New Name" field in "Rename" dialog, or when pressing F2 on a 
file in the Files view). Under Windows, neither of those two blink rates is taken from the system settings (Control 
Panel -> Keyboard -> Speed -> Cursor blink rate), which I think NetBeans ought to do if feasable from Java.

I found no way to adjust either of theses blink rates in the NetBeans options. I think the editor's cursor blink rate 
used to be adjustable in the advanced expert options under NetBeans 5.x, but it seems to be gone. I also couldn't find 
anything on this topic in the online help.
Comment 1 Vitezslav Stejskal 2007-12-19 11:14:40 UTC
Well, yes there used to be an option for adjusting the cursor blinking rate, but since virtually nobody was using it we
removed it as part of the ongoing effort for removing the advanced options altogether. You are right that the editor
cursor blinking is faster than eg in the rename dialog. IIRC the rate is 300ms, but that's just a number and we can
surely slow it down.
Comment 2 matthies 2007-12-19 15:31:22 UTC
I do wonder how you're able measure how many people are using a feature.
Googling around shows there are a couple of other people who like to adjust the cursor blink rate in NetBeans.
But as I said, the best would be to use the system default where available, that's what it's for.
Meanwhile, I found a workaround by inserting

    <property class="java.lang.Integer" name="caret-blink-rate" value="[my preferred blink rate]"/>

in the properties.xml files of all mime types, but that's not exactly pretty.
Comment 3 Michel Graciano 2007-12-19 16:48:55 UTC
For a plugin, see
BTW, I think we need a way to have several another properties as a easy way, for example, the property and so
on, which was removed too from Advanced Option.
IMHO, Advanced Options don't need to be removed, or we will need a Advanced tab for Miscellaneous category soon, to make
this kind of property available.

Comment 4 Vitezslav Stejskal 2008-02-20 15:17:13 UTC
Using the Swing's default blink rate unless specified otherwise.

changeset aa54972b8bdd in main
Comment 5 matthies 2008-03-10 17:46:35 UTC
Verified in 6.1 Beta (Build 200803050202).