Toolbars - new line

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
admin
Site Admin
Posts: 66094
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Toolbars - new line

Post by admin »

Seems like a logical thing to do. I make a note.

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: Toolbars - new line

Post by klownboy »

Thanks Don for beta v25.80.0007. :tup:

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

Re: Toolbars - new line

Post by jupe »

Don this new button set feature has broken the old undoc'd feature of using toolbar(, , 1); to return all toolbar button ids, could you please reinstate that ability somehow.

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

Re: Toolbars - new line

Post by admin »

It moved one to the right: toolbar(, , , 1);

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

Re: Toolbars - new line

Post by jupe »

Ah thanks!, I thought I had tried that, but I must have been using my testing conf which is old ver XY.

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

Re: Toolbars - new line

Post by jupe »

I noticed something with multirow toolbar, I guess it's more operator error than an issue because it is only possible to get in this situation via scripting, so may not need changes, but thought I'd mention it to see what you think.

If the same button is used on 2 rows at the same time (likely accidentally), and you hover over it on the top row, a ghost btn displays on the bottom row, and if it has a dropdown it pops under the bottom ghost btn.

To repro in fresh:
toolbar(toolbar() . ",|,myco,openwith");
and then hover those 2 btns on the top row and/or click them.

O/T: Don is there a way to escape an asterisk in small lists filter, so that it can be found?

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

Re: Toolbars - new line

Post by admin »

Oh yeah, ghosty stuff. But I could fix it. 8)

I'll look into this asterisks later.

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

Re: Toolbars - new line

Post by admin »

jupe wrote: 21 Sep 2024 08:39 O/T: Don is there a way to escape an asterisk in small lists filter, so that it can be found?
Give a little context. Where do you need it and why?

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

Re: Toolbars - new line

Post by jupe »

Updated to .0202, there is a problem now if you have a button with a pressed state, it shows up above the bottom btn.

eg if you run this: toolbar(toolbar() . ",steps,|,steps,visualfilter");
and then press the button at the end of the top row, it draws it in its pressed state in the first position above the one on the second row, and with btns like VF, the dropdown only works on the bottom btn. I don't want to open a can of worms, so if its going to be, never mind.

Regarding asterisks, sorry, I don't want to take this thread offtopic, I don't need it, I can script around it, I was just wondering if there was an existing way to do it I had overlooked, I didn't think there was though.

But if you want to know, I was importing csv data into a inputselect, and in the source data asterisks were used to mark changed entries, which I wanted to filter by.

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

Re: Toolbars - new line

Post by admin »

I can easily fix that pressed state glitch.

Concerning the asterisk: Yes, there is no way ATM. Currently it has to stay that way. Not enough demand. :)

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

Re: Toolbars - new line

Post by jupe »

Updated to .0205, looks pretty good now, totally usable, but if you press the bottom btn, the top btn's pressed state isn't updated until mouse over.

toolbar("steps,|,steps");

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

Re: Toolbars - new line

Post by admin »

Haha, I noticed that too, but I was hoping I could get away with it. Okay, I'll take a look at that.

BTW, the pattern is: update the last button of that type and the one the mouse is currently over.

Fixed in next beta.

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

Re: Toolbars - new line

Post by admin »

jupe wrote: 21 Sep 2024 08:39 O/T: Don is there a way to escape an asterisk in small lists filter, so that it can be found?
In the next beta I try something: a double asterisk ** makes it a literal asterisk.

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

Re: Toolbars - new line

Post by jupe »

:oops:
sorry, I was hesitant to mention it.

the asterisk thing works well, thanks. :tup:

Post Reply