New project flatpak JSON contains invalid JSON after changing Configure Options
@subpop
Submitted by Link Dupont Link to original bug (#785831)
Description
STEPS TO REPRODUCE
- Create new GNOME project
- Select 'Build Preferences' (Alt-,)
- Add --enable-debug to 'Configure Options'
EXPECTED RESULTS The '--enable-debug' option to be added to the flatpak JSON file.
ACTUAL RESULTS The JSON file ends up with some invalid unicode characters. This diff:
diff --git a/org.gnome.TestJson.json b/org.gnome.TestJson.json index c38fd29..641ef30 100644 --- a/org.gnome.TestJson.json +++ b/org.gnome.TestJson.json @@ -46,7 +46,8 @@ "type": "git", "url": "file:///home/link/Projects/test-json" }
-
]
-
}
+<C0>``<94>
,
-
"config-opts": ["--enable-debug"],
-
}
}
NOTES Typing into the Configure Options text field is also extremely laggy. It feels as if some heavy validation is being run on each character entry into the field.
gnome-builder-3.24.2-2.fc26.x86_64