sxyazi / yazi

💥 Blazing fast terminal file manager written in Rust, based on async I/O.
https://yazi-rs.github.io
MIT License
16.71k stars 389 forks source link

Pdf Preview and help page issue #1617

Open AnirudhG07 opened 2 months ago

AnirudhG07 commented 2 months ago

What system are you running Yazi on?

macOS

What terminal are you running Yazi in?

iterm2

yazi --debug output

Yazi
    Version: 0.3.2 (69e7c8f 2024-08-30)
    Debug  : false
    OS     : macos-aarch64 (unix)

Ya
    Version: 0.3.2 (69e7c8f 2024-08-30)

Emulator
    Emulator.via_env: ("xterm-256color", "iTerm.app")
    Emulator.via_csi: Ok(Iterm2)
    Emulator.detect : Iterm2

Adapter
    Adapter.matches: Iterm2

Desktop
    XDG_SESSION_TYPE           : None
    WAYLAND_DISPLAY            : None
    DISPLAY                    : None
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

Variables
    SHELL              : Some("/bin/zsh")
    EDITOR             : Some("nvim")
    VISUAL             : Some("nvim")
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : Some("/Users/anirudhgupta/dotfiles/yazi/.config/yazi")

Text Opener
    default: Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block  : Some(Opener { run: "${EDITOR:=vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : 3.4
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file             : 5.41
    ueberzugpp       : 2.9.2
    ffmpegthumbnailer: 2.2.2
    magick           : 7.1.1-36
    fzf              : 0.54.3
    fd               : 10.1.0
    rg               : 14.1.0
    chafa            : 1.14.2
    zoxide           : 0.9.4
    7z               : 17.05
    7zz              : No such file or directory (os error 2)
    jq               : 1.6

--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/Users/anirudhgupta/.local/state/yazi" directory.

Did you try the latest nightly build to see if the problem got fixed?

yes

Describe the bug

The issue is that, when you use ur mouse to scroll the pdf is, it works fine. But when you go inside the help while hovering the pdf, and then scroll with mouse, then the flickering happens, as in the video.

https://github.com/user-attachments/assets/00f8b487-d996-4448-8602-4c3e4698aaaa

Just found out by chance.

Minimal reproducer

1) Take any pdf with MANY pages. 2) hover it and test if mouse scrolling change pages or not(it should) 3) Press ~ to go to help 4) Again do the same scrolling motion with touchpad/mouse, and you can see it

Anything else?

No response

AnirudhG07 commented 2 months ago

Also, can we have mouse scrolling inside help? If it is disabled due to some reason, can you refer some issue/PR?

AnirudhG07 commented 1 month ago

Is there any updates for this issue? Just curious...