Created attachment 163636 [details] video of me demonstrating the bug I am describing SUMMARY When creating a label for a widget on a form in Kexi, text entered directly into the label doesn't seem to get retained when saved. It reverts back to its original, default Text property value (e.g., "Label", "Label 2", etc.). STEPS TO REPRODUCE 1. Open Kexi. 2. Select "New...", "Blank Database"; "File" [storage method]; fill out name and destination directory. 3. Under Create tab, select Form. 4. In Form Design tab, select Label. 5. Click and drag to create a new label in the form design area. 6. Type in desired label text (program defaults to letting you type into the label itself, not the Properties pane). 7. Click somewhere outside of label to lock its contents into place. 8. Save the form. 9. Close form. 10. Reopen form. OBSERVED RESULT Desired label text that was typed in before saving form was not retained after saving, closing, and reopening form. EXPECTED RESULT When reopening saved form, text would be what had been originally typed directly into the label upon its creation. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Operating System: Ubuntu Studio 22.04 KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.3 Kernel Version: 5.15.0-89-lowlatency (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5 CPU M 540 @ 2.53GHz Memory: 7.7 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics ADDITIONAL INFORMATION A workaround seems to be just typing the desired label text into the Text property in the Properties pane (see attached video). I am new to Kexi, but I looked through existing bug reports and did not see one related to this. Thank you
Thanks so much Jon for the great report! Confirmed.
Changes the bug's title since the issue also applies to check box, button, link button.
I didn't catch those. Thanks!
(and text box and editor)
Git commit 0d58920bafff495a90a4fced62da7f962ee2d9c5 by Jaroslaw Staniek. Committed on 01/12/2023 at 01:14. Pushed by staniek into branch '3.2'. Fix: Inline Text property not saved unless using the Properties pane Affected form widgets were: label, text box, text editor, check box, button, link button. (inline editing in the text editor is still not functional though) FIXED-IN:3.2.1 M +7 -0 src/plugins/forms/widgets/main/KexiMainFormWidgetsFactory.cpp https://invent.kde.org/office/kexi/-/commit/0d58920bafff495a90a4fced62da7f962ee2d9c5
Done :)