Forum
Sign Up

Can't use Office2016 style while disabling AA_DontCreateNativeWidgetSiblings

6 months 2 weeks ago - 6 months 2 weeks ago #7 by Adam
If I disable AA_DontCreateNativeWidgetSiblings, the rendering problems go away assuming I have also turned off the Qtitanribbon Office2016 style. If I leave the Office2016 style on and disable AA_DontCreateNativeWidgetSiblings, then the Ribbon UI hangs on startup.

But we have to use the qtitanribbon Office2016 style(or some derivative of it that we create for our specific purposes) to properly display the ribbons.
Last edit: 6 months 2 weeks ago by Adam.

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #8 by Adam
Any updates? I posted a screenshot and answered your questions.

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago - 6 months 1 week ago #9 by Developer Machines
Unfortunately, we can't reproduce the issue by your description. We have commented out AA_DontCreateNativeWidgetSiblings here:

MaterialWidget::MaterialWidget(QWidget* parent, Qt::WindowFlags f)
{
...
//qApp->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
}

Office 2016 style works as expected.
Last edit: 6 months 1 week ago by Developer Machines.

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #10 by Adam
Thanks for the response. If I disable the creation of our main OpenGL window on startup, the hang goes away. If I later click a button in the UI to create the OpenGL window, everything appears fine. So I know it's related to the creation of the OpenGL window.

We trigger the creation of the OpenGL window on startup via a singleShot QTimer event. It was set to 0 second delay. I changed it to a 10s delay for testing and the hang is still there. There's someting problematic about the singeShot event. Any ideas?

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.136 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )