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 70554 - [50cat] Platform Manager window adds horizontal scrollbar when javadoc or src path is larger
Summary: [50cat] Platform Manager window adds horizontal scrollbar when javadoc or src...
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: UI
Depends on: 31641
Blocks:
  Show dependency tree
 
Reported: 2005-12-18 00:37 UTC by claudio4j
Modified: 2009-11-02 10:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
platform manager window (14.92 KB, image/png)
2005-12-18 00:37 UTC, claudio4j
Details
Screenshot (30.05 KB, image/png)
2005-12-19 00:25 UTC, Jesse Glick
Details
messages log for JDK 5_05 and JDK 6 (build 63) (3.10 KB, application/octet-stream)
2005-12-19 02:25 UTC, claudio4j
Details
test attachment (2.08 KB, image/png)
2005-12-20 16:12 UTC, jcatchpoole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description claudio4j 2005-12-18 00:37:05 UTC
[ BUILD # : 20051215 ]
[ JDK VERSION : 1.6 ]

At platform manager window, when sources and javadoc is added as a zip file, the dialog window content becomes larger than the window itself, so a horizontal scrollbar is added, see screenshot.
Comment 1 claudio4j 2005-12-18 00:37:54 UTC
Created attachment 27914 [details]
platform manager window
Comment 2 Jesse Glick 2005-12-19 00:23:28 UTC
I cannot reproduce. Linux also, JDK 6, 051214. See screenshot. There is an
internal scroll pane in the expected place.
Comment 3 Jesse Glick 2005-12-19 00:25:22 UTC
Created attachment 27923 [details]
Screenshot
Comment 4 Jesse Glick 2005-12-19 00:26:12 UTC
Probably need at least a log file or some other info. Reproducible in a clean
installation w/ a clean userdir?
Comment 5 claudio4j 2005-12-19 02:25:06 UTC
Created attachment 27924 [details]
messages log for JDK 5_05 and JDK 6 (build 63)
Comment 6 claudio4j 2005-12-19 02:25:44 UTC
Reproducible with clean user dir with JDK 5_05 and JDK 6 (build 63). See the
logs attached.
Comment 7 Jesse Glick 2005-12-19 02:39:51 UTC
You're using a release50 build of some kind, not a dev build.

Petr can you reproduce this somehow?
Comment 8 claudio4j 2005-12-19 02:49:22 UTC
about the build, I got it from downloads page: 

Development Builds of Upcoming IDE Releases
Release Version: 5.0
Build type: daily
Operating System: Linux

and choose this: 15 December, 20:30  	200512152030  	NetBeans IDE 5.0 daily
build 200512152030 
Comment 9 Martin Krauskopf 2005-12-19 09:47:19 UTC
I cannot reproduce neither under Linux nor under Windows. Tried with latest
fresh build and also with the mentioned downloaded build.
Comment 10 claudio4j 2005-12-19 17:22:00 UTC
Reproducible under another machine, with similar configuration:
JDK 6 build 63
Netbeans 20051218
Mandriva linux + KDE 3.4
Substance lookand feel
profiler M11 installed

See screenshot
Comment 11 jcatchpoole 2005-12-20 16:12:10 UTC
Claudius reports problems attaching pngs here (see issue 70636) - pls excuse my
test attachment.
Comment 12 jcatchpoole 2005-12-20 16:12:40 UTC
Created attachment 27984 [details]
test attachment
Comment 13 pzajac 2006-01-02 13:39:29 UTC
Strange. I also cannot reproduce.
I tried 200501012030 build. Jdk 1.6.0b63 and KDE (kubuntu 5.10). 

Comment 14 Jesse Glick 2006-01-02 20:48:45 UTC
Sorry, no one can reproduce. If you still can, perhaps you can track down the
problem in sources.

I also do not see anything wrong in sources. NbPlatformCustomizer.showCustomizer
makes an NbPC (a JPanel with no top-level scroll panes) and shows it using
DialogDisplayer. The internal panels have JScrollPane's in the correct place, as
shown in my screenshot.

Maybe you have an obsolete copy of org-openide-dialogs.jar, from a time when it
tried to wrap its innerPane in a JScrollPane? Just a guess.
Comment 15 Jesse Glick 2006-02-24 17:57:28 UTC
Happened to me on a SunRay recently.

Can now reproduce on my laptop by running with -fontsize 18 inside a 1024x768
VNC window.
Comment 16 Jesse Glick 2006-02-24 18:31:58 UTC
Seems to be caused by the fix of issue #31641 in NbPresenter. It wraps the
dialog body in a scrollpane when it thinks it will not fit on screen acc. to
preferredSize. In fact this dialog would have fit just fine without the master
scrollpane, because it includes its own interior scrollpanes where needed.
Comment 17 Jesse Glick 2006-02-24 18:34:19 UTC
Probably we could work around in NbPlatformCustomizer by setting a smaller
preferredSize. But I don't particularly want to hardcode it; the larger your
screen, the larger we would prefer the dialog to be.
Comment 18 Jiri Rechtacek 2008-11-21 15:37:49 UTC
Not in current plans.
Comment 19 Quality Engineering 2009-11-02 10:59:46 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX