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 213970 - Repaint problem when installation finishes
Summary: Repaint problem when installation finishes
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 7.1.2
Hardware: PC Linux
: P4 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 12:57 UTC by Jiri Kovalsky
Modified: 2014-04-09 16:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of not refreshed installer wizard after deiconification from system task bar. (43.20 KB, image/png)
2012-06-11 12:57 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2012-06-11 12:57:30 UTC
Created attachment 120665 [details]
Screenshot of not refreshed installer wizard after deiconification from system task bar.

Linux Mint 12, NetBeans IDE 7.1.2 & JDK 6 Update 33 bundle

Description:
============
When user starts installation of NetBeans IDE 7.1.2 & JDK 6 Update 33 bundle everything looks fine. Progress bar instantly updates but since it takes some time user minimizes the installation wizard to system task bar. When installation completes while in the task bar, wizard will look exactly the same if user restores it from the task bar. See attached screenshot showing UI of the installer after mouse hovering over the window.

Steps to reproduce:
===================
1. Start installation of NetBeans IDE 7.1.2 & JDK 6 Update 33 bundle.
2. When progress bar starts to move and show how much is completed, minimize the installation wizard.
3. Wait long enough to be sure that installation already completed and restore the installation wizard from system task bar.
4. The wizard will not show "Finish" button correctly, "Contribute to the..." checkbox will be missing and progress bar will look frozen.
Comment 1 Ondrej Vrabec 2012-06-11 13:56:13 UTC
I cannot reproduce on OpenSUSE 12.1 (KDE)
Does it repaint if you e.g. move the window on the screen? And if you click into the area where the "Finish" button usually is, does the installer end?
Comment 2 Jiri Kovalsky 2012-06-11 15:43:25 UTC
I use Gnome 3. Moving the window on the screen does not repaint it but pressing the Finish button closes the installer.
Comment 3 Ondrej Vrabec 2012-06-11 16:07:24 UTC
Are you on 32bit or 64bit linux? I have no idea why, but when i run installer in 64bit platform on 32bit jvm, the ui is really ugly. So i would wait how it looks with 64bit bundles. Preview can be found here: http://nbinstaller.cz.oracle.com:8080/job/Bundles-64-Branch/lastSuccessfulBuild/artifact/dist/bundles/jdk/
Comment 4 Jiri Kovalsky 2012-06-12 08:36:27 UTC
Yes, I am on 64b OS. I tried the 64b bundle installer and it is the same, sorry.
Comment 5 Ondrej Vrabec 2012-06-12 09:04:19 UTC
I tried also on Ubuntu 12.04 (i think it runs on Gnome 3). When the installation finished and i maximized the installer, all was fine.
Comment 6 Jiri Kovalsky 2012-06-12 12:19:56 UTC
Would some debugging info help find the cause? If you patch the installer to provide some verbose installation mode I can give it another try. Or come to see it for yourself. :)
Comment 7 everflux 2014-04-09 14:05:30 UTC
Please have a look at my comment in https://netbeans.org/bugzilla/show_bug.cgi?id=230959

You can try to fix the problem using

-J-Dsun.java2d.opengl=true
Comment 8 Libor Fischmeistr 2014-04-09 16:58:41 UTC
(In reply to everflux from comment #7)
> Please have a look at my comment in
> https://netbeans.org/bugzilla/show_bug.cgi?id=230959
> 
> You can try to fix the problem using
> 
> -J-Dsun.java2d.opengl=true

Thanks for the hint. We will consider this option.