The sandbox example crashes when the application style changes from QlementineStyleto a non-qlementine style (e.g. fusionor 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("fusion");
Uncomment the following line in SanboxWindow.cpp: _impl->setupUI_lineEdit();
Compile and run the sandbox
The application crashes
The app seems to crash when there is a QLineEdit. The crash doesn't occur with other non-qlementine widgets, but visual glitches appear (I'll report that later).
Debug information:
OS: Windows 11 23H2
Toolkit: Qt 5.15.2 MSVC2019 32-bit (compiler error with MinGW)
Compile mode: Debug
Crash location: EventFilters.cpp, line 65 in method oclero::qlementine::LineEditButtonEventFilter::eventFilter
The sandbox example crashes 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);
qApplication.setStyle("fusion");
_impl->setupUI_lineEdit();
The app seems to crash when there is a QLineEdit. The crash doesn't occur with other non-qlementine widgets, but visual glitches appear (I'll report that later).
Debug information:
OS: Windows 11 23H2 Toolkit: Qt 5.15.2 MSVC2019 32-bit (compiler error with MinGW) Compile mode: Debug Crash location: EventFilters.cpp, line 65 in method
oclero::qlementine::LineEditButtonEventFilter::eventFilter