[kde] [Bug 460894] New: Plasmoid with many text fields in settings only saves specific entries

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Oct 23 12:36:29 BST 2022


https://bugs.kde.org/show_bug.cgi?id=460894

            Bug ID: 460894
           Summary: Plasmoid with many text fields in settings only saves
                    specific entries
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: jfitzw7 at gmail.com
  Target Milestone: ---

SUMMARY
I have a basic Plasmoid that includes many (14!) text entry fields on its
settings page. The plasmoid behaves erratically in terms of saving the contents
of these fields.
The first, second, and every Odd numbered entry work completely fine. But every
even numbered entry after the 2nd 
has the same problem: If I enter any text, none of it will be saved nor applied
to the plasmoid after saving. Furthermore, the Apply button will remain grey
the entire time too, and will only become clickable if I enter text into one of
the working text fields instead.

In my code, every text field is written exactly the same way. I took to Reddit
for advice and another user there confirmed that it didn't look like there was
anything particularly wrong with the plasmoid itself, and was likely a KDE
Sided bug.

The code for my Plasmoid in particular is located here:
https://github.com/Jacksaur/SuburbanLauncher
I wish I could test this further, but I'm afraid I have absolutely zero actual
code knowledge, and have just been throwing this project together from
fragments I've found in other projects. I'm certain there's better ways my
settings page could be laid out as well, but it's beyond me on how to
accomplish that.

STEPS TO REPRODUCE
1. Install Plasmoid linked above (Or create one with 14 or more Text fields?)
2. Open plasmoid settings and add text to each text field
3. Apply or click OK and view plasmoid on desktop.

OBSERVED RESULT
First, Second, and every Odd numbered field will have saved its entry, and
display on the Plasmoid properly. Every even numbered entry after the second
will be blank again when the settings panel is opened. Even numbered fields
will not allow the Apply button to be clicked when they are the only things
being changed either.

EXPECTED RESULT
All entries should save, and the Apply button should update when any field is
edited.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list