Bug 24447 - The user should be asked before starting the IDE on association.
The user should be asked before starting the IDE on association.
Status: RESOLVED WONTFIX
Product: installer
Classification: Unclassified
Component: Code
3.x
PC All
: P1 (vote)
: TBD
Assigned To: _ ttran
issues@installer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2002-06-05 15:39 UTC by iformanek
Modified: 2004-06-08 12:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2002-06-05 15:39:22 UTC
If the IDE is started via association (user double clicks 
on .java file in Windows explorer and the IDE is not 
running yet), before the IDE is started there should be a 
message box displayed saying

"The NetBeans IDE is not running. Do you want to start it 
up to open the specified Java file?" [OK/Cancel]

or in case NBM file was clicked:

"The NetBeans IDE is not running. Do you want to start it 
up to install the specified module?" [OK/Cancel]
Comment 1 Marek Grummich 2002-07-22 10:01:03 UTC
Set target milestone to TBD
Comment 2 _ ttran 2002-07-26 22:20:19 UTC
what if the user select 10 .java files and press Enter?  Do you want
to show 10 confirmation dialogs?  I think not.

This is actually a serious problem right now for file association.  I
can't verify 100% right now because I don't have NB installed by the
installer and I am dial-up.  But I created c:\x.bat with

   echo %*
   pause

and associate .java to it.  When I select three java files and press
Enter three console windows show up.  This is how Windows works.  In
case of multiple selection it obviously runs multiple instances of the
associated program and passes one file to each instance.  There may be
a special technique but our installer certainly does not use it.

You can imagine the consequences...

BTW uninstalling the IDE does not remove the association.  A known bug?
Comment 3 iformanek 2002-07-29 13:03:04 UTC
You are right this should not happen, it is a matter of 
implementation, apparently, it cannot be done via a shell 
script the way you did it.

As far as the bug with uninstall, please file an issue.
Comment 4 Vladimir Hudec 2004-06-08 12:33:27 UTC
This is non-standard behaviour on the Window platform.
Going to close this request.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo