Page 1 of 1

Custom Toolbar Buttons no longer accepting <drop>

Posted: 15 Apr 2024 00:41
by jupe
The 25.80.0312 beta has messed up <drop> for CTBs, instead of any item names, the return is what looks to be positioning identifiers for BTBs, and if you don't drop, the return is unresolved <drop> instead of blank.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 15 Apr 2024 13:20
by admin
Fixed in next beta. :cup:

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 15 Apr 2024 20:47
by jupe
In .0314 there is still an issue, when you press the button, it returns unresolved.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 15 Apr 2024 23:47
by admin
What's the button script?

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 15 Apr 2024 23:53
by jupe
Well anything like this:

if (<drop>) { e <drop>; } // WILL ALWAYS BE TRUE

it used to return blank if pressing not dropping.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 16 Apr 2024 08:16
by admin
OK, next beta.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 17 Apr 2024 07:07
by jupe
Upgraded to .0316, seems better, but now some buttons can be undroppable with certain scripts, eg

if (<drop> || 1==1) { e <drop>; }

I can modify the scripts to become workable if need be.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 17 Apr 2024 09:09
by admin
Indeed. Works better in next beta.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 18 Apr 2024 00:53
by jupe
Ok, everything with CTBs seems to be back to normal in .0329, thanks. :cup:

I've been rolling back till now, so I'm just now starting to test BTBs properly, and have noticed that the BTB drop popup tooltip box that pops up when between btns, displays the ? icon when the path is truncated. Also a suggestion, it might be nice to be able to change the icon via rename, same as when renaming a tab, and maybe that would then enable icon only btb via setting no caption eg renaming to just a pipe or |icon.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 18 Apr 2024 09:13
by admin
jupe wrote: 18 Apr 2024 00:53 ... when the path is truncated.
Why would the dragged path be truncated? Not sure what you mean.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 18 Apr 2024 10:32
by jupe
In the popup tool tip that pops up when you drag a item and hover between btns there is a icon and a path, when that path next to the icon is truncated due to length.

Re: Custom Toolbar Buttons no longer accepting <drop>

Posted: 18 Apr 2024 11:27
by admin
Yep, just got it by myself. :) Fix coming.

I won't add custom icons for now. Keep it simple for starters.