Menu accelerators in popupmenu

Things you’d like to miss in the future...
Post Reply
MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Menu accelerators in popupmenu

Post by MBaas »

After the recent round of changes, popupmenu no longer handles accelerators in menus (and shows the "&" character instead):
Is that intentional (and gone forever) or unintended?

Repro (with 22.90.0011):
text popupnested("&Top| Sub| Sub| Sub2| Sub2|T&op");
______________________________________________
Happy user ;-)

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Menu aceelerators in popupmenu

Post by highend »

and gone forever
I hope not^^ It breaks the navigation...

In my case, n doesn't work anymore to trigger the "New" menu part
2.png
2.png (2.89 KiB) Viewed 909 times
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

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

Re: Menu accelerators in popupmenu

Post by admin »

Not intended. :)

MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Re: Menu accelerators in popupmenu

Post by MBaas »

:D Good to know
______________________________________________
Happy user ;-)

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Menu accelerators in popupmenu

Post by highend »

Fixed in v22.90.0012
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Re: Menu accelerators in popupmenu

Post by MBaas »

[x] Confirmed :)
______________________________________________
Happy user ;-)

MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Re: Menu accelerators in popupmenu

Post by MBaas »

I'm sorry to say- but suddenly this became an issue again. Not generally, though - it most often works fine - but I have one case where it does not work in a submenu. Fortunately I've been able to build a small repro. Please use the attached sample and then do

::popupnested(readfile("{yourPath}underline.txt"));

Alternatively, here's the content of that menu file:

Code: Select all

      &menu;:SwitchProjectMenu("menu");:refresh
      &coffee;:SwitchProjectMenu("coffee");:coffee
      &Jenkins;:SwitchProjectMenu("jenkins");:fore
      &TamStat;:SwitchProjectMenu("tamstat");:ghost
      &Vue;:SwitchProjectMenu("vue");:conf
P.S: using version 25.40.0305
Attachments
underline.txt
(250 Bytes) Downloaded 6 times
14-01-2024_12-31-57.png
14-01-2024_12-31-57.png (22.15 KiB) Viewed 105 times
______________________________________________
Happy user ;-)

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

Re: Menu accelerators in popupmenu

Post by admin »

Confirmed. Fix comes.

MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Re: Menu accelerators in popupmenu

Post by MBaas »

Fix works fine with all of my menus! Thanks! :cup:
______________________________________________
Happy user ;-)

Post Reply