Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    UnifiedTitleAndToolBar on Yosemite?

    General and Desktop
    2
    10
    1706
    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.
    • P
      patrickkidd last edited by

      Two things I've noticed when using unifiedTitleAndToolBar on Yosemite:

      • You can't move the window by dragging the toolbar, only when dragging the menu bar
      • It doesn't support translucency on Yosemite.

      I have seen this, but not sure if it's a deadend or if there are other places to watch for this sort of thing.

      https://bugreports.qt-project.org/browse/QTBUG-39463

      Thoughts? Sorry, it has to be a pain keeping up with the times...

      https://vedanamedia.com/

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        It's the right place. The feature request seems to be what you are asking for so you can vote for it to help get it implemented.

        As for your bug, a report with a minimal compilable example showing how to reproduce it would be good if there is none already.

        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 Reply Quote 0
        • P
          patrickkidd last edited by

          When putting together the example, I found that setting WA_TransparentForMouseEvents on the spacer Widget did the trick. The widget was capturing the drag events.

          Thanks!

          https://vedanamedia.com/

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            You should still open a report with your findings, that will help improve Qt on OS X

            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 Reply Quote 0
            • P
              patrickkidd last edited by

              Should I? I doesn't seem like a bug but rather my own choice to implement the spacing in that way.

              https://vedanamedia.com/

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Did you do something unusual ?

                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 Reply Quote 0
                • P
                  patrickkidd last edited by

                  I inserted empty QWidget objects between menu icons to add stretch, so that some icons were justified left while some were justified right. This is the easiest way I could find to add a spacer to a [unified?] toolbar.

                  The problem was that these widgets were catching the mouse events and preventing them from reaching the perfectly functional Qt unified toolbar code.

                  To fix it I just set Qt.WA_TransparentForMouseEvents on these spacer widgets. So I feel like the qt code is working just fine, and it was my creative spacing that broke it.

                  https://vedanamedia.com/

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    I see. So indeed, you're doing something unusual. By the way, are you sure you are following Apple's UI guide lines ?

                    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 Reply Quote 0
                    • P
                      patrickkidd last edited by

                      No, I'm not sure :) Although I think I got this idea from looking at some Mac apps.

                      I am recently considering bailing on the mac app store to just sell it on my own website. The 30% just seems like it's not worth it for a smaller app...

                      https://vedanamedia.com/

                      1 Reply Last reply Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        Beware, not all of them are following the guide lines ;)

                        I can't really comment on that, both have their pros and cons

                        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 Reply Quote 0
                        • First post
                          Last post