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

--- Comment #15 from Wismill <[email protected]> ---
(In reply to Nate Graham from comment #11)
> We could easily enough change the
> UI so it always shows the default layout, and then it will be clear how that
> layout relates to other ones should you elect to add more.

Note that there may be *multiple* layouts configured by default if the
corresponding setting is a comma-separated list.

Possible design:
- Add a new variable “system values” to ~/.config/kxkbrc, true by default
- If true when loading the kcm:
  - If there is no relevant, explicit (and valid?) layout values in kxkbrc,
populate the layout list with system values, but do not update the config file.
  - Otherwise set the variable to false and use the custom values.
- Otherwise use the custom values.
- As soon a layout value is manually set, set the variable to false.

(In reply to Nate Graham from comment #12)
> And then we could also get rid of the "Layouts" switch which would no longer 
> serve any purpose.

Oh yes, this is really not intuitive. It would also avoid to reset the layout
list if using the switch by accident. I remember a comment in a bug report, but
I cannot find it.

A proper button “reset to system values” with confirmation would be great.

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

Reply via email to