TouchSelectionControllerClientAura::EnvPreTargetHandler is relevant: it listens to key, mouse and scroll events, and hides the insertion handle as soon as one of those events is registered.
ui::EventTarget is not used in oxide though, so we’d need to monitor input events at a different level. ** Changed in: oxide Status: New => Confirmed ** Changed in: oxide Importance: Undecided => High ** Changed in: oxide Assignee: (unassigned) => Olivier Tilloy (osomon) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu. https://bugs.launchpad.net/bugs/1590776 Title: hide selection handle when start typing Status in Canonical System Image: Confirmed Status in Oxide: Confirmed Status in webbrowser-app package in Ubuntu: Confirmed Bug description: we are showing the selection handle (in addition to the cursor) whenever entering a text field that already has text in it. For example, if you are replying to a Gmail message, you have an annoying blue selection handle blinking where you are trying to type and you can't turn it off. Or on a form, focusing on a field to append text will also show the selection handle. Or a multi line text area, adding a new line and typing at the beginning. Tested Chrome on Android and it behaves differently, and think we should do similar: 1. Show the selection handle initially, but have it disappear when you press any key (space, character, etc.) 2. Tapping anywhere in the field will cause handle to be shown again 3. Also, can we put the selection handle on the bottom of the cursor instead of the top? This is the behavior on Chrome for Android and the rest of our non-html platform in Ubuntu touch. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1590776/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp