Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline textbox selection incorrect #1514

Closed
jackyarndley opened this issue Jan 7, 2021 · 2 comments
Closed

Multiline textbox selection incorrect #1514

jackyarndley opened this issue Jan 7, 2021 · 2 comments
Assignees
Labels
bug does not behave the way it is supposed to shell/win concerns the Windows backend widget concerns a particular widget
Milestone

Comments

@jackyarndley
Copy link

jackyarndley commented Jan 7, 2021

image

I have a multiline textbox which displays an editable string, sometimes updated by my application. When trying to select with the multiline textbox the selection is incorrect.

Using the mouse from the bottom line to the top (selected) line in the screenshot does not select any of the middle lines, and also the top line is selected from the incorrect direction.

This is how the textbox is created:
TextBox::multiline().with_text_size(10.0).expand_width().lens(FractalData::temporary_real)

Using the latest version of druid on windows.

@cmyr cmyr added bug does not behave the way it is supposed to widget concerns a particular widget shell/win concerns the Windows backend labels Jan 11, 2021
@cmyr cmyr self-assigned this Jan 11, 2021
@cmyr
Copy link
Member

cmyr commented Mar 18, 2021

Tracked this down to an issue with not correctly handling selections of lines that are not broken at whitespace; this will be fixed in the next release of piet.

@cmyr cmyr modified the milestones: textbox-polish, piet-4.0 Mar 18, 2021
@cmyr
Copy link
Member

cmyr commented Mar 30, 2021

this should be fixed with #1677

@cmyr cmyr closed this as completed Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug does not behave the way it is supposed to shell/win concerns the Windows backend widget concerns a particular widget
Projects
None yet
Development

No branches or pull requests

2 participants