Bug 83778

Summary: Weston-editor text deleted when inserting new text
Product: Wayland Reporter: Anu Reddy <anasuyax.r.nannuri>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: janarne
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: weston-editor

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]
weston-editor
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.