Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Glitchy UI in MacOS ARM 14.6.1 #987

Open
21e8 opened this issue Nov 30, 2024 · 2 comments
Open

[BUG] Glitchy UI in MacOS ARM 14.6.1 #987

21e8 opened this issue Nov 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@21e8
Copy link

21e8 commented Nov 30, 2024

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

Installed btop standard on two machines, locally on Macbook as well as remote on ubuntu. Both exhibit strange UI bugs with colors. Low color mode works fine.

To Reproduce

Install on MacOS or ssh into Ubuntu with MacOS, colors will be very broken, especially on large screens.

Expected behavior

No color issues

Screenshots

image

Info (please complete the following information):

  • btop++ version: btop --version
    • If using snap: snap info btop
  • Binary: [self compiled or static binary from release]
  • Architecture: [x86_64, aarch64, etc.] uname -m
  • Platform: [Linux, FreeBSD, OsX]
  • (Linux) Kernel: uname -r
  • (OSX/FreeBSD) Os release version: MacOS 14.6.1
  • Terminal used: Terminal
  • Font used:

MAC:
btop version: 1.4.0
Compiled with: clang++ (15.0.0)
Configured with: /Applications/Xcode.app/Contents/Developer/usr/bin/make STATIC= FORTIFY_SOURCE=true

Ubuntu:
btop version: 1.3.2

Additional context

Contents of ~/.config/btop/btop.log

2024/11/30 (18:50:24) | ===> btop++ v.1.4.0
2024/11/30 (18:50:24) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (18:50:57) | ===> btop++ v.1.4.0
2024/11/30 (18:50:57) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (18:59:52) | ===> btop++ v.1.4.0
2024/11/30 (18:59:52) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (19:02:17) | ===> btop++ v.1.4.0
2024/11/30 (19:02:17) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (19:12:39) | ===> btop++ v.1.4.0
2024/11/30 (19:12:39) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (19:12:41) | ===> btop++ v.1.4.0
2024/11/30 (19:12:41) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (20:06:39) | ===> btop++ v.1.4.0
2024/11/30 (20:06:39) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (20:40:54) | ===> btop++ v.1.4.0
2024/11/30 (20:40:54) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (20:42:41) | ===> btop++ v.1.4.0
2024/11/30 (20:42:41) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (20:44:50) | ===> btop++ v.1.4.0
2024/11/30 (20:44:50) | WARNING: Failed to set locale UTF-8 continuing anyway.

2024/11/30 (20:50:14) | ===> btop++ v.1.4.0
2024/11/30 (20:50:14) | WARNING: Failed to set locale UTF-8 continuing anyway

Note: The snap uses: ~/snap/btop/current/.config/btop

(try running btop with --debug flag if btop.log is empty)

GDB Backtrace

If btop++ is crashing at start the following steps could be helpful:

(Extra helpful if compiled with make OPTFLAGS="-O0 -g")

  1. run (linux): gdb btop (macos): lldb btop

  2. r to run, wait for crash and press enter if prompted, CTRL+L to clear screen if needed.

  3. (gdb): thread apply all bt (lldb): bt all to get backtrace for all threads

  4. Copy and paste the backtrace here:

@21e8 21e8 added the bug Something isn't working label Nov 30, 2024
@21e8
Copy link
Author

21e8 commented Dec 18, 2024

funnily enuff seems to not happen inside tmux

@athisun
Copy link

athisun commented Jan 8, 2025

Duplicate of #281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants