Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77098

Czech translation hiding menu actions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.3, 5.13.0
    • GUI: Menus
    • None
    • macOS Mojave 10.14.5
    • macOS

    Description

      In the test project attached, I create a simple MainWindow that has an "About" action, a "File/Open" action, a "Help/Change Language" action, and a dialog button box only as a visual element to check that the language changed. The demo starts in English and has all the actions visible.

      To reproduce the bug:

      • Run the demo.
      • Change the language via the action (or hit CMD+L). The dialog button box will change language, but the actions won't cause they haven't refreshed yet.
      • Do a simple app switch (CMD+TAB) and return to the demo in order to refresh the menu actions
      • The "ActionTest" menu should be translated by now, and the File/Open action should be hidden/removed.

      If I remove or change the qtbase_cs.ts translation of "QCocoaMenuItem/About" the problem is fixed.

      My guess is that the Czech translation of "About", that is a simple "O", somehow confuses the macOS system to hide the File/Open action.

      Attachments

        1. 1.png
          1.png
          79 kB
        2. 2.png
          2.png
          34 kB
        3. 3.png
          3.png
          86 kB
        4. ActionTest.zip
          6 kB
        5. qtbase_cs.ts
          235 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            stratos Stratos Makrigiannakis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes