[Bug 1552082] Re: String settings with special characters become quoted
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
** Changed in: canonical-devices-system-image Status: Fix Released => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
** Changed in: unity-scopes-shell (Ubuntu) Status: In Progress => Fix Released ** Changed in: unity-api (Ubuntu) Status: In Progress => Fix Released ** Changed in: canonical-devices-system-image Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
Wonderful, thank you for getting this fixed! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Status: New => In Progress ** Changed in: canonical-devices-system-image Importance: Undecided => Medium ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Alejandro J. Cura (alecu) ** Changed in: canonical-devices-system-image Milestone: None => 11 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
Hey Brian, sorry for the really long wait. The linked branches are finally ready for QA signoff (https://requests .ci-train.ubuntu.com/#/ticket/1129). I'm hoping it won't be too long now for the fix to be released. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
** Branch linked: lp:~marcustomlinson/unity-api/lp-1552082 ** Branch linked: lp:~marcustomlinson/unity-scopes-shell/lp-1552082 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
Thanks for the update and the suggestion. I'll have to implement something like that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
** Also affects: unity-api (Ubuntu) Importance: Undecided Status: New ** Changed in: unity-api (Ubuntu) Status: New => In Progress ** Changed in: unity-api (Ubuntu) Assignee: (unassigned) => Marcus Tomlinson (marcustomlinson) ** Changed in: unity-js-scopes Assignee: Marcus Tomlinson (marcustomlinson) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
@Brian, unfortunately changes to unity-scopes-shell take considerably longer to land than changes to our bindings, so I can't promise it'll be available any sooner than 1, maybe 2 weeks. My suggestion would be to implement a workaround in your JS code for the time being that checks for quotes either side of a settings value, then strips them out. At least this way, you can have your scope working ASAP, plus the change will be backward compatible even once the fix lands. Something like this: function unquote(str) { if (str[0] === '"' && str[str.length - 1] === '"') return str.slice(1, str.length - 1); return str; } then later: var setting = unquote(scopes.self.settings["location"].get_string()); -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
Perfect! Thank you for looking into this. Is there an ETA on when this could be released into the wild? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
I've tracked this issue down to a mismatch in string storage formatting between QSettings (used in unity-scopes-shell) and glib (used in unity- api). After some discussion with the team, I think the best way forward would be to standardise on one ini parser across the board. I.e. update unity- scopes-shell to use glib via unity-api's IniParser interface. This way, what goes in, will come out. ** No longer affects: unity-api (Ubuntu) ** Also affects: unity-scopes-shell (Ubuntu) Importance: Undecided Status: New ** Changed in: unity-scopes-shell (Ubuntu) Status: New => In Progress ** Changed in: unity-scopes-shell (Ubuntu) Assignee: (unassigned) => Marcus Tomlinson (marcustomlinson) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1552082] Re: String settings with special characters become quoted
** Also affects: unity-api (Ubuntu) Importance: Undecided Status: New ** Branch linked: lp:~marcustomlinson/unity-api/lp-1552082 ** Changed in: unity-api (Ubuntu) Assignee: (unassigned) => Marcus Tomlinson (marcustomlinson) ** Changed in: unity-api (Ubuntu) Status: New => In Progress ** Changed in: unity-js-scopes Status: In Progress => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552082 Title: String settings with special characters become quoted To manage notifications about this bug go to: https://bugs.launchpad.net/unity-js-scopes/+bug/1552082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs