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

macOS: Settings menu becomes Preferences after a while

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2, 6.8.0
    • GUI: Menus
    • None
    • macOS

    Description

      Apple switched from using "Preferences" to "Settings" as a menu title several years ago. We would like to do the same, but it doesn't work with Qt.

      I use the following to create a standard Settings menu:

      auto fileMenu = menuBar()->addMenu( "File" );
      auto preferencesAction = fileMenu->addAction( "Settings...", QKeySequence::Preferences );
      preferencesAction->setMenuRole( QAction::PreferencesRole );

      And indeed, a menu called "Settings..." is created in the standard location with the shortcut Apple-,. However, after a while, the menu is renamed to "Preferences...".

      I suggest to change the Qt default to Settings.

       

      Attachments

        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
            jan.patera Jan Patera
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes