Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-227958] Triple clicking text in a textbox / textarea should only select the current line #6133

Open
sl-service-account opened this issue Dec 4, 2019 · 3 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Dec 4, 2019

How would you like the feature to work?

Most major text editors have the feature of triple-clicking in the text field, and so do many of the text fields and editors in second life.

I have tested the following editors for this behavior:

  • Sublime text

  • Visual studio 2017

  • Notepad

  • Wordpad

    And they all select just a single line on triple-clicking.

Why is this feature important to you? How would it benefit the community?

It would give the notecard/script editor a better feel. Currently, when you accidentally triple-click in a script editor it will select the entire script and also scroll all the way up. This can easily be prevented and made more comfortable by only selecting the current line as currently is the industry standard for triple-clicking text.

Original Jira Fields
Field Value
Issue BUG-227958
Summary Triple clicking text in a textbox / textarea should only select the current line
Type New Feature Request
Priority Unset
Status Accepted
Resolution Accepted
Labels viewer, usability, ui
Reporter Thoys Pan (thoys.pan)
Created at 2019-12-04T00:27:48Z
Updated at 2019-12-10T16:28:37Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'Date of First Response': '2019-12-10T10:28:37.900-0600',
  'How would you like the feature to work?': 'Most major text editors have the feature of triple-clicking in the text field, and so do many of the text fields and editors in second life.\r\n\r\nI have tested the following editors for this behavior:\r\n- Sublime text\r\n- Visual studio 2017\r\n- Notepad\r\n- Wordpad\r\n\r\nAnd they all select just a single line on triple-clicking.\r\n',
  'Original Reporter': 'Thoys Pan (thoys.pan)',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'Target Viewer Version': 'viewer-development',
  'Why is this feature important to you? How would it benefit the community?': 'It would give the notecard/script editor a better feel. Currently, when you accidentally triple-click in a script editor it will select the entire script and also scroll all the way up. This can easily be prevented and made more comfortable by only selecting the current line as currently is the industry standard for triple-clicking text.',
}
@sl-service-account
Copy link
Author

Thoys Pan commented at 2019-12-04T00:29:11Z

I do already have the code to fix this in the viewer. Is there an easy way I can attach this to the Issue or make a pull-request?

@sl-service-account
Copy link
Author

Thoys Pan commented at 2019-12-10T14:56:26Z

I've pushed the fix to my branch which is based on the viewer-release repo 

 

https://bitbucket.org/thoys/secondlife-viewer-release/commits/branch/BUG-227958

@sl-service-account
Copy link
Author

Whirly Fizzle commented at 2019-12-10T16:28:38Z

You should also add yourself to contributions.txt
https://bitbucket.org/thoys/secondlife-viewer-release/src/default/doc/contributions.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant