broken plugin action bar (icons missing)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

broken plugin action bar (icons missing)

Jürgen Gluch
Hello

after my update of Fiji (Windows 7 64bit) the icons on my custom
action bar do not show up. Only the text ist shown. The macros work
like before. Unfortunately the build in demo bar shows icons, but any
test to call a separate custom action bar with icons loaded from file
fails. Any idea whats broken?

// minimal action bar to test icons
// file "test.png" is stored in "plugins\ActionBar\icons\" folder
run("Action Bar","/plugins/ActionBar/_test.ijm");
exit();
<line>
<button>
label="Hello"
icon=test.png
arg=<macro>
    print("hello");
</macro>
</button>
</line>

Jürgen

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: broken plugin action bar (icons missing)

dscho
Hi Jürgen,

On Fri, 4 Jul 2014, Jürgen Gluch wrote:

> after my update of Fiji (Windows 7 64bit) the icons on my custom action
> bar do not show up. Only the text ist shown. The macros work like
> before. Unfortunately the build in demo bar shows icons, but any test to
> call a separate custom action bar with icons loaded from file fails. Any
> idea whats broken?
>
> // minimal action bar to test icons
> // file "test.png" is stored in "plugins\ActionBar\icons\" folder
> run("Action Bar","/plugins/ActionBar/_test.ijm");
> exit();
> <line>
> <button>
> label="Hello"
> icon=test.png
> arg=<macro>
>     print("hello");
> </macro>
> </button>
> </line>
Unfortunately, this minimal example is incomplete.

Would you mind hitting Ctrl+L, type in "Make Fiji Package",
double-clicking that command, make a Fiji package, upload it using
Help>Upload Sample Image, then send a mail with a step-by-step instruction
how to reproduce the issue you see, including what you expect to see and
what you see instead?

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: broken plugin action bar (icons missing)

Jerome Mutterer-3
In reply to this post by Jürgen Gluch
Dear Jürgen,

Thank you for using ActionBar.
I think you have a small path issue.
In one of my action bars, I have the following code that you could
replicate:
The ActionBar file is at this location:
  /plugins/ActionBar/lifs_utils.txt
and the path to icons looks like this:
  icon=/lifs_utils/leica.png

Sincerely,


Jerome.


Le 4 juil. 2014 17:12, "Jürgen Gluch" <[hidden email]> a écrit :

>
> Hello
>
> after my update of Fiji (Windows 7 64bit) the icons on my custom
> action bar do not show up. Only the text ist shown. The macros work
> like before. Unfortunately the build in demo bar shows icons, but any
> test to call a separate custom action bar with icons loaded from file
> fails. Any idea whats broken?
>
> // minimal action bar to test icons
> // file "test.png" is stored in "plugins\ActionBar\icons\" folder
> run("Action Bar","/plugins/ActionBar/_test.ijm");
> exit();
> <line>
> <button>
> label="Hello"
> icon=test.png
> arg=<macro>
>     print("hello");
> </macro>
> </button>
> </line>
>
> Jürgen
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: broken plugin action bar (icons missing)

Jürgen Gluch
Thanks for all the tips.

I downloaded the Fiji software again, unzipped and tried again with
I uploaded a "sample image" as advised: fiji-win64-20140707032800.zip
Then I copied the subfolder /icon/ in the ActionBar folder, same
location as original data.
I also opened a bugzilla with the same topic.

If the action bar is started by this line of macro code:
  run("Action Bar","/plugins/ActionBar/_test.txt");
it shows up, works correct, bu the icon is missing and the text label
is displayed.

Same con on an older Fiji at the same computer (IJ 1.48r) works as
usual. So I don#t think it is related to a system wide error in my
Win64 or Java.

Jürgen
--
Jürgen Gluch
Kötitzer Str. 9f / 01445 Radebeul / Deutschland
Mobil: +49 (0)176 2297 1673
VOIP: [hidden email]
XMPP: [hidden email]


2014-07-05 9:35 GMT+02:00 Jerome Mutterer
<[hidden email]>:

> Dear Jürgen,
>
> Thank you for using ActionBar.
> I think you have a small path issue.
> In one of my action bars, I have the following code that you could
> replicate:
> The ActionBar file is at this location:
>   /plugins/ActionBar/lifs_utils.txt
> and the path to icons looks like this:
>   icon=/lifs_utils/leica.png
>
> Sincerely,
>
>
> Jerome.
>
>
> Le 4 juil. 2014 17:12, "Jürgen Gluch" <[hidden email]> a écrit :
>>
>> Hello
>>
>> after my update of Fiji (Windows 7 64bit) the icons on my custom
>> action bar do not show up. Only the text ist shown. The macros work
>> like before. Unfortunately the build in demo bar shows icons, but any
>> test to call a separate custom action bar with icons loaded from file
>> fails. Any idea whats broken?
>>
>> // minimal action bar to test icons
>> // file "test.png" is stored in "plugins\ActionBar\icons\" folder
>> run("Action Bar","/plugins/ActionBar/_test.ijm");
>> exit();
>> <line>
>> <button>
>> label="Hello"
>> icon=test.png
>> arg=<macro>
>>     print("hello");
>> </macro>
>> </button>
>> </line>
>>
>> Jürgen
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: broken plugin action bar (icons missing)

Jerome Mutterer-3
Hi Jürgen,
If you do not have anything confidential in it, could you please zip your
ActionBar folder, and send it to me at [hidden email]
I will test it here, and see what is going wrong.
Thank you.

Jerome



On 7 July 2014 15:44, Jürgen Gluch <[hidden email]> wrote:

> Thanks for all the tips.
>
> I downloaded the Fiji software again, unzipped and tried again with
> I uploaded a "sample image" as advised: fiji-win64-20140707032800.zip
> Then I copied the subfolder /icon/ in the ActionBar folder, same
> location as original data.
> I also opened a bugzilla with the same topic.
>
> If the action bar is started by this line of macro code:
>   run("Action Bar","/plugins/ActionBar/_test.txt");
> it shows up, works correct, bu the icon is missing and the text label
> is displayed.
>
> Same con on an older Fiji at the same computer (IJ 1.48r) works as
> usual. So I don#t think it is related to a system wide error in my
> Win64 or Java.
>
> Jürgen
> --
> Jürgen Gluch
> Kötitzer Str. 9f / 01445 Radebeul / Deutschland
> Mobil: +49 (0)176 2297 1673
> VOIP: [hidden email]
> XMPP: [hidden email]
>
>
> 2014-07-05 9:35 GMT+02:00 Jerome Mutterer
> <[hidden email]>:
> > Dear Jürgen,
> >
> > Thank you for using ActionBar.
> > I think you have a small path issue.
> > In one of my action bars, I have the following code that you could
> > replicate:
> > The ActionBar file is at this location:
> >   /plugins/ActionBar/lifs_utils.txt
> > and the path to icons looks like this:
> >   icon=/lifs_utils/leica.png
> >
> > Sincerely,
> >
> >
> > Jerome.
> >
> >
> > Le 4 juil. 2014 17:12, "Jürgen Gluch" <[hidden email]> a écrit
> :
> >>
> >> Hello
> >>
> >> after my update of Fiji (Windows 7 64bit) the icons on my custom
> >> action bar do not show up. Only the text ist shown. The macros work
> >> like before. Unfortunately the build in demo bar shows icons, but any
> >> test to call a separate custom action bar with icons loaded from file
> >> fails. Any idea whats broken?
> >>
> >> // minimal action bar to test icons
> >> // file "test.png" is stored in "plugins\ActionBar\icons\" folder
> >> run("Action Bar","/plugins/ActionBar/_test.ijm");
> >> exit();
> >> <line>
> >> <button>
> >> label="Hello"
> >> icon=test.png
> >> arg=<macro>
> >>     print("hello");
> >> </macro>
> >> </button>
> >> </line>
> >>
> >> Jürgen
> >>
> >> --
> >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>



--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
 12, rue du Général Zimmer
67084 Strasbourg Cedex
T 0367155339
www.ibmp.cnrs.fr

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html