GNOME Bugzilla – Bug 659743
keyboard: pop up initially
Last modified: 2011-10-17 18:55:37 UTC
When I don't have focus in an entry and go to the a11y menu to turn on the keyboard, apparently nothing happens. I think it would be better to always show the keyboard initially, just to make it clear that the switch had an effect.
Created attachment 197675 [details] [review] keyboard: show the keyboard immediately when the user toggles it on Enabling the keyboard currently doesn't give much notification. Make it so that the keyboard shows right away when it first gets turned on.
Review of attachment 197675 [details] [review]: Looks good, one small style nit otherwise fine. ::: js/ui/keyboard.js @@ +212,3 @@ this._a11yApplicationsSettings = new Gio.Settings({ schema: A11Y_APPLICATIONS_SCHEMA }); this._a11yApplicationsSettings.connect('changed', Lang.bind(this, this._settingsChanged)); + this._settingsChanged(null); Kind of ugly ... just don't pass anything and check for undefined instead of null.
(In reply to comment #2) > Kind of ugly ... just don't pass anything and check for undefined instead of > null. OK. I did it that way originally, but I felt it ended up looking sort of magical, and was clearer with an explicitly-null object there...
Attachment 197675 [details] pushed as ff20fe8 - keyboard: show the keyboard immediately when the user toggles it on