Problem with CFI

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Problem with CFI

Post by Daniel0312 »

Hi
I set up the following CFI :

Code: Select all

jpg>"..\..\PICTURE\FSMaxView\MaxView.exe"
The icon in the CFI dialog changes to maxview so I guess it's OK.
But... it doesn't change in the list view : still an empty icon like before.
I tried using the full path with the same result.
Did I make some mistake ?

Now if I remove the quotes :

Code: Select all

jpg>..\..\PICTURE\FSMaxView\MaxView.exe
The icon in the CFI dialog changes to a generic one (meaning XY can't find maxview?).
Every custom Icon in XY (toolbar, catalog, file list,...) change to that icon.
20240119_101338.png
I'm a bit lost, can anyone help ?
To see the attached files, you need to log into the forum.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Problem with CFI

Post by highend »

Which sense does it make to use a relative path for it? Every .jpg on your system has a MaxView.exe 2 hierarchies above it? Probably not...

Double quotes are not required for the path, even if it contains spaces

*.jpg>D:\FastStone MaxView\MaxView.exe

works fine here for all .jpg files, even in the file list (that's what CFI's are for :) )
One of my scripts helped you out? Please donate via Paypal

Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Re: Problem with CFI

Post by Daniel0312 »

Thanks highend !
For some reason I thought I was giving the path to maxview relative to XY folder. My mistake.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Problem with CFI

Post by highend »

You can do that but then make it right^^

<xypath>\..\..\FSMaxView\MaxView.exe

If that's the correct one...
One of my scripts helped you out? Please donate via Paypal

Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Re: Problem with CFI

Post by Daniel0312 »

Hum... ok that explains it :)

For purpose of testing I set up a hard path like you showed me in your first reply.

Code: Select all

{:image}>E:\Partage\Mes Programmes\PICTURE\FSMaxView\MaxView.exe
(double quotes are not required : if present it doesn't work here)

When I activate it I get :
20240119_123741.png
Every custom icon in XY (toolbar, catalog, ...) change to that icon.
For the toolbar, small buttons is selected in options (I tried changing this setting and it gives back the custom icons, but I really like small buttons :) ).
For the the catalog, I don't think it's possible to change icon size and... I like small buttons.

Any idea ?
To see the attached files, you need to log into the forum.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Problem with CFI

Post by highend »

Show the definition of such a toolbar entry (that gets the wrong icon)
One of my scripts helped you out? Please donate via Paypal

Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Re: Problem with CFI

Post by Daniel0312 »

One of the user buttons :
20240119_140822.png
All are built the same way, icons are .ico files located in <xyicons>

The toolbar when large buttons is selected in options :
20240119_141449.png
To see the attached files, you need to log into the forum.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Problem with CFI

Post by highend »

01. Show a screenshot of the menu that you get when you click on the Options... button in the Customize Toolbar window
02. Attach that SM_Wide.ico (rename it to .txt) to your next post
One of my scripts helped you out? Please donate via Paypal

Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Re: Problem with CFI

Post by Daniel0312 »

01.
20240119_145111.png

02.
SM_Wide.ico.txt
To see the attached files, you need to log into the forum.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Problem with CFI

Post by highend »

Sorry, unable to reproduce your issue (latest beta), in all toolbar button sizes the custom button with your icon isn't changed and the list icons for .jpg are still working properly...
One of my scripts helped you out? Please donate via Paypal

Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Re: Problem with CFI

Post by Daniel0312 »

thank you for taking the time to look into it.
As shown, last test was with {:image}, thus including ico files...
I just tried with only *.jpg and in that case toolbar icons display fine.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Problem with CFI

Post by highend »

In your first post you've said it won't work with jpg. It does here...

With {:Image} this is different, if the corresponding application doesn't exist, in small toolbar button mode the icon for user defined buttons vanish.

Create an additional bug report for that (because it is one, it doesn't happen in large button mode)...
One of my scripts helped you out? Please donate via Paypal

Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Re: Problem with CFI

Post by Daniel0312 »

thank you highend
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

Post Reply