Summary: | Plasmoid with many text fields in settings only saves specific entries | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | jfitzw7 |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
jfitzw7
2022-10-23 11:36:29 UTC
When you have this problem, if you manually move focus to a different text field by clicking on it, or tabbing to it, does the text field whose focus you just moved away from get its text saved properly when you click OK or Apply? I ask because I suspect your use of alias properties is the issue here because yo're falling back on the text fields' default behavior to only save when losing focus, and what you should do instead is use onTextChanged: handlers to manually set the values of the magic cfg_[whatever] variables. Regardless, I'm afraid isn't the place to be asking for development assistance; a better place would be the #plasma Matrix room or the plasma-devel@kde.org mailing list. |