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

            Bug ID: 488269
           Summary: Layouts: Editing shortcut does not change the "needs
                    save" state, i.e. does not refresh the Apply button
    Classification: Applications
           Product: systemsettings
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_keyboard
          Assignee: plasma-b...@kde.org
          Reporter: m...@ratijas.tk
                CC: butir...@gmail.com, natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY
The model changes such as changing the Shortcut of a layout are not wired up to
call KCMKeyboard::settingsChanged() in order to refresh the
KCMKeyboard::isSaveNeeded() state. This means you can't apply a new shortcut
unless you also change some other setting as well.

STEPS TO REPRODUCE
1. Open Keyboard KCM, navigate to the Layouts tab.
2. Check the Configure Layouts check box.
3. Add some layouts to the table.
4. Apply any pending changes now, make sure that the Apply button is disabled.
5. Double click any layout's Shortcut column.
6. Input some key sequence, and click the Reassign shortcut button (the one
with a check mark, on the right of the key sequence input button).

OBSERVED RESULT
The Apply button is still disabled, despite having pending changes to save. If
you change any other option such as Switching Policy, the Apply button would
become enabled again; then you could click it and change Switching Policy back
and click again so that only changes to the shortcuts persist.

EXPECTED RESULT
Changes to the shortcuts should update the Apply button.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: git-master
KDE Frameworks Version: git-master
Qt Version: 6.7.1
Kernel Version: 6.9.3-arch1-1 (64-bit)
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to