Skip to content

Windows Multiline selection no longer functioning due to focus conflict #12470

Closed

Description

@ddsjoberg

System details

RStudio Edition : Desktop
RStudio Version :  RStudio 2022.12.0+353 "Elsbeth Geranium" Release (7d165dcfc1b6d300eb247738db2c7076234f6ef0, 2022-12-03) for Windows
OS Version      :  Windows 10
R Version       :  4.2.2

Steps to reproduce the problem

Try to select more than one line and modify the lines. To select multiple lines, hold ALT while using your mouse to select the rows of code to highlight.

Describe the problem in detail

When multiple lines are selected, the cursor auto jumps to the "File" menu.

image

Describe the behavior you expected

What I expect is to have a multi-line cursor to be able to modify multiple lines of code simultaneously.

image

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    new
    on Dec 20, 2022
  2. kleinbub commented on Dec 20, 2022

    @kleinbub

    I have the same issue! Also on win10 and RStudio 2022.12.0+353

  3. ronblum commented on Dec 20, 2022

    @ronblum
    Contributor

    @ddsjoberg Thank you for raising this! I can reproduce this in RStudio Desktop 2022.12.0+353 on Windows 11, a regression from 2022.07.2+576.

    Note: If you press Alt again, the focus will return to the source editor and multiline selection will work.

  4. added and removed
    new
    on Dec 20, 2022
  5. added this to the Backlog-1 milestone on Dec 20, 2022
  6. ddsjoberg commented on Dec 20, 2022

    @ddsjoberg
    Author

    @ronblum thank you for the update and the tip for getting the focus back to the multiline selector!

  7. mikebessuille commented on Jan 19, 2023

    @mikebessuille
    Contributor

    Maybe we should just use alt-shift instead for column selection, so alt can continue to work on Windows for menu accessibility?

  8. ddsjoberg commented on Jan 19, 2023

    @ddsjoberg
    Author

    Maybe just use alt-shift instead for column selection, so alt can continue to work on Windows for menu accessibility?

    Thanks for the suggestion @mikebessuille . I've never used ALT+SHIFT for multiline selections. Just gave it a try, and it was duplicating rows when I pressed the down/up arrow to try and select columns of text.

    Apart from me personally not knowing how to use ALT+SHIFT, the method outlined in the first post is a common way to select columns of text across most editors (well, every single one I've used). I am not experienced in accessibility, so can't speak to how this is handled in all the other code editors (e.g. not sure if it's just ignored?).

  9. kleinbub commented on Jan 20, 2023

    @kleinbub
  10. 11 remaining items

  11. shivam7898 commented on Jan 14, 2024

    @shivam7898

    This bug is still open in RStudio 2023.12.0 Build 369 :(

  12. brry commented on Oct 20, 2024

    @brry

    Any progress on this issue?

  13. removed this from the Later milestone on Oct 23, 2024
  14. added this to the Mariposa Orchid milestone on Oct 28, 2024
  15. changed the title [-]Multiline selection no longer functioning [/-] [+]Windows Multiline selection no longer functioning due to focus conflict[/+] on Jan 15, 2025
  16. self-assigned this
    on Jul 11, 2025
  17. ronblum commented on Jul 15, 2025

    @ronblum
    Contributor

    Verified in RStudio Desktop 2025.08.0-daily+277 on Windows 11.

  18. choikyow commented on Oct 11, 2025

    @choikyow

    Try to disable the enhance pointer precision. Control Panel > Mouse > Properties > Pointer Options > Check off Enhance pointer precision.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions