View Issue Details

IDProjectCategoryView StatusLast Update
0031880LazarusLCLpublic2017-05-21 19:15
ReporterSerge AnvarovAssigned ToMichl 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOSWindowsOS VersionWindows 7
Product Version1.6.4Product Build 
Target Version1.8Fixed in Version1.9 (SVN) 
Summary0031880: Changing ListView.OwnerDraw at design time caused an access violation error
DescriptionChanging ListView.OwnerDraw at design time caused an access violation error
Steps To ReproduceCreate a new project.
Put a ListView.
Change the OwnerDraw to True
Change the OwnerDraw to False - error caused
Additional InformationChanging the OwnerData at runtime works without errors
Tested on trunk 1.9.0, svn 55023 - the error reproduced too
TagsNo tags attached.
Fixed in Revisionr55026
LazTarget1.8
WidgetsetWin32/Win64
Attached Files

Activities

Ondrej Pokorny

2017-05-20 20:29

reporter   ~0100545

No error/exception here: Windows 10 64bit, win32, 32bit compiler, trunk r55023

Michl

2017-05-20 20:40

developer   ~0100546

Could it be, you mixed up OwnerDraw with OwnerData?!

The described AV, I get on 64bit Lazarus 1.6.2 or 64bit Lazarus 1.8 RC1 with FPC 3.0.2, all tested 32bit Lazarusversions doesn't show the AV.

Michl

2017-05-20 22:49

developer   ~0100548

The access violation with OwnerData, I've fixed in Trunk revision 55026.

Serge Anvarov

2017-05-21 13:04

reporter   ~0100554

Last edited: 2017-05-21 13:06

View 3 revisions

I apologize, of course OwnerData.
Now (tested on r55029) there is no error. Thank you.

Michl

2017-05-21 13:37

developer   ~0100558

Please close.

Issue History

Date Modified Username Field Change
2017-05-20 19:26 Serge Anvarov New Issue
2017-05-20 20:29 Ondrej Pokorny Note Added: 0100545
2017-05-20 20:40 Michl LazTarget => -
2017-05-20 20:40 Michl Note Added: 0100546
2017-05-20 20:40 Michl Assigned To => Michl
2017-05-20 20:40 Michl Status new => feedback
2017-05-20 22:49 Michl Note Added: 0100548
2017-05-21 13:04 Serge Anvarov Note Added: 0100554
2017-05-21 13:04 Serge Anvarov Status feedback => assigned
2017-05-21 13:06 Serge Anvarov Note Edited: 0100554 View Revisions
2017-05-21 13:06 Serge Anvarov Note Edited: 0100554 View Revisions
2017-05-21 13:37 Michl Fixed in Revision => r55026
2017-05-21 13:37 Michl LazTarget - => 1.8
2017-05-21 13:37 Michl Note Added: 0100558
2017-05-21 13:37 Michl Status assigned => resolved
2017-05-21 13:37 Michl Fixed in Version => 1.9 (SVN)
2017-05-21 13:37 Michl Resolution open => fixed
2017-05-21 13:37 Michl Target Version => 1.8
2017-05-21 19:15 Serge Anvarov Status resolved => closed