CTB with text icon doesn't work in the catalog

Things you’d like to miss in the future...
Post Reply
LittleBiG
Posts: 1846
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: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

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

Post by admin »

Confirmed and fixed. :tup:

LittleBiG
Posts: 1846
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: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

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

Post by admin »

:? Not here. More details, please.

LittleBiG
Posts: 1846
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.
Attachments
2022-08-18_16h30_31.png
2022-08-18_16h30_31.png (27.85 KiB) Viewed 448 times
2022-08-18_16h31_00.png
2022-08-18_16h31_00.png (19.13 KiB) Viewed 448 times

LittleBiG
Posts: 1846
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: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

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

Post by admin »

1. Fixed.

2. Works fine here. :|

LittleBiG
Posts: 1846
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
2022-08-18_17h25_42.png (43.33 KiB) Viewed 428 times
And then choose the Notepad:
2022-08-18_17h28_08.png
2022-08-18_17h28_08.png (15.04 KiB) Viewed 428 times
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_17h26_17.png (43.79 KiB) Viewed 428 times
2022-08-18_17h30_38.png
2022-08-18_17h30_38.png (15.29 KiB) Viewed 428 times
notepad opens the text file.

For the toolbar button it doesn't matter, both ways open the text file.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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