aristocratos / btop

A monitor of resources
Apache License 2.0
19.09k stars 601 forks source link

[BUG] Graphical Glitch (COSMIC Terminal) #890

Open Querzion opened 2 months ago

Querzion commented 2 months ago

Read the README.md and search for similar issues before posting a bug report!

Any bug that can be solved by just reading the prerequisites section of the README will likely be ignored.

Describe the bug

Graphical glitch. This could be a Distro problem too, so I will create an issue remark there too.

To Reproduce

Started btop in COSMIC Terminal in the COSMIC DE.

Expected behavior

Not with a graphical glitch.

Screenshots

screenshot-2024-06-30-15-15-34

Info (please complete the following information): btop version: 1.2.3

neofetch output;

OS: Pop!_OS 22.04 LTS x86_64 Host: KVM/QEMU (Standard PC (Q35 + ICH9, 2009) pc-q35-7.2) Kernel: 6.9.3-76060903-generic Uptime: 50 mins Packages: 1884 (dpkg), 6 (flatpak) Shell: bash 5.1.16 Resolution: 2560x1440 DE: COSMIC Theme: Pop-dark [GTK3] Icons: Adwaita [GTK3] Terminal: cosmic-term CPU: AMD Ryzen 9 7900X (16) @ 4.699GHz GPU: AMD ATI Radeon RX 6700/6700 XT / 6800M Memory: 3493MiB / 32088MiB

Additional context

Contents of ~/.config/btop/btop.log 2024/06/30 (17:27:14) | ===> btop++ v.1.2.3 2024/06/30 (17:27:14) | WARNING: No good candidate for cpu sensor found, using random from all found sensors.

C-798 commented 1 month ago

I'm having the same or similar issue starting it in gnome terminal on Mint Cinnamon DE. Didn't have the issue yesterday and I'm not sure what changed. I'm also getting the same issue with bpytop and bashtop, and bashtop worked fine yesterday.

Info

btop version: 1.2.3-2

neofetch:

OS: Linux Mint 21.3 x86_64 Host: MS-7D78 1.0 Kernel: 6.5.0-44-generic Uptime: 2 hours, 8 mins Packages: 2359 (dpkg) Shell: bash 5.1.16 Resolution: 1920x1080, 1920x1080 DE: Cinnamon 6.0.4 WM: Mutter (Muffin) WM Theme: Adapta-Nokto (Mint-Y) Theme: Adapta-Nokto [GTK2/3] Icons: Mint-L-Blue [GTK2/3] Terminal: gnome-terminal CPU: AMD Ryzen 7 7700X (16) @ 5.573GHz GPU: AMD ATI 03:00.0 Device 747e GPU: AMD ATI 12:00.0 Device 164e Memory: 5506MiB / 31264MiB

~/.config/btop/btop.log contents:

2024/07/22 (01:50:29) | ===> btop++ v.1.2.3 2024/07/22 (01:50:29) | INFO: Logger set to DEBUG 2024/07/22 (01:50:29) | DEBUG: Using locale en_US.UTF-8 2024/07/22 (01:50:29) | INFO: Running on /dev/pts/0 2024/07/22 (01:50:39) | INFO: Quitting! Runtime: 00:00:10

I also tried:

deleting all fonts and refreshing font cache deleting all 3rd party themes and icons running bash with --norc --noprofile

It's worth noting that Terminator and Kitty are not presenting the same issue

RedBearAK commented 4 weeks ago

I had this issue on cosmic-term and checked out their GitHub issue. After installing the Iosevka font as suggested, apparently it is acting as a fallback font for the braille characters, but now with proper alignment. So, problem solved.

You don't have to select the font as your terminal font, you just have to have it installed and available to provide the braille characters. Possibly the font where the braille characters were coming from before installing Iosevka was not a monospace font. That could explain the misalignment.