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 189831 - Window resizing is causing cursor movement to incorrect position.
Summary: Window resizing is causing cursor movement to incorrect position.
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 11:22 UTC by Peter Pis
Modified: 2010-11-11 06:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2010-08-25 11:22:55 UTC
Product Version: NetBeans IDE Dev (Build 100825-37eaa2ae32f7)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279
System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/peter/.netbeans/dev

Steps:
1. Invoke "Tools | Options" and set "Editor | Formatting | Line Wrap" to "After Words".
2. Open java file and create new method.
3. In this method type e.g. "super.|"
4. Now change the editor window size to the narrowest, then make it wider. Cursor is moved to incorrect position.
Comment 1 Miloslav Metelka 2010-08-26 14:39:04 UTC
Reproduced. The caret must be notified about the views change so that it can recompute its visual position.
Comment 2 Miloslav Metelka 2010-11-10 14:52:58 UTC
http://hg.netbeans.org/jet-main/rev/1cafe644f555
Comment 3 Quality Engineering 2010-11-11 06:11:12 UTC
Integrated into 'main-golden', will be available in build *201011110000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1cafe644f555
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #189831 - Window resizing is causing cursor movement to incorrect position.