vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.48k stars 96 forks source link

The DPI is not working.. set dpi to system Enh as win 10 is set to 150dpi #609

Open kiwiman2023 opened 1 year ago

kiwiman2023 commented 1 year ago

Windows 10 64bit latest app build for electronmail DPI is not working so the UI font is massive. its ignoring the compatible mode override for DPI changes set to system Enh. not application was working previous released until error on screen.

my font is like 72 not 16 now. just joined git to reboot issue

vladimiry commented 1 year ago

If it worked before and stopped working in 5.1.7, then the issue got introduced in @electron v24.

Try running the app with --high-dpi-support=1 --force-device-scale-factor=1 or similar cmd args.

Also explore the experimental "page zoom" feature located in the "General" app settings.

kiwiman2023 commented 1 year ago

thanks the switches did the trick... I didnt know about them as nothing in app to dpi issues or settings.. I could location the zoom settings? only cog.. maybe its clipped off at bottom? I think I only see proton settings

update I stopped AWM and made no difference. so its not that. cheers

kiwiman2023 commented 1 year ago

is it hidden where title bar is.. mine always gets covered.. maybe actual windows manager maybe a issue (I just turned it off made no difference) image

vladimiry commented 1 year ago

There is no app toolbar on the screenshot, try F12 key to toggle its view. Besides, there is "Options" item in the tray menu.

kiwiman2023 commented 1 year ago

its there a thin bar above... I dont think I have tray either.. its been like that since v3? I had thought you got rid of those. heres a full snap i can double click and and X is still accessible just no biggy at this stage image

vladimiry commented 1 year ago
kiwiman2023 commented 1 year ago

i said top its windows 10 64bit.. 21h2 latest builds and nvidia drivers on laptop MSI gv63

I tried C:\Users\\AppData\Roaming\electron-mail and found it in the json saved and quit and reloaded..

not see it on left..

image

==================

"doNotRenderNotificationBadgeValue": false, "checkUpdateAndNotify": true, "hideOnClose": true, "layoutMode": "left", "customTrayIconColor": "", "customUnreadBgColor": "", "customUnreadTextColor": "", "disableSpamNotifications": true, "enableHideControlsHotkey": false, "findInPage": true,

====

I see it its added to the tray icon.. so I can get it that way!

however.. you should test app in win 10 with DPI set to 150dpi and see if you get same issue?

kiwiman2023 commented 1 year ago

OK I set win 10 compatiable mode back to application and now the top bar shows but still no settings at top.. or left or left thin.. so beats me why not but since its in tray then thats fine.. I tried it with the switches.. but scale =1 was too small again so I changed it to 1.50.. and got a new problem now the right click on notification is places on the 2nd display taskbar not where the icon is on the tray HMMM so I left commandline switches as you said and used zoom to 170 percent now i have it like the old version and also the top title bar is back! but now the right on tray text is super small to read.. but I can manage

maybe test it on a win 10 scale of dpi 150 on a 1245x1080p windows maz size

image

kiwiman2023 commented 1 year ago

I just noticed hide control bar was on.. I turned it off.. so that one is solve I think I turned it off back on v3 cos of the title bar issues

apart from the tray icon text.. its solved now.. cheers ps we will see what happens next update!