View Issue Details

IDProjectCategoryView StatusLast Update
0036182LazarusLCLpublic2019-10-14 19:10
ReporterBart BroersmaAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformi386OSWindowsOS Version10
Product Version2.1 (SVN)Product Buildr61683 
Target VersionFixed in Version 
Summary0036182: Grids: unrecoverable visual mess when exception is raised inside LoadContent.
DescriptionIf an exception occurs inside LoadContent, then the grid becomes a visual mess.
Eventuallu all celss will get the color of the form (or maybe it is FixedColor).
If you hide/show the form also the background gets that color.

It does not matter if the exception is handled by the caller or not.
Steps To ReproduceRaise an exception in LoadContent, then do a LoadFromFile.
(I implemented such behaviour in TValueListEditor, where it is not OK to parse silently ignore errors in the XML)
Additional InformationOnly tested on Windows.
TagsNo tags attached.
Fixed in Revision
LazTarget
Widgetset
Attached Files

Activities

Bart Broersma

2019-10-14 19:10

developer   ~0118601

Screenshot attached.

Issue History

Date Modified Username Field Change
2019-10-14 19:09 Bart Broersma New Issue
2019-10-14 19:10 Bart Broersma File Added: visual-mess-after-exception-in-loadcontent.png
2019-10-14 19:10 Bart Broersma Note Added: 0118601