Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
UnifiedTitleAndToolBar on Yosemite?
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.
Thoughts? Sorry, it has to be a pain keeping up with the times...
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.
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.
You should still open a report with your findings, that will help improve Qt on OS X
Should I? I doesn't seem like a bug but rather my own choice to implement the spacing in that way.
Did you do something unusual ?
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.
I see. So indeed, you're doing something unusual. By the way, are you sure you are following Apple's UI guide lines ?
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...
Beware, not all of them are following the guide lines ;)
I can't really comment on that, both have their pros and cons