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

Image/PDF preview overflow on Wezterm and Kitty terminals #2960

Open
EricDriussi opened this issue Mar 25, 2024 · 2 comments
Open

Image/PDF preview overflow on Wezterm and Kitty terminals #2960

EricDriussi opened this issue Mar 25, 2024 · 2 comments

Comments

@EricDriussi
Copy link

Runtime Environment

  • Operating system and version:
    EndeavourOS/Arch (Rolling release)
    Kernel version: 6.8.1
  • Terminal emulator and version:
    wezterm 20240203-110809-5046fc22
    kitty 0.33.0
  • Python version:
    Python version: 3.11.8
  • Ranger version/commit:
    ranger version: ranger 1.9.3
  • Locale:
    Locale: en_US.UTF-8

Current Behavior

When previewing an image or PDF file an overflow occurs over the top of the
preview section.
This happens both using ueberzug and w3m.
On Wezterm this only manifests itself when using tabs.

Wezterm without tabs:
image

Wezterm with tabs:
image

Kitty:
image

Expected Behavior

I would expect the preview to adapt to the available space (possibly leaving some margin space) as does the rest of the UI.

To be honest I'm not sure if this is a ranger issue, a kitty/wezterm issue or a ueberzug/w3m issue.

Steps to reproduce

  1. Open a tab on Wezterm and preview a file with ueberzug or w3m.
    or
  2. Open a Kitty terminal and preview a file with ueberzug or w3m.
@lkschu
Copy link

lkschu commented Apr 5, 2024

Can't reproduce this with kitty.
wezterm without tabs has the same issue for me

@BICH0
Copy link

BICH0 commented Apr 17, 2024

I'm having the same problem
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants