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 210460 - [72cat] The first opening of Favorites view is always gray
Summary: [72cat] The first opening of Favorites view is always gray
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Favorites (show other bugs)
Version: 7.2
Hardware: PC Linux
: P4 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 17:56 UTC by Michel Graciano
Modified: 2012-04-02 12:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log for when it goes wrong (44.36 KB, application/octet-stream)
2012-03-30 18:21 UTC, Michel Graciano
Details
Log for when it goes well (44.35 KB, text/x-log)
2012-03-30 18:22 UTC, Michel Graciano
Details
Screenshot. (94.81 KB, image/png)
2012-03-30 18:23 UTC, Michel Graciano
Details
Log for when it goes well, but slowly (44.54 KB, text/x-log)
2012-03-30 18:30 UTC, Michel Graciano
Details
Gray window (18.99 KB, application/octet-stream)
2012-03-30 20:08 UTC, Michel Graciano
Details
Sampler 2 (25.49 KB, application/octet-stream)
2012-03-30 20:09 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-03-30 17:56:17 UTC
[ BUILD # : 9f88e9d9c55d ]
[ JDK VERSION : 1.7.3 ]

Every first time I open the favorites view after reboot the IDE it is gray and
the nodes are not shown. I need to minimize and reopen it again. I have not
tested it opening it directly, always i tested it, it was already minimized at
the IDE startup.
Comment 1 Ondrej Vrabec 2012-03-30 18:02:41 UTC
Could you make a screenshot and attach the messages.log?
Comment 2 Michel Graciano 2012-03-30 18:21:33 UTC
Created attachment 117577 [details]
Log for when it goes wrong
Comment 3 Michel Graciano 2012-03-30 18:22:46 UTC
Created attachment 117578 [details]
Log for when it goes well

Well, I have to say that it now 'always' as it was at 7.1. Now, at 7.2, it happen most of the time, not always.
Comment 4 Michel Graciano 2012-03-30 18:23:11 UTC
Created attachment 117579 [details]
Screenshot.
Comment 5 Michel Graciano 2012-03-30 18:24:25 UTC
As you can see, I was able to reproduce it if a clean install, without any extra plugin, without importing settings from previous version as well, without opening any project.
Comment 6 Michel Graciano 2012-03-30 18:25:06 UTC
I think it is not exactly a P3, maybe a P4? Feel free to adjust it if you need.
Comment 7 Michel Graciano 2012-03-30 18:30:25 UTC
Created attachment 117580 [details]
Log for when it goes well, but slowly

Now that I was trying to reproduce it more consistently, I have seen a third behaviour. It has happened just once, but after some seconds, probably between 5 and 10 seconds, the nodes were shown correctly (before that, the view was as the screenshot attached).
Comment 8 Ondrej Vrabec 2012-03-30 20:00:31 UTC
> Now that I was trying to reproduce it more consistently, I have seen a third
> behaviour. It has happened just once, but after some seconds, probably between
> 5 and 10 seconds, the nodes were shown correctly (before that, the view was as
> the screenshot attached).
One more thing, could you make a profiler snapshot when the Favorites window is blank? I mean start the IDE, open the view and if it's blank, click on the button (http://wiki.netbeans.org/FitnessViaPartnership) and when the nodes appear, stop the profiler and attach the snapshot. There may be some work in the background (maybe occupied hard drive)
Comment 9 Michel Graciano 2012-03-30 20:03:10 UTC
(In reply to comment #8)
> > Now that I was trying to reproduce it more consistently, I have seen a third
> > behaviour. It has happened just once, but after some seconds, probably between
> > 5 and 10 seconds, the nodes were shown correctly (before that, the view was as
> > the screenshot attached).
> One more thing, could you make a profiler snapshot when the Favorites window is
> blank? I mean start the IDE, open the view and if it's blank, click on the
> button (http://wiki.netbeans.org/FitnessViaPartnership) and when the nodes
> appear, stop the profiler and attach the snapshot. There may be some work in
> the background (maybe occupied hard drive)

As I said, it has happened just once. The usual use case is it be empty, so I have do minimize and reopen it. I will do this as soon as I can reboot the IDE.
Comment 10 Michel Graciano 2012-03-30 20:08:02 UTC
Created attachment 117583 [details]
Gray window

This sampler is when the Favorites is gray. I waited a couple of seconds but the view wasn't updated.
Comment 11 Michel Graciano 2012-03-30 20:09:11 UTC
Created attachment 117584 [details]
Sampler 2

In this sampler, I opened and it was gray, so I waited more than 10 seconds, nothing happend. So I minimized the view and reopened it, and it was populated.
Comment 12 Michel Graciano 2012-03-30 20:12:05 UTC
The steps to reproduce to be really clear:
1. Open the IDE (with the Favorites view already minimized);
2. Hit Ctrl + 3;

The view is opened like the screenshot most of the time, it is like 9 times in
10 for 7.2. At 7.1 it is 100% reproducible for me.
Comment 13 Ondrej Vrabec 2012-04-02 09:11:50 UTC
i am sorry, i cannot reproduce. I tried many times, always the view got populated after a second or two - i guess when the disk responded and all nodes in Favorites (just one in my case) was loaded.
Comment 14 Michel Graciano 2012-04-02 12:23:27 UTC
(In reply to comment #13)
> i am sorry, i cannot reproduce. I tried many times, always the view got
> populated after a second or two - i guess when the disk responded and all nodes
> in Favorites (just one in my case) was loaded.

Don't worry about that. It is not exactly a annoying issue, but it is worth to track it and when possible fix it. I will try to investigate it more and maybe create a patch. Lets see what I can do. Just to be clear, I can reproduce it at my both workstation, Windows 7 and Linux Mint 12.