Forum
Sign Up

Menu backgrounds broken on some styles

7 months 4 weeks ago - 7 months 4 weeks ago #1 by Joel
It looks like some of the styles 9for example the Office 2016 styles) are somewhat "broken" on Windows 11: The menus a seem to have a transparent background:



This appears to be the case with both QtitanRibbon 6.5.0 and QtitanRibbon 6.7.0.
The exact same code does not have this issue on a Windows 10 machine.

Any ideas?
Attachments:
Last edit: 7 months 4 weeks ago by Joel.

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

More
7 months 4 weeks ago - 7 months 4 weeks ago #2 by Developer Machines
What Qt version are you using? We can't reproduce it on Qt6.6.3 and Qt5.15.2.
Last edit: 7 months 4 weeks ago by Developer Machines.

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

More
7 months 4 weeks ago #3 by Joel
Qt 6.7.0
GCC 13.2.0 (mingw64 via msys2)
QtitanRibbon 6.7.0
Windows 11

We compiled QtitanRibbon on that environment/configuration the same way we always have.

This issue can be reproduced with the "Application" example that ships with QtitanRibbon (i.e. does not seem to be specific to how we use the component in our application).

Furthermore, running the same binaries under Windows 10 does not seem to suffer from this issue (menus are not transparent on Windows 10).

We're unable to use a different Qt version as we have to live with what the package manager currently gives us (compiling Qt ourselves is right now not desirable for our Windows builds).

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

More
7 months 3 weeks ago #4 by Developer Machines
Indeed, this error is related to Qt6.7, since the Qt team introduced a new Windows 11 style and our styles somehow conflict with it. Version Qt6.7 is not supported yet, please use Qt6.6.3. Among other things, version Q6.7 contains a more serious bug - the mechanism for customizing the main window's title bar is broken (the same issue under Qt6.6.2, only Qt6.6.3 can be used at the moment). These are the bug-reports:

bugreports.qt.io/browse/QTBUG-117704
bugreports.qt.io/browse/QTBUG-124250

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

More
5 months 2 weeks ago #5 by Joel
Are you guys able to provide a hotfix or workaround for this by now?

I understand the statement regarding "just use a support Qt version". However, on some platforms such as many Linux distros or msys2/cygwin on Windows there's only one Qt version available via packages.

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

More
4 months 6 days ago - 4 months 6 days ago #6 by Mark
I think this is a Qt bug - bugreports.qt.io/browse/QTBUG-125474

If it's the same problem, then it only occurs if you show control with the windows11 style and then switch to the windowsvista style then you see the transparent menu. If you switch to the windowsvista style before showing anything then you can avoid the bug.

I've found the windows11 style to be pretty buggy (maybe it's only supposed to be an alpha release), so am using the windowsvista style. Will give the windows11 style more time to mature before using it in production.
Last edit: 4 months 6 days ago by Mark.

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.146 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 )