https://bugs.kde.org/show_bug.cgi?id=402896
Bug ID: 402896
Summary: .editorconfig makes Kate gui settings unapplicable
Product: kate
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
.editorconfig support proposed in https://bugs.kde.org/show_bug.cgi?id=330843
have consequences that kate gui config is un-applicable when .editoconfig file
exist and has set options which conflicts with those from Kate.
This may be confusing for users as app behavior doesn't match what they see is
set in config and not everyone is aware that such thing like .editoconfig may
exist and overrides kate settings.
This is a follow up from https://bugs.kde.org/show_bug.cgi?id=397956
cat ~/.editorconfig
# http://editorconfig.org
root = true
[*]
trim_trailing_whitespace = true
STEPS TO REPRODUCE
1. rm ~/.kateconfig
2. rm ~/.config/katerc
3. rm ~/.config/katepartrc
4. rm ~/kate_test
5. echo " " >kate_test
6. kate kate_test
7. Chose from toolbar: "Settings" -> "Open/Save" -> "General" -> "Remove
trailing spaces" -> "Never" -> "Apply" -> "Ok"
8. Click "Save" button (notice "Undo button is activated which means changes
are done in document)
9. Close kate
10. rm ~/.editorconfig
11. rm ~/.kateconfig
12. rm ~/.config/katerc
13. rm ~/.config/katepartrc
14. rm kate_test
15. echo " " >kate_test
16. kate kate_test
17. Chose from toolbar: "Settings" -> "Open/Save" -> "General" -> "Remove
trailing spaces" -> "Never" -> "Apply" -> "Ok"
18. Click "Save" button from toolbar (notice "Undo button isn't activated which
means there aren't changes done in document)
OBSERVED RESULT
Settings in GUI are ignored by kate
EXPECTED RESULT
Settings in GUI are honored by kate
SOFTWARE/OS VERSIONS
Kde plasma:5.14.4
Kde frameworks: 5.53.0
Qt: 5.12.0
Kate: 18.12.0
Distro: Arch Linux
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.