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 26917 - Editor is repainted during opening
Summary: Editor is repainted during opening
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: -S1S-
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 26581
  Show dependency tree
 
Reported: 2002-08-30 10:52 UTC by Petr Nejedly
Modified: 2007-11-05 13:44 UTC (History)
2 users (show)

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 Petr Nejedly 2002-08-30 10:52:35 UTC
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.
Comment 1 Tomas Pavek 2003-02-26 18:00:03 UTC
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).
Comment 2 Petr Nejedly 2003-03-03 15:36:39 UTC
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.
Comment 3 Martin Roskanin 2003-03-03 16:08:03 UTC
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.
Comment 4 Petr Nejedly 2003-07-09 13:10:15 UTC
So how does it look now?
Comment 5 Martin Roskanin 2003-07-30 16:15:35 UTC
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
Comment 6 Martin Roskanin 2003-08-05 09:13:40 UTC
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
Comment 7 Petr Nejedly 2003-08-05 14:28:46 UTC
Verified