GNOME Bugzilla – Bug 783141
Search does not work in Tweak Tool
Last modified: 2017-06-05 12:51:09 UTC
gnome-tweak-tool 3.24.0 Ubuntu 17.04 and Fedora 26 Run gnome-tweak-tool from a terminal. Click the Search button and try to search. This appears in the terminal: Traceback (most recent call last):
+ Trace 237519
tweaks, group = self._model.search_matches(txt)
if t.search_matches(txt):
self.description.decode("utf-8","ignore").lower()
return codecs.utf_8_decode(input, errors, True)
Created attachment 352801 [details] [review] tweakmodel: Factor out a function to prepare strings for searching And use the GLib utf-8 APIs instead of Python's since those are just confusing.
Your patch fixes the problem for me. Thanks!
Attachment 352801 [details] pushed as 692dbde - tweakmodel: Factor out a function to prepare strings for searching
Do you want to push this to gnome-3-24 too?
Thanks for the reminder 35cf208..72dd259 gnome-3-24 -> gnome-3-24