NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 1058 - Run single instance listener is not working
Run single instance listener is not working
Status: CONFIRMED
Product: Fiji
Classification: Unclassified
Component: ImageJ2
unspecified
PC Windows
: P5 normal
Assigned To: Curtis Rueden
Depends on:
Blocks:
 
Reported: 2015-04-22 17:55 CDT by Beau
Modified: 2015-04-23 17:31 CDT
1 user (show)

See Also:

Description Beau 2015-04-22 17:55:26 CDT
Hi, my name is Beau and I work in a biology research lab in Maine. Today I updated my Fiji to version 1.49r, and now there are two bugs I can not fix.

1) Double-clicking an image opens Fiji but not the image itself.

2) Double-clicking multiple image files opens multiple instances of Fiji,
even though the "Run single instance listener" option is checked in
Edit>Options>Misc (and again, only Fiji opens, not the images).

I have Windows 7 Professional, Version 6.1.7601 Service Pack 1 Build 7601,
and Java Version 8 Update 45 (build 1.8.0_45-b14).

Threads in forums that I found via Google go back to July 2014, but I found
nothing on how to fix the problems. Any help or ideas for how to overcome
these bugs?

Thank you!
Comment 1 Curtis Rueden 2015-04-23 17:30:00 CDT
Thanks for the bug report!

Both of these are indeed known issues:

Fix "Run single instance listener" feature
* https://github.com/imagej/imagej/issues/98

Images passed as command line arguments are never shown
* https://github.com/imagej/imagej-legacy/issues/89

There isn't much you can do to work around the lack of the "single instance listener" feature. For passing filenames to ImageJ, you can use the "--run" flag, though I am not sure how to make Windows pass that flag when you double click a file.
Comment 2 Curtis Rueden 2015-04-23 17:31:10 CDT
> you can use the "--run" flag

I meant "--open"