Impossible to change enter button without unfocusing the textfield

Bug #1384278 reported by Riccardo Padovani
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-keyboard
Fix Released
Undecided
Michael Sheldon
ubuntu-keyboard (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntu-keyboard (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

In webbrowser app we want to change enter icon on keyboard following what's the address in the addressbar. So if the url in addressbar is the same of page url we want the reload icon, if not we want the enter icon.

Unfortunately to change icon we need to reload the keyboard, and to do this we need to unfocus and focus again the textfield, that isn't a viable way.

This is the code I tried, and it isn't calculate in realtime
InputMethod.extensions: {
     "enterKeyIconSource": actionStatus == "reload" ? "reload" : "keyboard-enter"
}

Related branches

Changed in ubuntu-keyboard:
assignee: nobody → Michael Sheldon (michael-sheldon)
Bill Filler (bfiller)
Changed in ubuntu-keyboard:
status: New → Fix Committed
Changed in ubuntu-keyboard (Ubuntu):
status: New → In Progress
Changed in ubuntu-keyboard:
status: Fix Committed → In Progress
Changed in ubuntu-keyboard (Ubuntu RTM):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-keyboard - 0.99.trunk.phablet2+15.04.20150108-0ubuntu1

---------------
ubuntu-keyboard (0.99.trunk.phablet2+15.04.20150108-0ubuntu1) vivid; urgency=low

  [ CI Train Bot ]
  * Resync trunk

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Renato Araujo Oliveira Filho ]
  * Make sure that changes on "InputMethod.extensions" property get
    propagated to maliit. (LP: #1384278)

  [ Michael Sheldon ]
  * Fix keyboard visibility reporting (LP: #1404309)
  * Extend existing autopilot tests to more thoroughly test each layout,
    add new tests for extended keys and ".com" key and fix crash when
    using keyboard after autopilot tests have been run.
  * Speed up individual backspaces and switch between individual and
    word backspace based on 3 words having been deleted instead of 3
    seconds having passed. (LP: #1347488)
 -- Ubuntu daily release <email address hidden> Thu, 08 Jan 2015 18:07:56 +0000

Changed in ubuntu-keyboard (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-keyboard - 0.99.trunk.phablet2+15.04.20150119~rtm-0ubuntu1

---------------
ubuntu-keyboard (0.99.trunk.phablet2+15.04.20150119~rtm-0ubuntu1) 14.09; urgency=low

  [ Michael Sheldon ]
  * Deactivate autocaps if we receive find out we're in a field that
    doesn't support it after having already entered the field (LP:
    #1412460)
  * Add dependencies for any keyboard layouts used in autopilot tests
 -- Ubuntu daily release <email address hidden> Mon, 19 Jan 2015 16:21:41 +0000

Changed in ubuntu-keyboard (Ubuntu RTM):
status: In Progress → Fix Released
Changed in ubuntu-keyboard:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.