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 101877 - Drop-down combo box file selector paints incorrectly
Summary: Drop-down combo box file selector paints incorrectly
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords: L&F
: 102503 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-20 00:34 UTC by tfrysinger
Modified: 2010-09-14 13:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows paint bug (20.75 KB, application/octet-stream)
2007-04-20 00:37 UTC, tfrysinger
Details
Images showing reproducing the bug (197.44 KB, application/pdf)
2007-05-23 16:37 UTC, tfrysinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tfrysinger 2007-04-20 00:34:59 UTC
The combo-box that appears on the far right of the tabset in the editor
occasionally paints completely "white" after the combo box is opened and the
mouse cursor starts to move across the elements.
Comment 1 tfrysinger 2007-04-20 00:37:57 UTC
Created attachment 41299 [details]
Shows paint bug
Comment 2 Peter Pis 2007-04-22 18:00:25 UTC
Reassigning to "core" for evaluation.
Comment 3 Marian Mirilovic 2007-04-22 21:32:55 UTC
tfrysinger, 
what is the version/build number of NB & JDK ?

Jara & Milos, have you seen this ?
Comment 4 Jaromir Uhrik 2007-04-25 13:50:36 UTC
I have never seen it because I do not use this drop down menu.
Comment 5 Milos Kleint 2007-05-02 08:43:06 UTC
never seen it either. is it 100% reproducible? what is your jdk version? can you
attach your netbeans.app/Resources/Netbeans/etc/netbeans.conf file and the
~/.netbeans/5.5/var/log/messages.log?

Comment 6 tfrysinger 2007-05-02 15:34:15 UTC
I am running on the latest JDK 5.0 from Apple, running on OSX with latest
updates on a Mac Book Pro.

This reproduces fairly regularly for me - I can't give exact steps though. I do
see it every day. Anecdotally I believe it is something having to do with a
condition after something in the editor has caused a parse error. Could be a
class that doesn't have an import for example.

I only say this, because I generally have a fair number of classes open (10-20),
and when I see this it is because I have been working in one class, maybe doing
some refactoring or something, and I want to quickly move to the base class or
something like that.
Comment 7 tfrysinger 2007-05-23 16:23:53 UTC
I can reproduce this issue as follows:

1. Start IDE with several projects defined.

2. The last used project comes up, with several source code windows open. (see
attachment fig. 1)

3. Activate the pull-down menu. All is well.

4. Open the project tree for the current project node. (see attachment fig. 2).
Activate the pull-down menu. All is well.

5. Select a node within the current project under the project node (see
attachment fig. 3). Activate the pull-down menu. All is well.

6. Open the project tree for a different project node and select a node
underneath it (see attachment fig 3.). Activate the pull-down menu. The problem
appears. 

When the problem appears, the pull-down is completely whited out except for the
bottom and right borders (which are a black line and do not get overwritten).
This makes me wonder if it really is a renderer problem like I originally
thought it was - i.e. the renderer colors getting mixed up.

Note that this happens also with NB 6.0 M9 (but in even more places)
Comment 8 tfrysinger 2007-05-23 16:37:18 UTC
Created attachment 42702 [details]
Images showing reproducing the bug
Comment 9 tfrysinger 2007-06-19 20:20:40 UTC
Some more information:

Even in a large project where this manifests itself, I can ensure correct behavior if I start up NetBeans with only the
Welcome panel open, close that panel, open the tree with the large number of nodes in it to get to the right package,
then start opening files. It seems that if the files are already open ahead of expanding the tree is when this problem
manifests itself.
Comment 10 Torbjorn Norbye 2007-06-27 18:41:34 UTC
Just to be clear; you're talking about the "Open Documents" dropdown?

I haven't seen this, but then I never ever use that dropdown; I rely on Control-Tab to bring up the document list (hold the control key, tap tab) instead which 
is easier from the keyboard.

We've worked aound some Mac bugs in the past by forcing use of heavyweight components (such as in the completion popup) and peers. Perhaps we could 
do something like that if Utilities.isMac() ?
Comment 11 tfrysinger 2007-06-27 19:57:28 UTC
Yes I believe so - it is the one I highlighted in my attachments.

Well - I just tried your control-tab suggestion but of course under OSX there is another problem. While the list does
come up correctly painted (an improvement over the dropdown), you can't scroll anything - as soon as you let up from the
control button it selects whatever happened to be currently selected and then just goes away.

This is similar to a bug that is currently in NetBeans 6 under OSX where the popup for code completion that comes up
after ctrl-space won't let you scroll or choose anything either.


T
Comment 12 tfrysinger 2007-08-23 14:32:00 UTC
There hasn't been any activity on this in a couple months. Is it being dropped?
Comment 13 Milos Kleint 2007-10-04 08:19:57 UTC
-> future
Comment 14 Milos Kleint 2008-03-13 14:39:47 UTC
guys, you already have a mac and i'm out of winsys for a while, reassigning
Comment 15 David Simonek 2008-03-14 10:57:22 UTC
*** Issue 102503 has been marked as a duplicate of this issue. ***
Comment 16 David Simonek 2008-11-21 13:52:40 UTC
We still don't know how to reproduce, it doesn't happen for me, therefore it's almost impossible to find the bug and fix it.
Comment 17 Stanislav Aubrecht 2010-09-14 13:10:41 UTC
can't reproduce, closing