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.
If I have line numbers enabled and open an editor, it is first time painted without line numbers and then immediatelly repainted with the line numbers, the gutter area gets larger so the code view is shifted. It unwantedly filckers and slows down editor opening.
Petr, do you think this is really P2 defect? It flickers a bit, but it is hardly noticeable (at least for me). Moreover, line numbers are off by default, and it does not hurt responsiveness (the editor opens in the same time, the additional paint is just a bit ugly).
It is quite noticeable for me and adds to the sluggish feel of NB. I thought it is some stupid simple thing, but if not, it doesn't break anything to leave the problem there.
Unfortunatelly it is not "one line fix" problem and there would be a potential risk to integrate this to the release35. I am currently testing the prepared fix. For now, setting target milestone to 4.0.
So how does it look now?
fixed in [maintrunk] /cvs/editor/libsrc/org/netbeans/editor/EditorUI.java,v <-- EditorUI.java new revision: 1.45; previous revision: 1.44 /cvs/editor/libsrc/org/netbeans/editor/GlyphGutter.java,v <-- GlyphGutter.java new revision: 1.25; previous revision: 1.24
fixed in [prj40_prototype] /cvs/editor/libsrc/org/netbeans/editor/EditorUI.java,v <-- EditorUI.java new revision: 1.44.10.1; previous revision: 1.44 /cvs/editor/libsrc/org/netbeans/editor/GlyphGutter.java,v <-- GlyphGutter.java new revision: 1.20.10.3; previous revision: 1.20.10.2
Verified