CTB with text icon doesn't work in the catalog

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

CTB with text icon doesn't work in the catalog

Post by LittleBiG »

If you have a custom toolbar button with a text icon, referring it from the catalog the script doesn't run.

Create a CTB (ctb1) with icon "text:Test", write a msg command into the left-click. Refer to it from a catalog item by using the :ctb1 in the location. If you click on it, nothing happens until you delete the text icon.

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CTB with text icon doesn't work in the catalog

Post by admin »

Confirmed and fixed. :tup:

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CTB with text icon doesn't work in the catalog

Post by LittleBiG »

Now it starts but the menu CTB shows pops up at the toolbar instead of the catalog.

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CTB with text icon doesn't work in the catalog

Post by admin »

:? Not here. More details, please.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CTB with text icon doesn't work in the catalog

Post by LittleBiG »

admin wrote: 18 Aug 2022 16:15 :? Not here. More details, please.
Sure. Fresh instance.
To see the attached files, you need to log into the forum.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CTB with text icon doesn't work in the catalog

Post by LittleBiG »

Another problem: I added the :openwith to the catalog. Navigated to a text file in the list, and clicked on the catalog openwith button, then I chose "Notepad". Nothing happened. I tried the same using the button in the toolbar, that opened the text file correctly.

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CTB with text icon doesn't work in the catalog

Post by admin »

1. Fixed.

2. Works fine here. :|

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CTB with text icon doesn't work in the catalog

Post by LittleBiG »

admin wrote: 18 Aug 2022 17:18 2. Works fine here. :|
Then I am going to be more specific.

If I click on the file like this:
2022-08-18_17h25_42.png
And then choose the Notepad:
2022-08-18_17h28_08.png
nothing happens.

If I click on white first, so the focus is on the file but NOT selected:
2022-08-18_17h26_17.png
2022-08-18_17h30_38.png
notepad opens the text file.

For the toolbar button it doesn't matter, both ways open the text file.
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CTB with text icon doesn't work in the catalog

Post by admin »

Works here all the time for every case. Also from a fresh instance (you just have to tick Notepad in CFA).

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CTB with text icon doesn't work in the catalog

Post by admin »

Wait, now I see it, it's the system default item that does not work. It does not work when the Catalog has the focus. Alright, I guess I can fix that...

... Fixed.

Post Reply