GNOME Bugzilla – Bug 752383
Improve input source chooser responsiveness
Last modified: 2015-07-22 14:34:27 UTC
This never worked very well (sluggish response while filtering) so I think it's time to compromise the design a bit but make it work better at least.
Created attachment 307416 [details] [review] region: Avoid overly long labels causing horizontal scrolling Just ellipsize them instead.
Created attachment 307417 [details] [review] region: Don't ever show all input sources in the chooser While filtering we're adding all the input source rows to the GtkListBox. This is a performance issue since GtkListBox doesn't really cope with a big number of rows. Instead, we'll filter the locale rows in a way such that we'll show a locale row for which any input source name matches. From this filtered locales view, users will still need to activate a locale row to get to the input source rows view.
Review of attachment 307416 [details] [review]: Sure.
Review of attachment 307417 [details] [review]: That looks good overall, and fine code-wise, but I'd like to get buy-in from the designers.
Allan, can you try this and give us your opinion?
Comment on attachment 307416 [details] [review] region: Avoid overly long labels causing horizontal scrolling Attachment 307416 [details] pushed as f2f4626 - region: Avoid overly long labels causing horizontal scrolling
(In reply to Rui Matos from comment #2) > Created attachment 307417 [details] [review] [review] > region: Don't ever show all input sources in the chooser Just returning locales as search results isn't as good as returning input sources. And if the number of sources is the reason for the slowness, can't we just kill some of the crazy ones that no one ever uses (pretty please)? But sure, the change seems acceptable...
(In reply to Allan Day from comment #7) > Just returning locales as search results isn't as good as returning > input sources. And if the number of sources is the reason for the > slowness, can't we just kill some of the crazy ones that no one ever > uses (pretty please)? Right, but that's a hornets nest I don't want to stir for now... > But sure, the change seems acceptable... ok, thanks Attachment 307417 [details] pushed as 66604d4 - region: Don't ever show all input sources in the chooser