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

Windows: Japanese Menu accelerators letter missing in menubar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.5.0 Beta
    • 5.4.1
    • QPA: Windows
    • None
    • Windows 8 x64
      Qt 5.4.1
    •  b798b53db718d0eb0dad31a3b9bfe81d4ec76af6 (qtbase/5.5, 23.3.2015, 5.5)

    Description

      1.Go to "Control Panel / Ease of Access Center / Make the Keyboard easier to use", ensure "Underline keyboard shortcuts and access keys" is unchecked (standard setting)

      2.Open "Menus Example" (widgets/mainwindows/menus) in Qt Creator,find function

      void MainWindow::createMenus()
      {
          ...
          fileMenu = menuBar()->addMenu(tr("&File"));
          ...
      }
      

      change it to something like

      void MainWindow::createMenus()
      {
          ...
          fileMenu = menuBar()->addMenu(tr("文件(&F)"));
          ...
      }
      

      3.Build & Run, then the letter "F" only show up when I press Alt.

      Attachments

        1. screenshot.bmp
          screenshot.bmp
          299 kB
        2. qtbug45787_repro.diff
          0.6 kB
        3. screenshot.png
          screenshot.png
          11 kB
        4. QtCreator.png
          QtCreator.png
          39 kB
        5. context menu.png
          context menu.png
          27 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            tempbeta stack
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes