Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Menubar does not work until app unfocused and focused again on MacOSX

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 2.1k Views
  • 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.
  • JeniferJ Offline
    JeniferJ Offline
    Jenifer
    wrote on last edited by Jenifer
    #1

    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.

    jsulmJ 1 Reply Last reply
    1
    • JeniferJ 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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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
      0
      • JeniferJ Offline
        JeniferJ Offline
        Jenifer
        wrote on last edited by
        #3

        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.

        JeniferJ joeQJ 2 Replies Last reply
        0
        • JeniferJ Jenifer

          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.

          JeniferJ Offline
          JeniferJ Offline
          Jenifer
          wrote on last edited by
          #4

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

          jsulmJ 1 Reply Last reply
          0
          • JeniferJ Jenifer

            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.

            joeQJ Offline
            joeQJ Offline
            joeQ
            wrote on last edited by
            #5

            @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
            0
            • JeniferJ Jenifer

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

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @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
              0
              • S Offline
                S Offline
                sandy.martel23
                wrote on last edited by
                #7

                see

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

                you can try the workaround.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved