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
Forum Updated to NodeBB v4.3 + New Features

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 2 Watching
  • 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.
  • J Offline
    J Offline
    Jenifer
    wrote on 22 May 2017, 04:07 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.

    J 1 Reply Last reply 22 May 2017, 04:19
    1
    • J Jenifer
      22 May 2017, 04:07

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 22 May 2017, 04:19 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
      • J Offline
        J Offline
        Jenifer
        wrote on 22 May 2017, 04:22 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.

        J J 2 Replies Last reply 2 Jun 2017, 02:16
        0
        • J Jenifer
          22 May 2017, 04:22

          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.

          J Offline
          J Offline
          Jenifer
          wrote on 2 Jun 2017, 02:16 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

          J 1 Reply Last reply 2 Jun 2017, 04:22
          0
          • J Jenifer
            22 May 2017, 04:22

            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.

            J Offline
            J Offline
            joeQ
            wrote on 2 Jun 2017, 02:32 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
            • J Jenifer
              2 Jun 2017, 02:16

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

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 2 Jun 2017, 04:22 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 3 Jun 2017, 12:10 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