You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows Multiline selection no longer functioning due to focus conflict #12470
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.
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.
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.
Reacted by Bruno Mioto, Desi Quintans, Christopher T. Kenny, alexfg, Ron Togunov, Nicholas Spyrison, PhD, Sean Higgins, Brice Nocenti, Darren Burns, olivroy and 5 more
@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.
Reacted by Daniel Sjoberg, Bruno Mioto, Daniel Smith, Berry Boessenkool, Christopher T. Kenny, alexfg, Shaun Nielsen, Juan David Leongomez, peteowen1, notPlancha and 2 more
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?).
I can confirm that ALT and drag is the standard for multiline selections in
most mainstream editors such as Notepad++, VisualStudio, Matlab. I think
that keeping the behaviour consistent with these, as well as previous
RStudio versions, would be the best choice in terms of UX.
The press and release of the ALT key without any mouse click should instead
enable the windows menu controls.
On Thu, 19 Jan 2023 at 20:06, Daniel Sjoberg ***@***.***> wrote:
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
<https://github.com/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?).
—
Reply to this email directly, view it on GitHub
<#12470 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGMN63UQRZFSKUIJVXY3KDTWTGGFBANCNFSM6AAAAAATEYUHKA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
changed the title [-]Multiline selection no longer functioning [/-][+]Windows Multiline selection no longer functioning due to focus conflict[/+]on Jan 15, 2025
Activity
kleinbub commentedon Dec 20, 2022
I have the same issue! Also on win10 and RStudio 2022.12.0+353
ronblum commentedon Dec 20, 2022
@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.
ddsjoberg commentedon Dec 20, 2022
@ronblum thank you for the update and the tip for getting the focus back to the multiline selector!
mikebessuille commentedon Jan 19, 2023
Maybe we should just use alt-shift instead for column selection, so alt can continue to work on Windows for menu accessibility?
ddsjoberg commentedon Jan 19, 2023
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?).
kleinbub commentedon Jan 20, 2023
11 remaining items
shivam7898 commentedon Jan 14, 2024
This bug is still open in RStudio 2023.12.0 Build 369 :(
brry commentedon Oct 20, 2024
Any progress on this issue?
[-]Multiline selection no longer functioning [/-][+]Windows Multiline selection no longer functioning due to focus conflict[/+]ronblum commentedon Jul 15, 2025
Verified in RStudio Desktop 2025.08.0-daily+277 on Windows 11.
choikyow commentedon Oct 11, 2025
Try to disable the enhance pointer precision. Control Panel > Mouse > Properties > Pointer Options > Check off Enhance pointer precision.