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
RStudio closes when attempting to drag the window to another monitor or resize the window. #18803
RStudio Edition : Desktop
RStudio Version : RStudio 2026.09.0+174
OS Version : Windows 10
R Version : 4.6.1.
Steps to reproduce the problem
Open RStudio
Try dragging the window to another screen or resizing it with the mouse
RStudio crashes
Describe the problem in detail
The issue occurs on both the latest version of RStudio and the previous version (2026.08.02-200).
I have a computer with three screens (2x FHD, 1x 4K). I usually run RStudio in full-screen mode on the largest monitor. RStudio crashes when I try to drag it to another screen or resize it using the mouse. I can move RStudio to another screen using the [Win] + arrow keys. Additionally, after the crash, the FancyZones utility from PowerToys (used for splitting the screen) malfunctions; I have to move another window for the program to stop thinking I am in the middle of moving a window.
Describe the behavior you expected
RStudio should continue to run after resizing the window or moving it to another screen.
Thanks for the report. I looked through the Electron release notes and issue tracker for 42.x through 44.x and didn't find a known crash matching this, so a few questions to help narrow it down:
Did RStudio 2026.07.x work on this machine? That release used Electron 41; 2026.08 and 2026.09 use Electron 42. Knowing whether 2026.07 was fine tells us whether this is an Electron regression or something environmental.
Does it still crash with FancyZones disabled? You mentioned FancyZones is left in a mid-drag state after the crash, which means it was hooked into the window move. PowerToys has a history of interfering with Chromium-based apps during cross-monitor drags, so this is a quick way to rule it in or out.
Does it still crash with software rendering? In Tools > Global Options > General > Advanced, set Rendering engine to Software, restart RStudio, and try the drag again. Dragging between monitors with different DPI (4K vs FHD) forces the GPU compositor to rebuild its surfaces, and a whole-app exit with no error dialog is what a GPU process failure looks like.
Could you attach a diagnostics report? From the main menu, choose Help > Diagnostics > Write Diagnostics Report and attach the resulting file here.
Thank you for your interest in my issue. I am replying in the order the tests were performed.
The problem persists with software rendering.
I installed version 2026.07.1-147—the problem occurs there as well. I likely didn't change the position of the RStudio window while using that version. I work on the center screen (4K) with the window maximized 99% of the time.
I installed RStudio-2026.10.0-daily-77—the problem still exists.
I reverted to the 2026.08.2 Build 200 version of RStudio than I disabled FancyZones in PowerToys. Unfortunately, the problem still occurs. It is therefore difficult to link its occurrence to any specific event.
Anonymizing the crash report will take quite a bit of time, as the file contains nearly 2,000 lines. However, after a quick review, the only potential errors I found are entries like these:
2026-09-14T15:40:15.949448Z [rsession-XXX] ERROR system error 2 (Nie można odnaleźć określonego pliku) [description: Git installation not found on PATH, via the Start Menu shortcut, or in a standard install location]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::session::modules::git::`anonymous-namespace'::discoverGitBinDir(class rstudio::core::FilePath *) C:\Users\jenkins\workspace\ide-os-windows\rel-yellow-yarrow\src\cpp\session\modules\SessionGit.cpp:2986; LOGGED FROM: bool __cdecl rstudio::session::modules::git::initGitBin(void) C:\Users\jenkins\workspace\ide-os-windows\rel-yellow-yarrow\src\cpp\session\modules\SessionGit.cpp:3351
2026-09-14T15:40:15.949448Z [rsession-XXX] ERROR system error 2 (Nie można odnaleźć określonego pliku) [description: Git installation not found on PATH, via the Start Menu shortcut, or in a standard install location]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::session::modules::git::`anonymous-namespace'::discoverGitBinDir(class rstudio::core::FilePath *) C:\Users\jenkins\workspace\ide-os-windows\rel-yellow-yarrow\src\cpp\session\modules\SessionGit.cpp:2986; LOGGED FROM: bool __cdecl rstudio::session::modules::git::initGitBin(void) C:\Users\jenkins\workspace\ide-os-windows\rel-yellow-yarrow\src\cpp\session\modules\SessionGit.cpp:3351
Thanks. We're adding some additional logging around this scenario via #18808, and once a build is available with that change we'll reply here with a link to it, have you install and repro the crash again, and see if it captures anything useful.
Unfortunately this kind of issue can be very hardware and driver-dependent and it could prove difficult for us to provide a solution unless it gets fixed in (most likely) Chromium as part of Electron, but we'll see what we can do once we get the logs.
Hi gtritchie. Thank you for your interest in my problem. I did another experiment. After disconnecting the docking station to which I have three displays connected, the problem disappeared. I was working on one display on my laptop and had no issues with RStudio crashes. I installed the "daily build" you suggested today – the problem also disappeared on three displays. I then reverted to the stable version RStudio-2026.09.0-174. The problem also disappears on three displays. I can freely move the window between displays with different resolutions, and RStudio works as expected. I can't say what caused the problem. Thank you very much for your help!
Activity
gtritchie commentedon Sep 13, 2026
Investigation note:
gtritchie commentedon Sep 13, 2026
Thanks for the report. I looked through the Electron release notes and issue tracker for 42.x through 44.x and didn't find a known crash matching this, so a few questions to help narrow it down:
Did RStudio 2026.07.x work on this machine? That release used Electron 41; 2026.08 and 2026.09 use Electron 42. Knowing whether 2026.07 was fine tells us whether this is an Electron regression or something environmental.
Does it still crash with FancyZones disabled? You mentioned FancyZones is left in a mid-drag state after the crash, which means it was hooked into the window move. PowerToys has a history of interfering with Chromium-based apps during cross-monitor drags, so this is a quick way to rule it in or out.
Does it still crash with software rendering? In Tools > Global Options > General > Advanced, set Rendering engine to Software, restart RStudio, and try the drag again. Dragging between monitors with different DPI (4K vs FHD) forces the GPU compositor to rebuild its surfaces, and a whole-app exit with no error dialog is what a GPU process failure looks like.
Could you attach a diagnostics report? From the main menu, choose Help > Diagnostics > Write Diagnostics Report and attach the resulting file here.
Could you try a daily build of 2026.10? Available at https://dailies.rstudio.com/. It is under active development and not recommended for production use, but it ships a newer Electron major (43), so knowing whether the crash still reproduces there would be very helpful.
wacekk commentedon Sep 14, 2026
Thank you for your interest in my issue. I am replying in the order the tests were performed.
The problem persists with software rendering.
I installed version 2026.07.1-147—the problem occurs there as well. I likely didn't change the position of the RStudio window while using that version. I work on the center screen (4K) with the window maximized 99% of the time.
I installed RStudio-2026.10.0-daily-77—the problem still exists.
I reverted to the 2026.08.2 Build 200 version of RStudio than I disabled FancyZones in PowerToys. Unfortunately, the problem still occurs. It is therefore difficult to link its occurrence to any specific event.
Anonymizing the crash report will take quite a bit of time, as the file contains nearly 2,000 lines. However, after a quick review, the only potential errors I found are entries like these:
gtritchie commentedon Sep 14, 2026
Thanks. We're adding some additional logging around this scenario via #18808, and once a build is available with that change we'll reply here with a link to it, have you install and repro the crash again, and see if it captures anything useful.
Unfortunately this kind of issue can be very hardware and driver-dependent and it could prove difficult for us to provide a solution unless it gets fixed in (most likely) Chromium as part of Electron, but we'll see what we can do once we get the logs.
gtritchie commentedon Sep 16, 2026
The latest daily build at https://dailies.rstudio.com/rstudio/blue-mistflower/ (
2026.10.0-daily+102or newer) has the added logging I mentioned. If you can install it, repro the crash, then generate a new diagnostics report, it should/might contain additional information related to the crash. If so, please share. Thanks!wacekk commentedon Sep 17, 2026
Hi gtritchie. Thank you for your interest in my problem. I did another experiment. After disconnecting the docking station to which I have three displays connected, the problem disappeared. I was working on one display on my laptop and had no issues with RStudio crashes. I installed the "daily build" you suggested today – the problem also disappeared on three displays. I then reverted to the stable version RStudio-2026.09.0-174. The problem also disappears on three displays. I can freely move the window between displays with different resolutions, and RStudio works as expected. I can't say what caused the problem. Thank you very much for your help!
gtritchie commentedon Sep 17, 2026
Great, glad to hear you've got it working.
I'll go ahead and close this issue.