You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a summary of a discussion we had on Mattermost:
When creating an in-process virtual keyboard, certain behaviours are either difficult or impossible to implement:
Scenario 1: A text input field is focused and the virtual keyboard is shown (after TextInputInterface.text-input-focused became true.
It may be desirable to implement behaviour that when user clicks on any other UI element that does not accept the focus, the focus should be cleared and virtual keyboard should be hidden.
Clicking on the currently focused text input field should continue to delivery these events directly there (for example for cursor placement).
Scenario 2: To avoid that gaps between keys in the virtual keyboard let touch events fall through and activate elements underneath, one currently has to work around this with a TouchArea.
Scenario 3: Regardless of a system virtual keyboard, you may want to have your own in-process virtual keyboard and use that instead of a system provided one. That implies overriding the behaviour of the Slint backend.
The idea we had was that perhaps we should have a VirtualKeyboardBase built-in element in Slint, that behaves (towards the compiler as well as the run-time) similar to PopupWindow:
Its geometry conveys to the run-time where the keyboard is within the window. That addresses automatically scenarios Simon/glow #2.
This is a summary of a discussion we had on Mattermost:
When creating an in-process virtual keyboard, certain behaviours are either difficult or impossible to implement:
Scenario 1: A text input field is focused and the virtual keyboard is shown (after
TextInputInterface.text-input-focused
became true.Scenario 2: To avoid that gaps between keys in the virtual keyboard let touch events fall through and activate elements underneath, one currently has to work around this with a TouchArea.
Scenario 3: Regardless of a system virtual keyboard, you may want to have your own in-process virtual keyboard and use that instead of a system provided one. That implies overriding the behaviour of the Slint backend.
The idea we had was that perhaps we should have a
VirtualKeyboardBase
built-in element in Slint, that behaves (towards the compiler as well as the run-time) similar toPopupWindow
:VirtualKeyboardBase
could be used to configure behaviour such as in scenario Try upgrading to a newer rust version #1.The text was updated successfully, but these errors were encountered: