I recently updated to RStudio version 1.2.5001. Now everything appears to be in 2x scaling on my 4K monitor. This is probably desired for some people, especially those with 4K displays on their small laptops, but it's obnoxiously large on a big monitor, and I like being able to see more of my code at once. I could switch it to 50% scaling in the Global Options, but that doesn't change the UI size, and it would mean that I would have to constantly switch it back and forth between 50% and 100% scaling when I connect or disconnect my laptop to/from my monitor. Is there a way to force RStudio to stay at 1x scaling? I can't seem to find the setting for it.
That doesn't seem to change the scaling. I also get the following error message: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Setting that throws an error.
I also tried checking ~/.config/RStudio/desktop.ini, and line 3 says view.zoomLevel=1.0 which would imply that it's set to 100% scaling, which obviously isn't the case.
Here's another screenshot to compare how RStudio looks on each display (top is monitor, bottom is laptop screen). The scaling makes it so the smaller and lower resolution laptop screen can fit more lines of code than the larger monitor:
Scaling is as expected on my laptop display, whether it's connected to the monitor or not. When it is connected, moving an RStudio window back and forth between my laptop display and external monitor changes the scaling depending on which display it's on. Turning off my laptop's internal display and just using the external monitor doesn't change anything--scaling is still at 2x (just for RStudio, not for any other applications).