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 197631 - Long line cause all sorts of problems
Summary: Long line cause all sorts of problems
Status: RESOLVED DUPLICATE of bug 197370
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 20:23 UTC by sfmin
Modified: 2011-04-12 11:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Video - wmv format (482.75 KB, application/octet-stream)
2011-04-11 20:24 UTC, sfmin
Details
example file (1.17 KB, application/xhtml+xml)
2011-04-11 22:44 UTC, sfmin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sfmin 2011-04-11 20:23:05 UTC
I am able to reproduce this in NB70rc2.

Editing long lines with line wrap enabled ("after words") and scrolling with the cursor through the text creates all kind of strange effects. For example the cursor size increases 100 times, the line disappeards etc.

It is easy to reproduce this issue, but hard to describe in words. Hopefully the attached video is helpful.
Comment 1 sfmin 2011-04-11 20:24:00 UTC
Created attachment 107649 [details]
Video - wmv format
Comment 2 David Strupl 2011-04-11 20:45:13 UTC
Milo, can you have a look please?
Comment 3 David Strupl 2011-04-11 20:46:26 UTC
Also, can you please attach the file where this is happening? That would help a lot!
Comment 4 err 2011-04-11 20:56:31 UTC
I have also seen this on java and layer.xml files with wrap turned on. When the file is opened, things look ok. But when cursor up/down over the wrapping lines (like with arrow keys) things go crazy. It looks like there must be multiple wrapped lines in a row.

Both sfmin and I use jVi, but I tried it with jVi disabled (but still installed) and the problem is still there.
Comment 5 sfmin 2011-04-11 22:44:39 UTC
Created attachment 107654 [details]
example file
Comment 6 Miloslav Metelka 2011-04-12 07:43:44 UTC
Apologies, unfortunately fix of issue 197370 caused regression that I've fixed immediately once I found it:
"Additional fix: http://hg.netbeans.org/jet-main/rev/7851669f136b"
Integrated into release70: 7851669f136b transplanted to 6758885300c3
fix available in build *201104080400* on http://bits.netbeans.org/dev/nightly/

However RC2 was already built at that time so please either test the mentioned nightly build or wait for FCS build. Thanks.

*** This bug has been marked as a duplicate of bug 197370 ***
Comment 7 sfmin 2011-04-12 11:57:42 UTC
I tested NetBeans IDE Build 201104120401 and the problem is fixed.

Netbeans is a great IDE and free. Thank you for that as well!