Description
The existing functions in Crucible to select text are a bit clumsy and nonstandard:
- click and drag selects source text at a per-line granularity and immediately opens a comment box on the selected lines
- Alt-click and drag selects the text displayed in the source window... but it includes both the line numbers and the text within the selection.
Alt-click is nonstandard and odd, and you don't know to do it unless you go out and search and find it in the documentation (https://confluence.atlassian.com/display/CRUCIBLE016/2.3.1+Adding+Comments at the very end: "To select text on the page without adding a comment, hold down the Alt button while dragging the cursor.")
I would propose the following:
- Separate the line numbers and the source text in the HTML DOM, so it is not possible to copy the line numbers as part of the text.(which screws up text formatting) Allow users to either select lines via the line numbers portion of the display, or select text via the source text portion of the display.
- Either of the following behavior:
- Drag-and-select line numbers to add a comment on lines; drag-and-select text of the lines should work normally and allow the web browser's copy function to work as it normally does. (I'd prefer this behavior)
- Drag-and-select line numbers to add a comment on lines; drag-and-select text of the lines should pop up a pair of HTML buttons, one of which says "add comment", the other says "copy to clipboard"
Many people have commented on the odd behavior of Crucible's text selection, in the following issues, and it should really use something with a more natural user interface.
Attachments
Issue Links
- relates to
-
CRUC-7779 Allow user to easily select one or more lines of source code to copy, to comment on them and to scroll the page
- Not Being Considered