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

MacOS QToolBar issues

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 1.5k 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.
  • O Offline
    O Offline
    OttoCologne
    wrote on last edited by
    #1

    When I maximize my QMainWindow with QToolBars it creates a strange toolbar double layer. !http://i.stack.imgur.com/8mIzS.png(toolbar)!
    The upper one is the functional "real" toolbar. It also makes the black one disappear when I just resize them a bit.

    This only happens on MacOs, on Windows and Linux it works just fine.

    Any way to avoid this? MaxOs 10.9 Qt 5.3.1

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Looks pretty strange, are you doing anything special when creating this toolbar ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • O Offline
        O Offline
        OttoCologne
        wrote on last edited by
        #3

        No, not that I know of

        @QToolBar* fileToolBar = addToolBar( tr( "File" ) );
        fileToolBar->addAction( newAct );
        fileToolBar->addAction( openAct );
        ...
        @

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          From what you say, it looks like its a bug.

          You should check the "bug report system":http://bugreports.qt-project.org to see if it's something known. If not the please consider opening a new report providing a minimal compilable example that shows how to reproduce the behavior

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sir_clive
            wrote on last edited by
            #5

            Hi,

            I know this is a old thread, but is there a solution yet? I have the same issue (QT 5.4.1, OS X 10.10.3)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              Then I'd recommend to first test with Qt 5.5 and if still is there, take a look at the bug report system like I suggested above, if you find nothing please open a report with a minimal compilable example that reproduces this.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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