[Fixed] Custom Button Showing Tooltip

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
VeeGee

[Fixed] Custom Button Showing Tooltip

Post 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.
To see the attached files, you need to log into the forum.
Last edited by VeeGee on 20 Feb 2022 13:10, edited 1 time in total.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Custom Button Showing Tooltip

Post 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.

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

Re: Custom Button Showing Tooltip

Post by admin »

That wasn't intended, of course. The new hamburger turned out to be a bit too greedy. Fix is on the way.

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

Re: [Fixed] Custom Button Showing Tooltip

Post 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%");

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: [Fixed] Custom Button Showing Tooltip

Post 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; }

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

Re: [Fixed] Custom Button Showing Tooltip

Post by admin »

Fixed in next beta.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: [Fixed] Custom Button Showing Tooltip

Post by jupe »

This is another style, that historically worked, and no longer does:

#600; /* cmt */

probz rare though.

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

Re: [Fixed] Custom Button Showing Tooltip

Post by admin »

I'm slowly starting to regret it... ;)

Post Reply