Created attachment 104923 [details] report without the choosen line-stile and colour In view-mode i choose for a text the line style und its colour. After storing, in view-mode its all lost. Opening the view, there is nothing changed.
Confirmed, it worked in 2.x.
Line style is not loaded but it is saved. Also Line weight accepts floating point numbers but only loads integers.
Regarding "Also Line weight accepts floating point numbers but only loads integers" In Kexi 3 we started support weights such as 2.5. They should be preserved. Kexi 2 will still support integer values only. Related bug in Kexi 3 that adds to this issue: Changing properties of Field element does not set report as "modified" so the Save button stays disables. User is able close the design without saving changes. Other types of elements such as Label don't have this issue.
Created attachment 104950 [details] Sample db
I wasnt able to re-produce the problem of fields not setting the 'save' button status. worked fine for the properties i changed. https://phabricator.kde.org/D5391 The original code incorrectly stored the penstyle as a pen. it seems this was added in kreport3 becuase qt5 removed storing a penstlye in a qvariant. recommended options are to cast to an int, as here, or declare a metatype. https://forum.qt.io/topic/23038/solved-qt5-and-qvariant/2
> I wasnt able to re-produce the problem of fields not setting the 'save' button status. worked fine for the properties i changed. I would look at this separately, thanks.