View Issue Details

IDProjectCategoryView StatusLast Update
0036771PatchesPackagespublic2020-03-08 13:37
ReporterC Western Assigned ToMarco van de Voort  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.7 (SVN) 
Summary0036771: Virtual tree view does not compile
DescriptionA recent change to FPC means that Virtual tree view does not compile under the current FPC trunk. See attached patch
TagsNo tags attached.
Fixed in Revisionr62712
LazTarget-
Widgetset
Attached Files

Activities

C Western

2020-03-08 10:33

reporter  

virtree.patch (826 bytes)   
diff -uwNr '--exclude=.svn' '--exclude=Makefile' '--exclude=Makefile.fpc' '--exclude=Makefile.compiled' '--exclude=*.rsj' '--exclude=*.bak' '--exclude=*.po' lazarus/components/virtualtreeview/laz.virtualtrees.pas lazarus.w/components/virtualtreeview/laz.virtualtrees.pas
--- lazarus/components/virtualtreeview/laz.virtualtrees.pas	2020-02-22 21:11:44.800349283 +0000
+++ lazarus.w/components/virtualtreeview/laz.virtualtrees.pas	2020-03-08 09:16:12.343808418 +0000
@@ -6067,7 +6067,7 @@
 begin
   with FHintData do
   begin
-    if Tree is TCustomVirtualDrawTree and Assigned(Node) then
+    if (Tree is TCustomVirtualDrawTree) and Assigned(Node) then
     begin
       // The draw tree has by default no hint text so let it draw the hint itself.
       // HintBorderWidth is a private constant in hint code and is set to two
virtree.patch (826 bytes)   

Juha Manninen

2020-03-08 13:37

developer   ~0121455

Marco apparently fixed it already.

Issue History

Date Modified Username Field Change
2020-03-08 10:33 C Western New Issue
2020-03-08 10:33 C Western File Added: virtree.patch
2020-03-08 13:37 Juha Manninen Assigned To => Marco van de Voort
2020-03-08 13:37 Juha Manninen Status new => resolved
2020-03-08 13:37 Juha Manninen Resolution open => fixed
2020-03-08 13:37 Juha Manninen Fixed in Revision => r62712
2020-03-08 13:37 Juha Manninen LazTarget => -
2020-03-08 13:37 Juha Manninen Note Added: 0121455