TBitmap size differs from TBitmap.Canvas
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
TBitmap is created and its size is set to non-zero width and non-zero height but TBitmap.Canvas.Width and TBitmap.Canvas.Height remain 0.
Tested with Qt and GTK2 (Linux, trunk) and Win32 (Wine, 1.2.0).
This is maybe related to: http://bugs.freepascal.org/view.php?id=23112 i.e. (resolving this issue may resolve the 23112 too).
Steps to reproduce:
Run demo.
Click on button.
See output in ListBox.
Additional information:
Lazarus 1.3 r45071M FPC 2.7.1 x86_64-linux-qt
Lazarus 1.2.0 r44303 FPC 2.6.4 i386-win32-win32/win64
Mantis conversion info:
- Mantis ID: 26201
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 45071
- Platform: amd64
- Version: 1.3 (SVN)
- Monitored by: » BigChimp (Reinier Olislagers)