ElectronMail icon indicating copy to clipboard operation
ElectronMail copied to clipboard

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

Open kiwiman2023 opened this issue 2 years ago • 9 comments

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

kiwiman2023 avatar Apr 05 '23 08:04 kiwiman2023

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.

vladimiry avatar Apr 05 '23 09:04 vladimiry

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 avatar Apr 05 '23 09:04 kiwiman2023

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

kiwiman2023 avatar Apr 05 '23 09:04 kiwiman2023

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

vladimiry avatar Apr 05 '23 10:04 vladimiry

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

kiwiman2023 avatar Apr 05 '23 10:04 kiwiman2023

  • Set "layoutMode": "left", in /home/<usr>/.config/electron-mail/config.json, so the app toolbar gets located on the left side vs default top position. Restart the app then.
  • Make sure your Linux system supports StatusNotifier-based tray icons.

vladimiry avatar Apr 05 '23 10:04 vladimiry

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

I tried C:\Users<user>\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 avatar Apr 05 '23 11:04 kiwiman2023

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 avatar Apr 05 '23 14:04 kiwiman2023

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!

kiwiman2023 avatar Apr 05 '23 15:04 kiwiman2023