Bug 83778 - Weston-editor text deleted when inserting new text
Summary: Weston-editor text deleted when inserting new text
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
Depends on:
Reported: 2014-09-11 18:12 UTC by Anu Reddy
Modified: 2018-06-08 23:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

weston-editor (1017.16 KB, video/webm)
2014-09-11 18:13 UTC, Anu Reddy

Description Anu Reddy 2014-09-11 18:12:15 UTC
Steps to Reproduce:
1. Launch weston
2. Execute weston-editor
3. Using weston-keyboard, type some text into Entry field.
4. Now, touch anywhere within the line to insert new text
5. Observe that text gets selected.
5. When you try to type new text, the selected text will be deleted. See attached video for more info.

Software Stack
wayland (HEAD) remotes/origin/HEAD-0-g44bf13b 
drm (HEAD) heads/master-16-gd686160 
mesa (HEAD) remotes/origin/10.2-0-g7ffc855 
libva (HEAD) libva-1.3.1-0-g053f70f 
intel-driver (HEAD) 1.3.1-0-ga720bc8 
cairo (HEAD) remotes/origin/1.12-0-g4b65497 
libinput (HEAD) heads/master-163-gbb10ec8
Comment 1 Anu Reddy 2014-09-11 18:13:45 UTC
Created attachment 106152 [details]
Comment 2 U. Artie Eoff 2014-09-11 20:44:06 UTC
I'm not sure what the bug is here.  Most text fields I've ever used overwrite selected text.
Comment 3 Anu Reddy 2014-09-12 04:31:50 UTC
Here the scenario is, user is trying to insert/update existing text by moving the cursor using touch or mouse.  In this case all the text after the cursor is “selected”  and overwritten, user did not intend to overwrite. If there is 15-20 lines of text, in the process of updating the first line by moving the cursor using touch/mouse user will lose all the text. 

The same does not happen when hardware KB is used instead of onscreen weston-keybord.
Comment 4 GitLab Migration User 2018-06-08 23:52:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/weston/issues/45.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.