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 61996 - --open <filename> may not bring the file to the front
Summary: --open <filename> may not bring the file to the front
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: Macintosh (x86) Mac OS X
: P4 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-08-09 17:49 UTC by pzajac
Modified: 2017-11-13 15:42 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 pzajac 2005-08-09 17:49:56 UTC
I recently opens a java file using openfile paramater in netbeans ide. There is
mising showing netbeans window on foreground. It worked correctly in pass. Why
this feature was removed?
Comment 1 Marian Petras 2005-10-20 10:45:17 UTC
If a given file is already opened in the editor but covered by another open file
and the IDE is asked to open that given file (from command-line, using syntax:
netbeans --open <filename>), the editor containing that file may not be brought
to the front.

This bug is random, it may work 20 times and then stop working.

Tested on JDK 1.4.2_09 running on Linux 2.4.22.
Comment 2 Roman Ondruska 2007-08-21 14:26:35 UTC
A random issue, a repro-case would help a lot...
Comment 3 Marian Petras 2007-10-22 09:52:49 UTC
This might be a threading issue, possible related to bug #113903.
Comment 4 Alexey Butenko 2009-04-02 12:46:02 UTC
Removing RANDOM keyword, since on MacOsX Leopard it is always reproducible.
Passing to Window System API for evaluation since that issue is about open TopComponent, which 
is done in CloneableOpenSupport.open() 
Comment 5 Jiri Rechtacek 2009-04-02 12:55:01 UTC
Originally reported to 5.0
Comment 6 softwebinfo 2017-11-13 15:42:05 UTC
I am on macOS Sierra, I am facing the same issue "open <filename> may not bring the file to the front". When I open a file, netbeans opens but the file is not opened. Netbeans 8.2