-
Notifications
You must be signed in to change notification settings - Fork 9
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
images occasionally too large for visible area #3
Comments
That's very peculiar. The are two ways I could imagine that happening:
It looks like number two may be the case. Did you set The image is supposed to resize automatically in the full image (higher quality) view. I haven't implemented that for previews as I didn't think it was needed. If you didn't change the number of preview lines then I am very confused. Why is the image so large? Vv was specifically designed so that, no matter what your screen resolution or font size, you'll get a reasonable image preview because its size is relative to the character cell height. It should be as high as 8 lines By the way, what are the weird downward chevrons on the left side of the image? Is that alacritty's way of indicating that an image is clickable? |
I'm using the current HEAD as-is, with all defaults. So I have
I'm only using the preview method right now, which suffices for me.
I have no idea. Image is definitely not clickable. I assumed that was just what |
By the way, I can reduce the preview size manually by pressing Is it possible that calculating the scaling factor is bugged for certain terminal aspect ratios or small terminal sizes? Are you able to reproduce the error on your machine? I just found the
If the window size is in pixel, that is definitely not correct. And this is the debug output for the geometry of example 1.
|
I'm using
i3-gaps
as my (tiling) WM. This makes my terminals to be whatever size is available. For most sizes the images are scaled down correctly, so that they are visible entirely. Some terminal sizes cause the image to be too large for the available space.I would expect the images to be scaled down so that one image always fits in the available space. But the printed image gets larger the smaller the terminal is.
My screen resolution is
2560x1440
.Original image:
1 terminal: (254 columns x 60 rows) good!
2 terminals side-by-side (126 x 60) good!
3 terminals: dividing one of the terminals vertically (126 x 30) not good!
4 terminals: dividing the last terminal again (126 x 14) not good!
The text was updated successfully, but these errors were encountered: