You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visual glitches appear in the sandbox example when the application style changes from QlementineStyle to a non-qlementine style (e.g. fusion or windowsvista) after the main window (SandboxWindow) is created.
How to reproduce:
In main.cpp file, comment out window->setCustomStyle(style);
In main.cpp file, put the following code after main window creation:
qApplication.setStyle("windowsvista"); // or qApplication.setStyle("fusion");
qApplication.setPalette(qApplication.style()->standardPalette()); // Force new style palette
Replace commented lines in the SandboxWindow constructor with the following code in SanboxWindow.cpp:
Visual glitches appear in the sandbox example when the application style changes from
QlementineStyle
to a non-qlementine style (e.g.fusion
orwindowsvista
) after the main window (SandboxWindow
) is created.How to reproduce:
window->setCustomStyle(style);
With
fusion
styleWith
windowsvista
styleNote: Visual glitches don't occur when switching between
fusion
,Windows
andwindowsvista
styles.Debug information:
OS: Windows 11 23H2
Toolkit: Qt 5.15.2 MSVC2019 32-bit
Compile mode: Debug
The text was updated successfully, but these errors were encountered: