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 201135 - Cursor not appearing correctly in edit window
Summary: Cursor not appearing correctly in edit window
Status: RESOLVED DUPLICATE of bug 197534
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0.1
Hardware: Other Linux
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 17:12 UTC by mclaborn
Modified: 2011-09-20 13:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Here is the screen shot demonstrating the problem. (5.45 KB, image/png)
2011-08-19 17:12 UTC, mclaborn
Details
Here is a screen cam showing the problem (575.96 KB, video/mp4)
2011-08-20 18:14 UTC, mclaborn
Details
messages.log (203.40 KB, application/x-gzip)
2011-09-14 13:00 UTC, mclaborn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mclaborn 2011-08-19 17:12:04 UTC
See attached screen shot. This has only started happening since I upgraded to 7.01.  Even though there appears to be a space between the previous word and the cursor, the cursor is actually immediately after the word.  If I start typing here, the newly typed letters appear immediately after the word, with no spaces.  This seems to happen most in auto-complete situations. 

This happens frequently and really slows down my development because I am constantly moving the cursor only to find that it was really already where I needed it.
Comment 1 mclaborn 2011-08-19 17:12:57 UTC
Created attachment 110115 [details]
Here is the screen shot demonstrating the problem.

I could also take a screen cam if that would help.
Comment 2 mclaborn 2011-08-20 18:14:24 UTC
Created attachment 110119 [details]
Here is a screen cam showing the problem

This is really annoying.
Comment 3 mclaborn 2011-08-26 15:04:40 UTC
This is a serious problem for me.  I am spending a lot of time backtracking to fix typing errors because the cursor does not appear correctly.
Comment 4 Miloslav Metelka 2011-09-14 05:27:03 UTC
Could you attach your messages.log to this issue? Thanks.
Comment 5 mclaborn 2011-09-14 13:00:40 UTC
Created attachment 110750 [details]
messages.log

Here is a log taken during a time when the problem manifested.  The log was at line 29221 right before I did the typing that demonstrated the problem.
Comment 6 Miloslav Metelka 2011-09-20 12:24:25 UTC
Thanks for the info.
I've tested in recent Dev builds using Times New Roman 18 which has an italic version narrower than the plain version. The caret correctly followed end of text when typing.
Of course I can't eliminate the fact that for many fonts the italic versions are typically narrower than the plain versions - you would have to change the font in settings to some that has same widths for both italic and plain or avoid to use italic/bold versions.
Fixed either by 197534 or an earlier fix.
Please test in Dev build from http://bits.netbeans.org/download/trunk/nightly/latest/ and if it would not work for you please reopen the issue.

*** This bug has been marked as a duplicate of bug 197534 ***
Comment 7 mclaborn 2011-09-20 13:27:35 UTC
The dev build you mentioned appears to have corrected the problem. Thank you.