flozz / nautilus-terminal

A terminal embedded in Nautilus, the GNOME's file browser
GNU General Public License v3.0
323 stars 24 forks source link

Weird margin #78

Closed ArtyomFR closed 2 years ago

ArtyomFR commented 2 years ago

Bug description

Weird margin in nautilus terminal

What happened

Open nautilus for the first time, see this: image Same thing with bash by the way: image

What was expected

Right margin for all text element without offset: image

Step to reproduce

Had this bug on another setup but disapear with time (or update don't realy know). This bug is on a complete new setup

System information

❯ python3 -m nautilus_terminal --print-debug
/usr/bin/python3: No module named nautilus_terminal.__main__; 'nautilus_terminal' is a package and cannot be directly executed

Ok, this may be the problem....

flozz commented 2 years ago

Hello,

Anyway, this bug is strange... Maybe a font issue?

ArtyomFR commented 2 years ago

Hi, I'm using v3.5.0-2 installed from community repo with Yay. What seems weird is that it works just fine on another laptop with quit the same setup. Both use the default font.

flozz commented 2 years ago

I'm using v3.5.0-2 installed from community repo with Yay.

This is not the latest version (but I do not think that newer version will fix your issue)

Both use the default font.

It is not the same font in your Nautilus Terminal and GNOME Terminal screenshots. Maybe you can try to change the font of Nautilus Terminal to see if it fixes the issue?

To access the settings:

dconf-editor /org/flozz/nautilus-terminal
ArtyomFR commented 2 years ago

There is no git package available on Arch repo to update to sadely. Here is what happen when changing font to Liberation Sans Mono 10: image With default for comparison: image When I said 'Both use default font' I was refering to the other setup that is plain default configuration with exact same .zshrc that had issue like this before but not anymore.

ArtyomFR commented 2 years ago

Issue resolved by changing nautilus-terminal font to 'Source Code Pro Regular' wich was gnome default but doesn't appear to apply.