Menu accelerators in popupmenu

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
MBaas
Posts: 692
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

highend
Posts: 14991
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

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

Re: Menu accelerators in popupmenu

Post by admin »

Not intended. :)

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

Re: Menu accelerators in popupmenu

Post by MBaas »

:D Good to know
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

highend
Posts: 14991
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Menu accelerators in popupmenu

Post by highend »

Fixed in v22.90.0012
One of my scripts helped you out? Please donate via Paypal

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

Re: Menu accelerators in popupmenu

Post by MBaas »

[x] Confirmed :)
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

MBaas
Posts: 692
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
To see the attached files, you need to log into the forum.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: Menu accelerators in popupmenu

Post by admin »

Confirmed. Fix comes.

MBaas
Posts: 692
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. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

Post Reply