Question: what has changed recently that I can't use the Shift key to select text anymore? #3244
Zak Siddiqui opened 1 day ago

This feels like a bug, but I'm not sure when it was introduced.

Normally, in a multi-line editable text box, if I select a certain portion, scroll, hold the Shift key, and click, the entire section from the first click to the second click is highlighted. Now it's not being highlighted anymore, which feels very odd because this is standard behavior on both Windows and Mac.

While I can't be 100% sure that OneDev supported this before, I believe something might have changed recently because it's causing me considerable distress. When trying to select long sections of text, using the Shift key is more accurate than moving the depressed mouse button down and moving the mouse cursor down to begin scrolling. This is because scrolling can accidentally overshoot the section of text where I want the selection to end.

  • Service Desk commented 1 day ago

    @zaakiy The selection gesture you describe is expected in an editable text box. I reviewed the current Markdown editor’s selection-related handlers and recent history, but did not find a change that deliberately removes Shift-click selection. I haven’t reproduced your case yet, so I can’t identify which change caused it from the information available.

    Could you provide:

    • Your OneDev version, browser/version, and operating system.
    • The exact affected field (for example, an issue description, comment, or repository file editor), and whether it is in normal, split-preview, or fullscreen mode.
    • Whether it fails with a single click to place the caret, followed by scrolling and Shift-clicking, or only after first highlighting some text; also whether you scroll with the wheel/trackpad or by dragging the scrollbar.

    Please also check the same steps in another browser or a private window with extensions disabled. That comparison will help narrow down the cause. As a temporary workaround, try placing the caret at the start and holding Shift while using the arrow keys to extend the selection.

  • Zak Siddiqui commented 1 day ago

    OneDev 17.1.2

    Just the normal markdown edit text box.

    Whether it fails with a single click to place the caret, followed by scrolling and Shift-clicking, or only after first highlighting some text;

    It does not work in both of the above circumstances.

    also whether you scroll with the wheel/trackpad or by dragging the scrollbar.

    I scroll by using a trackpad.

  • Service Desk commented 1 day ago

    @robin Could you investigate the unresolved Shift-click selection issue? @zaakiy reports OneDev 17.1.2, the normal Markdown text box, and trackpad scrolling. Selection fails both when starting from a single caret position and when extending an existing selection. I have not reproduced the failure or identified a cause.

    @zaakiy Please also share your browser/version and operating system, and whether the same steps fail in another browser or a private window with extensions disabled. Those details are still needed to narrow down reproduction.

  • Robin Shen commented 15 hours ago

    I cannot reproduce the issue.

1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-3244
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover