Closed emulti closed 4 years ago
The font scaling behaviour with multiple displays could also be improved. Gnome/Xorg: Fonts appear very tiny unless only one display connected. Probably because dimensions of extended desktop are used in calculating the font size. If only one display connected the behaviour is perfect.
Gnome/Wayland (+ XWayland) Multiple displays: Fonts are slightly larger than normal Single display: normal behaviour.
The font scaling behaviour with multiple displays could also be improved. Gnome/Xorg: Fonts appear very tiny unless only one display connected. Probably because dimensions of extended desktop are used in calculating the font size. If only one display connected the behaviour is perfect.
That's strange since the actual size of the font is unchanged in the application, it completely relies on the tkinter
library in that sense.
Font size under Wayland is the same with both single/multiple screens. (I was wrong earlier, the dpi is different between the two screens.)
Under Xorg, single screen:
Xorg, two screens:
Obviously the centering of the window (which uses self.winfo_screenwidth()
) is a separate issue
I created a new issue to reference this last problem
Correct, having solved #40 the issue is confined to the centering on startup only.
Just installing screeninfo
(pip3 install screeninfo
) will fix the centering
When using nordpy with multiple monitors, the 'centering' code uses the dimensions of the extended desktop rather than (I suggest) 'screen 1', giving an odd position on setups with differently-sized displays.
Expected behavior nordpy window opens at centre of one of the screens
Actual behaviour nordpy opens at centre of extended desktop
Desktop (please complete the following information):
Very nice application, a lightweight alternative to the "official" nordvpn binary that doesn't use 200MB of memory.