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 86850 - Repaint problems on MacOS with JDK 1.6
Summary: Repaint problems on MacOS with JDK 1.6
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P1 blocker with 2 votes (vote)
Assignee: Milos Kleint
URL: http://wiki.netbeans.org/UMLMacIssues
Keywords: RELNOTE
: 82610 86858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-10 12:55 UTC by Mikhail Kondratyev
Modified: 2009-12-15 13:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project Tree Refersh Issue (24.96 KB, application/octet-stream)
2007-03-15 18:33 UTC, Trey Spiva
Details
readding the previous picture as png rather than binary stream (24.96 KB, image/png)
2007-03-15 18:43 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2006-10-10 12:55:24 UTC
Tested with Netbeans build RC1
Steps to reproduce:
 - run Netbeans with jdk 1.6 specified
 - in the project tree, try to drag the Runtime tab to some other position
When dragging the tab, you will see black aquare area being dragged, after you
drop it somewhere there will be problems with Welcome screen repainting

You can reproduce the repaint problems with any other window and with oher
actions. Sometimes the IDE becomes unusable because of these problems.

Workaround: when running the IDE set -J-Dapple.awt.graphics.UseQuartz=true
or use java 1.5
Comment 1 mslama 2006-10-10 16:55:59 UTC
Passing to ide component. It looks like problem of Apple JDK. Still it would be
good to investigate it and file issue against Apple JDK. AKAIK latest available
build of Apple JDK 6.0 is dp6 ie. it is not released => there is chance they
could fix it for release.
Comment 2 Marian Mirilovic 2006-10-13 13:34:58 UTC
Milosi,
can you reproduce this ?
Comment 3 Milos Kleint 2006-10-13 13:46:20 UTC
I haven't been running with 1.6 at all so far. need to install it first. It
definitely looks like a bug with the apple's jdk.
Comment 4 mslama 2006-12-13 17:29:33 UTC
I will use this issue as root for all repaint problem with JDK 6 on Mac.
Comment 5 mslama 2006-12-13 17:30:32 UTC
*** Issue 82610 has been marked as a duplicate of this issue. ***
Comment 6 dlipin 2007-02-13 17:03:37 UTC
*** Issue 86858 has been marked as a duplicate of this issue. ***
Comment 7 Trey Spiva 2007-03-15 16:39:24 UTC
The scrolling the project tree also has some refresh issues when using JDK 1.6 on the Mac.  To reproduce 
the problem click in the project tree, and then using the scolling mechanisms (either the scroll wheel, or 
the two finger scrolling on the track pad).  
Comment 8 Trey Spiva 2007-03-15 18:30:41 UTC
This problem seems to be more general.  I also see the same problem on the navigator. 
Comment 9 Trey Spiva 2007-03-15 18:33:32 UTC
Created attachment 39551 [details]
Project Tree Refersh Issue
Comment 10 Milos Kleint 2007-03-15 18:40:54 UTC
I still cannot reproduce, possibly because with the USB mouse I have, the scroll
wheel doesn't work. 

Anyway, given the issue appears in many unrelated places, it's an Apple JDK
issue most probably. I would encourage the people who can reliably reproduce the
issue to file it in apple's issue tracking system. Given that Apple's system is
not public and only the reporter can add more details and answer questions, the
communication should be faster without a proxy inbetween (me). 
Comment 11 Milos Kleint 2007-03-15 18:43:12 UTC
Created attachment 39552 [details]
readding the previous picture as png rather than binary stream
Comment 12 Milos Kleint 2007-03-15 19:54:37 UTC
according to information provided on the apple's java mailing list, this is a
known issue in jdk 1.6. A suggested workaround is to set
-Dapple.awt.graphics.UseQuartz=true on the command line.

closing as wontfix then, not a netbeans problem.

BTW: I've been reminded that 1.6 developer preview is under NDA, so in the
future we should not discuss bugs that appear only in 1.6 in public
forums(issuezilla), but recommend the reporter to file a bug with Apple.

Should definitely not go into release notes as the current keyword suggests.
Comment 13 Trey Spiva 2007-03-15 20:08:31 UTC
The problem is that using this switch causes other problems in NetBeans.  The UML team tried to require 
this switch when using Mac JDK.  However, we where not able to because of other problems in other areas 
of NetBeans.  However since there is a general problem with out the flag maybe is is ok to require the flag 
now.
Comment 14 Milos Kleint 2007-03-15 20:29:53 UTC
what are the other areas encountered by switching to the other graphics? is it
documented in an issue or a document? can you add the link?

I would assume that only applies when running on JDK 1.6 (probably no reason to
do when running on 1.5). 
since 1.6 is not released yet, I'd rather wait a bit for them to fix the issue
than switching now especially when you mention there are other problems then.
Comment 15 Trey Spiva 2007-03-23 20:57:33 UTC
The issue are 73623, 83271, and 88271
Comment 16 Trey Spiva 2007-03-30 20:40:56 UTC
I am changing this to a P1, since it makes the IDE unsable.
Comment 17 Milos Kleint 2007-03-30 21:31:17 UTC
tspiva: not sure if you noticed but the issue is closed as WONTFIX. increasing
priority will not help. On top of that it's a confirmed issue in the Apple's
Developer preview. How are we supposed to fix that and why should we?
Comment 18 Trey Spiva 2007-03-30 21:37:38 UTC
Yes that is true, but this is only closed as wont fix because of a Mac issue.  This issue is still very serious, 
and should be tracked.  Because with out this issue being fixed by either NetBeans or Apple, the IDE is not 
usable on JDK 1.6