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 73623 - Bad file explorer behaviour
Summary: Bad file explorer behaviour
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Petr Nejedly
URL: http://spinner.central.sun.com/organi...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 23:27 UTC by Kris Richards
Modified: 2008-12-22 19:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shots of scrambled explorer tree (82.12 KB, image/png)
2006-03-15 23:29 UTC, Kris Richards
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Richards 2006-03-15 23:27:36 UTC
While using Mac NB5.5 the file explorer will randomly update. This scrambles the
tree. Not a re-ordering, but text on top of text in a scrambled mess. Forcing a
repaint restores it, but it happens often.
Comment 1 Kris Richards 2006-03-15 23:29:36 UTC
Created attachment 29257 [details]
screen shots of scrambled explorer tree
Comment 2 Petr Nejedly 2006-03-16 15:26:16 UTC
It looks like either painting from other thread that AWT's or repaint w/o
previously clearing the background.
I have never seen it before.
Comment 3 Tomas Hurka 2006-03-16 17:17:07 UTC
I never saw that too. Please provide steps how to reproduce it. Which version of Mac OS X and JDK are you 
using?
Comment 4 Antonin Nebuzelsky 2006-03-27 11:33:00 UTC
Please, provide the information about the system and JDK versions. Marking as
INCOMPLETE now.
Comment 5 Kris Richards 2006-03-29 00:56:15 UTC
This happens all the time. I am amazed that you have not seen this before. Here
are some configs that I am using:

-bash-2.05b$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-111)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)

-bash-2.05b$ pwd
/Users/guest/NetBeans5.5Preview.app/Contents/Resources/NetBeans/etc
-bash-2.05b$ more netbeans.conf 
# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir="${HOME}/.netbeans/5.5preview"

# options used by netbeans launcher by default, can be overridden by explicit
# command line switches
netbeans_default_options="-J-Dpxe.default.asdomain=domain1
-J-Dapple.awt.graphics.UseQ
uartz=false -J-Dcom.sun.aas.installRoot=\"/Users/guest/SUNWappserver\"
-J-Xms512m -J-X
mx1024m -J-XX:PermSize=98m -J-XX:MaxPermSize=196m
-J-Dnetbeans.logger.console=false -J
-ea -J-Dapple.laf.useScreenMenuBar=true"

# default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch
netbeans_jdkhome="/Library/Java/Home"

Whenever the memory usage gets to about 400MB (out of initial 512), then
selecting or expanding node in the explorer cause that drawing problem. I see it
while debugging and/running the uml suite (mount the uml suite; clean and build;
set some breakpoints; debug)

When this drawing problem occurs, the editor panel also goes blank. Forcing a
repaint (like selectAll or minimize) will fix it temporarily. But once it
starts, it just keeps happening. Restarting the IDE on a regular basis is the
only method I have found to keep this drawing problem from occurring. 
Comment 6 Milos Kleint 2006-03-29 05:43:09 UTC
can you try without the apple.awt.graphics.UseQuartz=false property?
Comment 7 Petr Nejedly 2006-04-04 15:30:19 UTC
So you're seeing it in NB5.5?
Are you also using the UML features in the IDE, not only developing them?
(i.e. can the painting problem be correlated to usage of UML modules)?
Will the problem go away if you disable UML support?
Comment 8 Kris Richards 2006-04-04 17:34:28 UTC
I will work without property apple.awt.graphics.UseQuartz=false. Will post results in a couple days.

As for "working with 5.5 outside of UML", I am only developing, not using UML. I am working on the 
backend (implementing MDR) so no drawing is involved.

I have recently started with an Intel Mac (MacBook Pro). Will post any differences.
Comment 9 Petr Nejedly 2006-06-06 13:57:16 UTC
So what is the status? Did the flag help?
Comment 10 Petr Nejedly 2006-06-12 09:42:48 UTC
No feedback, the flag have probably helped. We can't do more about it I think.