Solved [TD71] TD-24051: Mnemonics/Shortcuts not visible initially. Need pressing ALT

Report bugs and possible workarounds.
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1162
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

[TD71] TD-24051: Mnemonics/Shortcuts not visible initially. Need pressing ALT

Post by Dave Rabelink » 11 Jun 2018, 05:08

I see a difference in TD71 concerning mnemonics/shortcuts.

In previous TD versions, the mnemonic is initially displayed on buttons.
(using the & character to display underlined letter in the button titles)

In TD71, at runtime, the buttons do not show their mnemonics initially. You first have to press ALT to display them.

Mnemonics.png

See testcase. Source is TD70 text format to be able to compare TD70 and TD71.

The two buttons on the form have mnemonics.
Run the test source in TD70 and TD71 and see the difference when the objects are initially displayed.

Also menu items have this effect.

TestShortcut_TD70.zip

This is registered as:
Ticket # 3773755:
TD-24051 Mnemonics/Shortcuts not visible initially. Need pressing ALT
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1162
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

[TD71] TD-24051: Mnemonics/Shortcuts not visible initially. Need pressing ALT

Post by Dave Rabelink » 11 Jun 2018, 09:55

Got response back from OpenText engineers.

This is "as designed".

Based on the feature request:

TD-23041: TD not honoring OS "Underline keyboard shortcuts and access keys" setting

TD 7.1 will use the Windows OS setting. This will be the case for applications at runtime but also the IDE itself.

You can find the Windows setting here:

EaseOfAccess.png


This change is not mentioned in the release notes. It is mentioned in the list of fixes.
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 100
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: [TD71] TD-24051: Mnemonics/Shortcuts not visible initially. Need pressing ALT

Post by Uwe van der Horst » 12 Jan 2019, 20:13

For us the new behavior is a disaster. Actually we are in production with 7.0. The Windows-OS-default for "Underline keyboard shortcuts and access keys" is "not activated". So after bringing our customers to 7.1 we have more than 10.000 seats with a different behavior. Nobody is reading our release notes. The support hotline will have some nice weeks :(

Even worse: With MDI-windows it doesn't work. Shortcuts are not visible even after pressing ALT. I will open a ticket.
You do not have the required permissions to view the files attached to this post.
Best regards,
Uwe van der Horst
Advo-web GmbH

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1162
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: [TD71] TD-24051: Mnemonics/Shortcuts not visible initially. Need pressing ALT

Post by Dave Rabelink » 12 Jan 2019, 20:32

Hi Uwe,

Maybe you could try to set the option programatically using WinAPI function SystemParametersInfo with actioncode SPI_SETKEYBOARDCUES = 0x100B


Some info here:

https://www.codeproject.com/Articles/27 ... dows-Appli
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 100
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: [TD71] TD-24051: Mnemonics/Shortcuts not visible initially. Need pressing ALT

Post by Uwe van der Horst » 13 Jan 2019, 19:01

Thank you so much, Dave, it works.

Strange: After calling SystemParametersInfoA( 4107, 0, 1, 0 ) the shortcuts are visible in all my TD-Applications until I restart Windows (here: Win 7 prof). But this is what I want.
SPI_SETKEYBOARDCUES _1.jpg
SPI_SETKEYBOARDCUES _2.jpg
SPI_SETKEYBOARDCUES _3.jpg
You do not have the required permissions to view the files attached to this post.
Best regards,
Uwe van der Horst
Advo-web GmbH

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 0 guests