Package: foot
Version: 1.6.4-1
How to reproduce:
1. Make sure that two different-resolution monitors are connected.
2. Start gnome with wayland  from gdm3 and ensure that the high-resolution 
monitor is the primary one.
3. Open a uxterm window on the high-resolution monitor.
4. Put  initial-window-size-chars=80x25 into ~/.config/foot/foot.ini .
5. Make xterm the current window (on the hi-res monitor) and then move the 
mouse pointer away from it (on the low-res monitor) without any mouse clicks.
6. Using your keyboard, start foot from the uxterm window.
7. Notice that the foot window automatically opens on the low-resolution 
monitor (because the mouse cursor is there).
8.  Observe that 93 columns fit into the new foot window (see the screeshot).
We expect the width to be, on the contrary, 80 columns upon start. (To be fair, 
we do get 80 when you move the foot window to the hi-res monitor.)
Debug output in the uxterm window:
$ foot &
$ info: main.c:356: version: 1.6.4 +ime
info: main.c:363: arch: x86_64/64-bit
info: main.c:367: locale: de_DE.UTF-8
info: config.c:2117: loading configuration from 
/home/malkis/.config/foot/foot.ini
info: wayland.c:1169: DP-1: 2560x1440+0x0@60Hz DELL U2715H 27.15" scale=1 
PPI=111x110 (physical) PPI=111x110 (logical), DPI=108.18
info: wayland.c:1169: DP-4: 1920x1200+2560x0@60Hz SyncMaster 24.04" scale=1 
PPI=96x100 (physical) PPI=96x100 (logical), DPI=94.19
info: wayland.c:1169: DP-7: 1920x1200+4480x0@60Hz SM2443DW 24.04" scale=1 
PPI=96x100 (physical) PPI=96x100 (logical), DPI=94.19
warn: wayland.c:1330: no decoration manager available - using CSDs 
unconditionally
info: fcft.c:245: fcft: 2.3.1
info: fcft.c:255: fontconfig: 2.13.1
info: fcft.c:261: freetype: 2.10.4
info: fcft.c:671: info: 
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf: 
size=8.00pt/12px, dpi=108.18
fcft.c:671: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf: 
size=8.00pt/12px, dpi=108.18
info: fcft.c:671: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf: 
size=8.00pt/12px, dpi=108.18
info: fcft.c:671: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: 
size=8.00pt/12px, dpi=108.18
info: terminal.c:631: cell width=7, height=15
info: terminal.c:569: using 8 rendering threads
We think that some system packages might hypothetically be involved (because 
other applications such as firefox also show strange behaviour when getting 
moved between different-resolution screens) but are unsure who exactly is the 
culprit. (Speculating, the interface could also be a problem.)

Reply via email to