Great project, I've been enjoying using this terminal so far, however there are some issues regarding window resizing that prevent me from using this terminal as my default.
Setup:
2 monitors (one 1366x768 to the left at 1.25 scaling,
second 1080p on the right at 1.0 scaling)
How to reproduce:
- SwayWM with the above mentioned monitor config
- Drag window from 2nd (primary) monitor to the 1st or create the window on the 1st monitor
Issue(s):
- Window renders way past it's borders (perhaps x2 as much)
- Program fails with SIGSEGV on '_pixman_log_error'
Output log:
@(gdb) r
Starting program: /media/DATA/AUR/foot-git/src/foot/build/foot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
info: config.c:658: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:789: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 (23.10", PPI=96x98, scale=1)
info: wayland.c:789: eDP-1: 1366x768+0x645@60Hz 0x0354 (13.23", PPI=124x128, scale=2)
info: wayland.c:824: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
[New Thread 0x7ffff704c700 (LWP 82237)]
[New Thread 0x7ffff684b700 (LWP 82238)]
[New Thread 0x7ffff604a700 (LWP 82239)]
[New Thread 0x7ffff5849700 (LWP 82240)]
info: wayland.c:1015: requesting SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
[Detaching after fork from child process 82241]
info: wayland.c:625: using SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
*** BUG ***
In pixman_region_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
Thread 1 "foot" received signal SIGSEGV, Segmentation fault.
0x00007ffff7bd5af3 in ?? () from /usr/lib/libpixman-1.so.0
@(gdb) bt
#0 0x00007ffff7bd5af3 in ?? () from /usr/lib/libpixman-1.so.0
#1 0x00007ffff7c4a94e in pixman_fill () from /usr/lib/libpixman-1.so.0
#2 0x00007ffff7c4c226 in pixman_image_fill_boxes () from /usr/lib/libpixman-1.so.0
#3 0x00007ffff7c4c3d6 in pixman_image_fill_rectangles () from /usr/lib/libpixman-1.so.0
#4 0x00005555555781e6 in grid_render ()
#5 0x00007ffff7a2369a in ffi_call_unix64 () from /usr/lib/libffi.so.6
#6 0x00007ffff7a22fb6 in ffi_call () from /usr/lib/libffi.so.6
#7 0x00007ffff7bb4e92 in ?? () from /usr/lib/libwayland-client.so.0
#8 0x00007ffff7bb16c1 in ?? () from /usr/lib/libwayland-client.so.0
#9 0x00007ffff7bb2ccc in wl_display_dispatch_queue_pending () from /usr/lib/libwayland-client.so.0
#10 0x0000555555577514 in fdm_wayl ()
#11 0x00005555555727f4 in main ()
@(gdb)
PS: I'm not sure how to rebuild with debug symbols so this is the best log I've got.
Great project, I've been enjoying using this terminal so far, however there are some issues regarding window resizing that prevent me from using this terminal as my default.
Setup:
2 monitors (one 1366x768 to the left at 1.25 scaling,
second 1080p on the right at 1.0 scaling)
How to reproduce:
1. SwayWM with the above mentioned monitor config
2. Drag window from 2nd (primary) monitor to the 1st or create the window on the 1st monitor
Issue(s):
1. Window renders way past it's borders (perhaps x2 as much)
2. Program fails with SIGSEGV on '_pixman_log_error'
Output log:
```
@(gdb) r
Starting program: /media/DATA/AUR/foot-git/src/foot/build/foot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
info: config.c:658: loading configuration from /home/nikp123/.config/footrc
info: wayland.c:789: HDMI-A-1: 1920x1080+1092x0@60Hz 2343 (23.10", PPI=96x98, scale=1)
info: wayland.c:789: eDP-1: 1366x768+0x645@60Hz 0x0354 (13.23", PPI=124x128, scale=2)
info: wayland.c:824: cursor theme: (null), size: 24
info: terminal.c:482: using 4 rendering threads
[New Thread 0x7ffff704c700 (LWP 82237)]
[New Thread 0x7ffff684b700 (LWP 82238)]
[New Thread 0x7ffff604a700 (LWP 82239)]
[New Thread 0x7ffff5849700 (LWP 82240)]
info: wayland.c:1015: requesting SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
[Detaching after fork from child process 82241]
info: wayland.c:625: using SSD decorations
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Italic.ttf: size=12.00pt/16px, dpi=96
info: fcft.c:451: /usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: size=12.00pt/16px, dpi=96
info: terminal.c:526: cell width=8, height=17
*** BUG ***
In pixman_region_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
Thread 1 "foot" received signal SIGSEGV, Segmentation fault.
0x00007ffff7bd5af3 in ?? () from /usr/lib/libpixman-1.so.0
@(gdb) bt
#0 0x00007ffff7bd5af3 in ?? () from /usr/lib/libpixman-1.so.0
#1 0x00007ffff7c4a94e in pixman_fill () from /usr/lib/libpixman-1.so.0
#2 0x00007ffff7c4c226 in pixman_image_fill_boxes () from /usr/lib/libpixman-1.so.0
#3 0x00007ffff7c4c3d6 in pixman_image_fill_rectangles () from /usr/lib/libpixman-1.so.0
#4 0x00005555555781e6 in grid_render ()
#5 0x00007ffff7a2369a in ffi_call_unix64 () from /usr/lib/libffi.so.6
#6 0x00007ffff7a22fb6 in ffi_call () from /usr/lib/libffi.so.6
#7 0x00007ffff7bb4e92 in ?? () from /usr/lib/libwayland-client.so.0
#8 0x00007ffff7bb16c1 in ?? () from /usr/lib/libwayland-client.so.0
#9 0x00007ffff7bb2ccc in wl_display_dispatch_queue_pending () from /usr/lib/libwayland-client.so.0
#10 0x0000555555577514 in fdm_wayl ()
#11 0x00005555555727f4 in main ()
@(gdb)
```
PS: I'm not sure how to rebuild with debug symbols so this is the best log I've got.