Page 1 of 1

[Fixed] Custom Button Showing Tooltip

Posted: 19 Feb 2022 19:50
by VeeGee
Good afternoon all,
Using v22.90.0003 - 2022-02-19 11:27 - I have a CTB that empties the Recycle Bin. I've been using this button for ages now. After today's update, it is no longer working and is showing a tooltip instead.

Button :
Image-006.png
After left-clicking it now :
Image-005.png
Intended change ? I briefly looked at other posts and didn't see any mention of this.
Thanks.

Re: Custom Button Showing Tooltip

Posted: 20 Feb 2022 02:19
by jupe
Yeah the new beta seems to have broken multi-script cmd single line scripts, you can edit the button to make it multi-line for the time being if you want to fix it urgently, otherwise wait for a fix or downgrade, I will move this topic to Bug Reports forum.

Re: Custom Button Showing Tooltip

Posted: 20 Feb 2022 12:13
by admin
That wasn't intended, of course. The new hamburger turned out to be a bit too greedy. Fix is on the way.

Re: [Fixed] Custom Button Showing Tooltip

Posted: 26 Mar 2022 14:10
by admin
I could not fully maintain this functionality. From the next beta onwards you have to end the line with a ; to make it work:

#642; wait 1000; ctbicon("%recycler%");

Re: [Fixed] Custom Button Showing Tooltip

Posted: 28 Mar 2022 16:23
by jupe
Just upgraded after a week+ or so, and noticed I have a fair few buttons not working, I know how to fix it and get it working but thought I would give you this as an example of backwards compatibility, below is a modified for simplicity example that no longer works:

Code: Select all

if (<curitem>) { e 1; }
 else { e 2; }

Re: [Fixed] Custom Button Showing Tooltip

Posted: 28 Mar 2022 17:18
by admin
Fixed in next beta.

Re: [Fixed] Custom Button Showing Tooltip

Posted: 29 Mar 2022 08:18
by jupe
This is another style, that historically worked, and no longer does:

#600; /* cmt */

probz rare though.

Re: [Fixed] Custom Button Showing Tooltip

Posted: 29 Mar 2022 09:17
by admin
I'm slowly starting to regret it... ;)