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 68006 - Add friend dialog has strange flashing/resizing
Summary: Add friend dialog has strange flashing/resizing
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-11-02 22:23 UTC by Rochelle Raccah
Modified: 2006-02-02 00:02 UTC (History)
0 users

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 Rochelle Raccah 2005-11-02 22:23:22 UTC
(Solaris 9, gnome)

The first time in an ide session when the add friend dialog is brought up, there
is red text in it (I think it says to please enter a valid package or
something).    Every time the dialog is brought up, there appears to be some
strange redraw/sizing -- I think it is coming up the default width for an empty
drop down, then populating it, then resizing the width to the populated drop
down width.
Comment 1 Martin Krauskopf 2005-11-15 16:57:02 UTC
> I think it is coming up the default width for an empty drop down, then
> populating it, then resizing the width to the populated drop down
> width.

Seems you read the code ;). Dialog is resized after it computes all possible
friend (it doesn't know them in advance). I'll try to polished it.
Comment 2 Martin Krauskopf 2005-11-16 16:09:13 UTC
Should be better.

Checking in ui/customizer/AddFriendPanel.java; 1.2 -> 1.3;
Checking in ui/customizer/CustomizerVersioning.java; 1.30 -> 1.31;
Comment 3 Rochelle Raccah 2005-11-18 19:10:41 UTC
Red text is gone.  Flashing is better. Resizing is still there.
Comment 4 Tomas Danek 2005-11-21 15:34:03 UTC
so suppose REOPENED..
Comment 5 Martin Krauskopf 2005-11-21 16:19:32 UTC
Tuned up a little. Now the dialog is resized only for the first time (we can't
predict). Than it remembers its size and resizes only when it needs so (e.g
longer CNB were added to the target platform).

Checking in ui/customizer/CustomizerVersioning.java; 1.34 -> 1.35;
Comment 6 Tomas Danek 2005-11-22 14:49:52 UTC
i've investigated this a bit on sol9 Gnome, and seems to working correctly now,
with current sources. Verified.
Comment 7 Rochelle Raccah 2005-12-21 00:23:54 UTC
In 12/18 qbuild:
resizing is fixed
red text is showing again
Comment 8 Martin Krauskopf 2005-12-21 10:46:11 UTC
Do you mean that there is a "red text" during combobox is loading (i.e. contains
"Please wait...")? If not I don't know what is wrong...
Comment 9 Rochelle Raccah 2005-12-21 19:41:16 UTC
No, it's the red text I mentioned in the original bug description - about a
valid package name.  I think you only see it if this is the first time you open
this dialog in this IDE session.
Comment 10 Martin Krauskopf 2005-12-21 21:26:39 UTC
It says you the reason why the button is disabled - actaully because "Please
wait..." is invalid code name base :) (note that combo is editable)
Ok, I'll polish it in the way that nothing appears during combo loading.
Comment 11 Martin Krauskopf 2005-12-21 21:39:31 UTC
Polished.

Checking in AddFriendPanel.java; 1.4 -> 1.5
Comment 12 Rochelle Raccah 2006-02-02 00:02:08 UTC
Looks good, thanks!