ubports / keyboard-component

Moved to https://gitlab.com/ubports/core/lomiri-keyboard
https://gitlab.com/ubports/core/lomiri-keyboard
GNU Lesser General Public License v3.0
10 stars 36 forks source link

Make the 'Advanced text functions' known with an icon #103

Closed Mondane closed 4 years ago

Mondane commented 5 years ago

From the OTA-11 release notes:

Your keyboard, now smarter Kugi has outdone himself this time. With this update you'll find a new way to edit text via the Ubuntu Touch on-screen keyboard: the Advanced Text Functions. Using this feature, you can move around your typed text, undo and redo actions, move around a text selection rectangle, and use the cut/copy/paste commands, all from the same overlay. To get started, press and hold the space bar!

We are still unsure about the discoverability of this feature, so stay tuned for changes that will make it even easier to find and use!

About that last sentence, why not add an icon the the space bar as is done for e.g. the accents etc. A sketch from Telegram made by YougoChats based on my explanation:

image

SanderKlootwijk commented 5 years ago

Great idea! Here's a quick design example (I've used the edit.svg file from the Suru icons).

afbeelding

Flohack74 commented 5 years ago

Greast idea, the only problem I am afraid of is that we need to patch this in all keyboards since the icons are drawn based on the key definitions per custom keyboard. If we find a way to do it in a common base class then I think it would work.

UniversalSuperBox commented 5 years ago

Nah, it's all one key: https://github.com/ubports/keyboard-component/blob/xenial/qml/keys/SpaceKey.qml

UniversalSuperBox commented 4 years ago

An alternative to this was merged in https://github.com/ubports/keyboard-component/pull/98