** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: In Progress => Fix Committed
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
No way to escape an ampersand in UCAction
Status in ubuntu-ui-toolkit package in Ubuntu:
Let's say we have an Ubuntu.Action as follow:
import Ubuntu.Components 1.3 as Ubuntu
text: "Apps & Scopes"
UCAction translates the ampersand as a mnemonic, using QKeySequence.
A way to escape a mnemonic in Qt is to add another ampersand. The resulting
string is "Apps && Scopes".
The UITK component seems not to take in account this situation, since:
- How the string should be shown in e.g. an ActionBar:
"Apps & Scopes"
- How the string is displayed instead in an ActionBar:
"Apps && Scopes"
QKeySequence returns no mnemonic as expected, but UCAction shows two
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~touch-packages
Post to : email@example.com
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp