Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Menubar does not work until app unfocused and focused again on MacOSX

    General and Desktop
    4
    7
    1692
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jenifer
      Jenifer last edited by Jenifer

      When the app is run from Qt creator or from command line the menu bar doesnt work on first launch of application. It works only when the application is unfocused and focused again. I am using Qt5.6.2 and MACOS 10.11 version. i am new to Qt and mac as well. Any help would be greatly appreciated.

      jsulm 1 Reply Last reply Reply Quote 1
      • jsulm
        jsulm Lifetime Qt Champion @Jenifer last edited by

        @Jenifer Can you please say what exactly does not work? It is not shown? Does not react? ...?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • Jenifer
          Jenifer last edited by

          MenuBar is visible but when i click on the menu item say File or Edit it doesnt respond. Once I unfocus the application like open different application and focus back to my application it starts responding.

          Jenifer joeQ 2 Replies Last reply Reply Quote 0
          • Jenifer
            Jenifer @Jenifer last edited by

            @Jenifer
            If anybody can give the solution or atleast direct how to proceed it would be of great help. Thank You

            jsulm 1 Reply Last reply Reply Quote 0
            • joeQ
              joeQ @Jenifer last edited by

              @Jenifer Hi friend, welcome.

              and, i want to know, how did you to connect the menu item clicked signals to slot function ? could you show some code snippets ?

              Just do it!

              1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @Jenifer last edited by

                @Jenifer Did you try to check whether this is a known issue: https://bugreports.qt.io/secure/Dashboard.jspa ?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 0
                • S
                  sandy.martel23 last edited by

                  see

                  https://forum.qt.io/topic/72251/native-menu-bar-on-macos

                  you can try the workaround.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post