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

Menu Merge feature on OSX has different behavior on Qt 5.3.1 from Qt 5.2.1; Not backwards compatible.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.2
    • 5.3.1
    • Widgets: Main Window
    • None
    • Mac OSX 10.9.4.
    • macOS
    • 296142ba053309820ab25568e234dd24b15b3a91

      In upgrading Qt from 5.2.1 to 5.3.1, it was discovered that the Menu Merge feature of QAction and QMenuBar did not operate the same on a previously released application. Exit, About and Preferences menu items that were normally Merged into the Application Menu were no longer being moved.

      Trial and error testing showed that the "string matching" on the text of the QAction was significantly different. This will affect the operation of existing application code and is not backwards compatible

      A sample application is attached. The application operates as expected on 5.2.1, but the menus are not merged on 5.3.1. Some additional working and non-working example lines are shown in the CreateActions() routine in mainwindow.cpp

        1. TestOSXMenuMerge.zip
          4 kB
          Aaron L. Levine
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            srutledg Shawn Rutledge
            alevine Aaron L. Levine
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes