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

Inertial scrolling sometimes eats keys #1003

Open
gigamonster256 opened this issue Jan 1, 2025 · 0 comments
Open

Inertial scrolling sometimes eats keys #1003

gigamonster256 opened this issue Jan 1, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gigamonster256
Copy link

gigamonster256 commented Jan 1, 2025

Describe the bug

When mouse scrolling in the process list and inertial scroll is still going (on macos), quitting btop by pressing q (or other keys like 2 to show/reveal the mem panel) does not work every time.

To Reproduce

Open btop then scroll in the process list on a mac using inertial scroll and press a shortcut key. Repeat until the key is eaten and does nothing.

Expected behavior

btop should perform the action associated with the keypress.

Info (please complete the following information):

  • btop++ version: btop version: 1.4.0
    Compiled with: clang++ (16.0.6)
    Configured with: cmake -DBTOP_STATIC=OFF -DBTOP_USE_MOLD=OFF -DBTOP_FORTIFY=ON -DBTOP_GPU=ON
  • Binary: nixpkgs 24.11
  • Architecture: arm64
  • Platform: OsX
  • Os release version: 24.2.0 (Sequoia 15.2)
  • Terminal used: ghostty/kitty/alacritty
  • Font used: not relevant

Additional context

(from a run when pressing q did not work the first time I tried)

2025/01/01 (14:51:06) | ===> btop++ v.1.4.0
2025/01/01 (14:51:06) | DEBUG: Running in DEBUG mode!
2025/01/01 (14:51:06) | INFO: Logger set to DEBUG
2025/01/01 (14:51:06) | DEBUG: Using locale en_US.UTF-8
2025/01/01 (14:51:06) | INFO: Running on /dev/ttys000
2025/01/01 (14:51:06) | DEBUG: get_sensors(): show_coretemp=1 check_temp=1
2025/01/01 (14:51:06) | DEBUG: M1 sensors found
2025/01/01 (14:51:06) | DEBUG: Loading theme file: /Users/caleb/.config/btop/themes/catppuccin_mocha.theme
2025/01/01 (14:51:10) | INFO: Quitting! Runtime: 00:00:04

@gigamonster256 gigamonster256 added the bug Something isn't working label Jan 1, 2025
@gigamonster256 gigamonster256 changed the title [BUG] Inertial scrolling sometimes eats keys Jan 1, 2025
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

2 participants