Public bug reported: Let's say we have an Ubuntu.Action as follow:
import Ubuntu.Components 1.3 as Ubuntu Ubuntu.Action { 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 ampersands. ** Affects: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1587580 Title: No way to escape an ampersand in UCAction To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1587580/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs