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 262213 - More carets visible for a while if holding <ENTER>
Summary: More carets visible for a while if holding <ENTER>
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-25 07:38 UTC by Tomas Mysik
Modified: 2016-06-07 09:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (10.23 KB, image/png)
2016-05-25 07:38 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2016-05-25 07:38:20 UTC
Created attachment 159868 [details]
screenshot

Steps:
- open PHP file (perhaps any other file type?)
- hold <ENTER> for a while (or press it fast e.g. five times in a row)

-> result: caret is visible at the beginning of every line for a while

Thanks.

Product Version: NetBeans IDE Dev (Build 20160525-db11206858f0)
Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14
System: Linux version 4.4.0-22-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Tomas Mysik 2016-05-25 07:39:00 UTC
Just to be sure - I am not using the new multicaret feature :)

Thanks.
Comment 2 Miloslav Metelka 2016-05-25 08:41:58 UTC
I cannot reproduce the problem on my Ubuntu 15.04 but we should be able to chase the problem with using the logging in EditorCaret. It looks like some repaint grouping but I'll add some more logging first to better diagnose the repaints.
Comment 3 Miloslav Metelka 2016-06-06 13:47:50 UTC
I have added some more detailed logging and it showed up that there was a missing repaint in case the dot was not set to blink (it should be derived from system setting) so I've fixed that. Please check the problem after the fix and if it's still broken please reopen the issue. Thanks.
http://hg.netbeans.org/jet-main/rev/59acc2f87626
Comment 4 Tomas Mysik 2016-06-07 09:25:10 UTC
Verified, thank you.

Product Version: NetBeans IDE Dev (Build 20160607-7bea43704248)
Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14
System: Linux version 4.4.0-22-generic running on amd64; UTF-8; cs_CZ (nb)