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 39317 - Running Installer doesn't set focus to it
Summary: Running Installer doesn't set focus to it
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 41662 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-28 17:13 UTC by zikmund
Modified: 2005-03-17 11:01 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 zikmund 2004-01-28 17:13:14 UTC
Build 200401271900-ismp5
How to reproduce:
1) Run installer by double click in the explorer.
2) ERROR:
Installer's window doesn't take focus when opened!
Explorer is still active.
Comment 1 George Hernandez 2004-01-29 04:36:26 UTC
I was able to reproduce this about 2 out of 15 tries. I downloaded the
1/28/04 dev build on my windows 2k professional machine. I double
clicked on icon in explorer. When the installer popped up, I pressed
the space bar and the installer showed the next panel except for two
times. I tried this with my own jar file I created today and it worked
fine. So I'm not sure why this happens. Can you reproduce this every
time? Are you pressing the space bar or the enter key because only the
space bar works. If you're talking about the window bar not showing as
active, I don't see that at all.
Comment 2 zikmund 2004-01-29 19:41:28 UTC
First of all, it 100% reproducible :-( ... I got it about 30 times --
anytime I tested installer :-( on W2K SP2 and W2K SP4

I'll try to refine:
1) Open Windows' file explorer (maximized)
2) double click exe file
3) put hands out of the mouse and keyboard
4) wait a moment
5) a dialog "InstallShield Wizard" appears ... progress bar is running
several times through
6) still waiting until there's any disk or CPU activity
7) ERROR:
Explorer window still on the top, still active. I can see the Wizard's
icon on the windows task bar, but that's all.
To continue I have to click it's icon on task bar (or switch process
using Atl-TAB).
Comment 3 George Hernandez 2004-01-31 02:05:29 UTC
Karl, I can't reproduce this on a windows xp and I won't be able to
test on a windows 2k until monday. If you have time before then, can
you try to reproduce once more. When I switched the default interface
to swing for another bug fix, it may have fixed this too. If not, I'll
verify on monday.
Comment 4 zikmund 2004-02-03 13:46:29 UTC
Still a bug on W2K even after Swing switch :-(.
I'll try on WinXP soon.

Notice: Uninstall has focus after running it ... seems to be problem
only of the install action.
Comment 5 zikmund 2004-04-15 18:13:22 UTC
*** Issue 41662 has been marked as a duplicate of this issue. ***
Comment 6 mslama 2005-02-11 10:53:00 UTC
Status of this issue with latest dev build?
Comment 7 mslama 2005-02-11 10:56:38 UTC
Keep in mind it may depend on JDK. You can set JDK used to run
installer using -is:jdkhome command line switch. Please test with JDK
1.4.2_07 and JDK 5.0u1 (or latest build of JDK 5.0u3).
Comment 8 mslama 2005-03-17 10:04:31 UTC
I just tested current daily dev build NB installer
netbeans-4_1-daily-bin-200503170655-windows-17_Mar_2005_0655.exe on Win XP with
JDK 5.0u1 and JDK 5.0u3 build 05 and it works fine. Next button is focused after
start of installer. Please reopen if you find any problem.
Comment 9 mslama 2005-03-17 11:01:16 UTC
I tested also on Win2K SP4, JDK 5.0u3 b05 and I could not reproduce it. Focus
was always on Next button after installer start. The installer as in previous
post. 5 attempts.