[kate] [Bug 523871] New: (auto-close brackets when opening bracket is typed) typing \" in json files will duplicate the " symbol
connor <[email protected]> Tue, 04 Aug 2026 22:29:45 +0000
| Newsgroups | gmane.comp.kde.devel.bugs |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=3D523871
Bug ID: 523871
Summary: (auto-close brackets when opening bracket is typed)
typing \" in json files will duplicate the " symbol
Classification: Applications
Product: kate
Version First 25.04.3
Reported In:
Platform: SteamOS
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: application
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 194862
--> https://bugs.kde.org/attachment.cgi?id=3D194862&action=3Dedit
screenshot of json text with how quote marks should look, and how they look
after you type them in kate . bright green arrows with the words 'nice' and
'BAD!' attached
DESCRIPTION
if you're editing a json file ; type \" to add a " symbol to text ; it will
become \"" instead . this doesnt happen if you add \" before a word (e.g. W=
ORD
to \"WORD works correctly); instead it only happens before a space (e.g. ONE
TWO to \"ONE\" TWO --- will become \"ONE\"" TWO instead)
STEPS TO REPRODUCE
1. have autobrackets enabled
2. open a .json file and have text in it . for example:
"bandage": "Dressing",
"bandagedsc": "A roll of dressing with a bandage, used to s=
low
down bleeding, stabilize fractures and aid skin healing. Has no effect on
muscle health.",
3. try to wrap any word in "quotes" . that doesnt work in json, so you have=
to
format it as \"quotes\"
OBSERVED RESULT
quotation marks work normally and i get "A roll of \"dressing\" with banda=
ge
etc etc."
EXPECTED RESULT
quotation marks before a space work abnormally and i get "A roll of
\"dressing\"" with bandage etc etc."; which breaks the entire json after t=
he
incorrect \""
SOFTWARE/OS VERSIONS
Operating System: SteamOS 3.8.16 Build: 20260716.1
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
ADDITIONAL INFORMATION
removing " from enclosing character doesnt fix this (for some reason)
disabling autobrackets fixes this (as it should)
--=20
You are receiving this mail because:
You are watching all bug changes.=