Page 1 of 1
CTB with text icon doesn't work in the catalog
Posted: 16 Aug 2022 09:56
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.
Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 10:03
by admin
Confirmed and fixed.

Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 14:38
by LittleBiG
Now it starts but the menu CTB shows pops up at the toolbar instead of the catalog.
Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 16:15
by admin

Not here. More details, please.
Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 16:35
by LittleBiG
admin wrote: ↑18 Aug 2022 16:15

Not here. More details, please.
Sure. Fresh instance.
Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 17:06
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.
Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 17:18
by admin
1. Fixed.
2. Works fine here.

Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 17:32
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.
Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 20:45
by admin
Works here all the time for every case. Also from a fresh instance (you just have to tick Notepad in CFA).
Re: CTB with text icon doesn't work in the catalog
Posted: 18 Aug 2022 20:57
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.