text selection via mouse in chats #140

Closed
opened 2019-03-07 06:29:40 +00:00 by cliff1976 · 2 comments

When I type this text into a chat, keyboard navigation works (arrow keys, home/end keys, ctrl+arrow keys, shift+arrow keys) but text selection via mouse does not. Feels like a bug to me.

I know at least once recently I was able to select text via mouse, so it doesn't seem consistently broken to me. This is 0.1.2 on Linux running from a binary.

When I type this text into a chat, keyboard navigation works (arrow keys, home/end keys, ctrl+arrow keys, shift+arrow keys) but text selection via mouse does not. Feels like a bug to me. I know at least once recently I was able to select text via mouse, so it doesn't seem consistently broken to me. This is 0.1.2 on Linux running from a binary.
Owner

Yup this is a bug. There are actually two bugs with this text field:

  • Mouse selection doesn't work
  • Editing already written text is buggy (adding a space doesn't work for example)

I believe both are caused by the routines that are used to make emoji work in the text field (it's trimming too optimistically and always setting the cursor to the end of a block)

Yup this is a bug. There are actually two bugs with this text field: * Mouse selection doesn't work * Editing already written text is buggy (adding a space doesn't work for example) I believe both are caused by the routines that are used to make emoji work in the text field (it's trimming too optimistically and always setting the cursor to the end of a block)
Owner

this is now resolved

this is now resolved
dan closed this issue 2019-12-18 22:39:54 +00:00
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
3 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/ui#140
No description provided.