Custom Toolbar Buttons no longer accepting <drop>
Forum rules
READ THIS AND DO IT!!!
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Custom Toolbar Buttons no longer accepting <drop>
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.
-
admin
- Site Admin
- Posts: 66543
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Custom Toolbar Buttons no longer accepting <drop>
In .0314 there is still an issue, when you press the button, it returns unresolved.
-
admin
- Site Admin
- Posts: 66543
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Toolbar Buttons no longer accepting <drop>
What's the button script?
FAQ | XY News RSS | XY X
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Custom Toolbar Buttons no longer accepting <drop>
Well anything like this:
it used to return blank if pressing not dropping.
if (<drop>) { e <drop>; } // WILL ALWAYS BE TRUEit used to return blank if pressing not dropping.
-
admin
- Site Admin
- Posts: 66543
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Custom Toolbar Buttons no longer accepting <drop>
Upgraded to .0316, seems better, but now some buttons can be undroppable with certain scripts, eg
I can modify the scripts to become workable if need be.
if (<drop> || 1==1) { e <drop>; }I can modify the scripts to become workable if need be.
-
admin
- Site Admin
- Posts: 66543
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Toolbar Buttons no longer accepting <drop>
Indeed. Works better in next beta.
FAQ | XY News RSS | XY X
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Custom Toolbar Buttons no longer accepting <drop>
Ok, everything with CTBs seems to be back to normal in .0329, thanks.
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.
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.
-
admin
- Site Admin
- Posts: 66543
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Toolbar Buttons no longer accepting <drop>
Why would the dragged path be truncated? Not sure what you mean.
FAQ | XY News RSS | XY X
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Custom Toolbar Buttons no longer accepting <drop>
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.
-
admin
- Site Admin
- Posts: 66543
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Toolbar Buttons no longer accepting <drop>
Yep, just got it by myself.
Fix coming.
I won't add custom icons for now. Keep it simple for starters.
I won't add custom icons for now. Keep it simple for starters.
FAQ | XY News RSS | XY X
XYplorer Beta Club