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.
Summary: | Patch for: Editor horizontal scrollbar doesn't go away when enabling line wrap | ||
---|---|---|---|
Product: | editor | Reporter: | emi <emi> |
Component: | Painting & Printing | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | markiewb, mmirilovic |
Priority: | P3 | Keywords: | PATCH_AVAILABLE |
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Redundant horizontal scrollbar on file with line wrap
Resetting view children to fix the scrollbar |
Created attachment 124479 [details]
Resetting view children to fix the scrollbar
See a patch that fixes the problem on 7.2 (not the current branch).
The problem might be deeper though... please review.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |
Created attachment 124378 [details] Redundant horizontal scrollbar on file with line wrap 1. Make sure line wrap is off. Create a new text file 2. Type/paste a line long enough to see a horizontal scrollbar show up. 3. Go to options, Editor | Formatting and enable line wrap (set it to anywhere). 4. Notice how the text file has line wrap but also has the old horizontal scrollbar. The horizontal scrollbar shouldn't be visible at all. Note: If line wrap is enabled from the start and you type/paste that long line, the scrollbar doesn't show up, as expected. So the problem is with the view refresh after line wrap gets enabled.