rstudio/rstudio

RTools download progress dialog isn't focused

Offen

#11.521 geöffnet am 28.06.2022

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.060 Forks)batch import
bugelectrongood first issuewindows

Repository-Metriken

Stars
 (4.384 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 14h 15m) (202 gemergte PRs in 30 T)

Beschreibung

Steps to reproduce

  • On Windows without RTools installed, create a C/C++ file
  • When prompted to install RTools, select yes

Observe that the download dialog appears but under the main window. If you do not follow through with the install and repeat the steps above, it may show the dialog on top.

For a user with the main window maximized, the download dialog would be hidden and would likely never be noticed. It should appear on top of the main window.

See SessionInstallRtools.cpp for how the download works. It executes R code in the session to initiate the download to a temporary directory. https://github.com/rstudio/rstudio/blob/bb265d0dbedece7ced0325526ba14cb13684cb2d/src/cpp/session/modules/build/SessionInstallRtools.cpp#L126-L130

Contributor Guide