Revision 64575 breaks LCLQt5+Windows in connection with AnchorDocking together with a docked-form with TTreeView
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
-
Reporter name: Benjamin Rosseaux
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
- Reporter name: Benjamin Rosseaux
Description:
Revision 64575 breaks LCLQt5+Windows in connection with AnchorDocking together with a docked-form with TTreeView
a AV occurs then in the ShellCtrls.pas somewhere at
ico := GetShellIcon(WideString('C:'));
try
Result := Types.Size(ico.Width, ico.Height);
FBuiltinIconSize := Result;
finally
ico.Free;
end;
in direction to the "ico.Free;" code line
This is inside a {$ifdef mswindows}
block?
My suggestion would be to undo the changes in #64575, so that the Qt5 widgetset is fully usable under Windows again, and redo the #64575 changes on pure Win32-LCL-widgetset-implementation-level instead with a global {$ifdef mswindows}
block inside the ShellCtrls.pas. Because this is not LCL-widgetset portable in my view.
Mantis conversion info:
- Mantis ID: 38517
- OS: Windows
- OS Build: 10
- Build: 64575
- Platform: Qt5
- Version: 2.1 (SVN)
- Monitored by: » @bero1985 (Benjamin Rosseaux)