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

Czech translation hiding menu actions

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes