-
Notifications
You must be signed in to change notification settings - Fork 28.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect scaling of native file picker #85898
Comments
Can you confirm if you see the same issue with |
@devsetgo no problem, but can you try This is most likely #85592 |
Open file dialog is still supersized in 1.40.1. Adding "window.titleBarStyle": "native" fixes the behind the taskbar issue in both 1.40.1 ,1.40.2, and 1.41.0 (just upgraded). Let me know what other tests you want to do. |
@deepak1556 is there any other tests you want me to try? |
Anything I can try, the issue is still there. |
I think I'm having the same issue. I have a primary 1080p monitor scaled at 100% and a secondary 4k monitor scaled at 150%. When I open a file/folder in vscode on the secondary monitory, the file explorer assumes the scaling of the primary monitory which results in a tiny and hard to read file explorer. Version: 1.52.1 (system setup) |
Upstream issue: electron/electron#26622 |
Still the same issue on 2021 Aug 09:
|
This is still not fixed. There are 10 different issues and duplicates that have all been closed by a bot after not being addressed for a few years. Open File dialog is still opened tiny (or huge) if you have a multi monitor setup with different DPI. That's kind of a basic functionality for an editor, and multi monitor setups are prevalent for programmers. It breaks essential dialogs such as |
I opened this originally and it was fixed for my issue. |
Definitely NOT fixed for me.
works properly on the 4k 17" but not on the 4k 32"
Thanks
Donald
…On Sat, Nov 27, 2021 at 8:52 AM Mike ***@***.***> wrote:
This is still not fixed. There are 10 different issues and duplicates that
have all been closed by a bot after not being addressed for a few years.
Open File dialog is still opened tiny (or huge) if you have a multi
monitor setup with different DPI. That's kind of a basic functionality for
an editor, and multi monitor setups are prevalent for programmers. It
breaks essential dialogs such as Open File and Save As. I am not sure why
you are not pouring resources into this?
I opened this originally and it was fixed for my issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#85898 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQGGYXF5Z4EQN7AKAAUR63UODPANANCNFSM4JTOLMEQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Any update on that issue please? |
I am having same issue. (I run dual monitors, one 4k, one 1080p. The File Picker opens so small it is very difficult to use.) |
I'm having the same issue on HP Elitbook 830 G6 and an external LG "29 full hd monitor. The file picker it is huge |
For me, using VSCode 1,71,2 (Electron 19.0.12) the font is still about half the size it should be on my 30" 4K monitor, but I think it is better than it used to be because at least it is readable now, whereas it used to be too small to read. I wouldn't call it fixed yet. |
I just deleted a comment where I had erroneously claimed that it was fixed for me but it's actually not. |
Ok, I just updated to Windows 11 Version 21H2 (Build 22000.978) and now the file dialogs scale properly with VSC. This time for real. Still not a fix if you want to stay on Windows 10. |
This is still happening on 1.74.3. |
I found that I could reproduce the same problem with a simple code. import win32api
import win32con
import ctypes
PROCESS_DPI_UNAWARE = 0
PROCESS_SYSTEM_DPI_AWARE = 1
PROCESS_PER_MONITOR_DPI_AWARE = 2
ctypes.windll.shcore.SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE)
while True:
if win32api.MessageBox(None, "test", "test", win32con.MB_YESNO) != win32con.IDYES:
break I thought this was a bug in the OS. |
This is still occurring in 1.76.0. |
I found a workaround I experienced this issue with vscode stable 1.83.1, electron 25.8.4 My native screen resolution is 2K, 150% scaling Code.exe > Compatibility > Change High DPI settings > High DPI scaling override After this file explorer dialog started to appear with proper scaling. I also tested it for 125% and 175% scaling and it worked too |
VS Code Version
Version: 1.40.2 (user setup)
Commit: f359dd6
Date: 2019-11-25T14:54:45.096Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.19033
Steps to Reproduce:
Using a 4k display (mine is an XPS 15 7590 with OLED screen with 1080p extra monitor. This could be a windows problem, but I am not seeing it happen on other apps. Closest I have seen is when using Windows Explorer there is an awkward transition between 4k screen and normal screen.
Also notice VS Code is not correctly showing on non-4k screen. See image 4 below. The bottom of vs code is under taskbar. Changing task bar to top also doesn't seem to fit properly.
Screenshots
4k Screen
4k Open Modal window
1080p Modal window dragged over
1080p VS Code open modal on 1080 screen
Windows Version
Does this issue occur when all extensions are disabled?: Yes/No
Yes
The text was updated successfully, but these errors were encountered: