Part of the image is obscured.

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

pentopen
Posts: 29
Joined: Tue Jan 05, 2021 8:56 am
Location: South Korea

Part of the image is obscured.

Post by pentopen »

XnView MP 1.7.2
Windows 10

Tool-Batch Convert-Actions-Add action-Image-Crop
In Crop, in 1:1 view, the left and top of the image are visible properly, but the bottom and right of the image are obscured by the width of the scrollbar.

original image
Image

Image Image

I want to crop the border of an image, but it is difficult to cut it accurately.
It's possible if you zoom in over 1000%, but it's inconvenient.
English is not my first language and I am not good at it.
User avatar
user0
XnThusiast
Posts: 2205
Joined: Sat May 09, 2015 9:37 am

Re: Part of the image is obscured.

Post by user0 »

seems like there are few options to fix this issue:
  • autohide scrollbars
    eg show only when mouse is hovering over preview
  • reduce preview area by scrollbars width/height
    eg like in faststone
  • expand background area
    eg like in mspaint
User avatar
xnview
Author of XnView
Posts: 45490
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Part of the image is obscured.

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 45490
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Part of the image is obscured.

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.0. Please check and confirm the bug fix here.
Pierre.
Pantek
Posts: 8
Joined: Thu Sep 19, 2024 10:39 am

Re: Part of the image is obscured.

Post by Pantek »

xnview wrote: Thu Aug 29, 2024 1:26 pm This problem is supposed to be fixed in XnView MP 1.8.0. Please check and confirm the bug fix here.
Hi. I think it is not fixed yet (all steps are in the video below)
1. Open a big height image (the same or larger height than your monitor resolution. Or you can just take an image of your monitor's resolution. E.g. if your monitor resolution is 1920x1080, then take 1920x1080 image to test, etc). It is scaled to "Fit desktop"
Scrollbars scaled.png
It is a test image with outline
2. Press Zoom 100%
3. The bottom scrollbar still hides a portion of the image (see - there is no bottom outline of the image)
Scrollbars scaled Zoom 100%.png

Here is the test image I used:
Untitled-2.png
One more thing + video example. Scrollbars appear even when they shouldn't.
In my example I have a 1920x1080 monitor. The width of the image is 1705. When I press Zoom 100% the Xnview window becomes big, and trying to show my image closer to full size as possible, right? It has a lot of horizontal space to show image fully in horizontal dimension, but still Xnview generates horizontal scrollbar. Maybe that is the case of eating a part of the bottom image?
In the video example I pressed Zoom 100%, then stretch horizontal size of the Xnview window so the scroll bar disappeared and I can fully view the bottom of the image, then I started to shrink horizontal size of the window. AS you can see - when the scrollbar just appeared - we cannot see the bottom part of the image, but when I continue to shrink the image - the bottom of the image became visible!
2024-09-20 14-53-25 (2).mp4
XnView 1.80 64 bit, Aug 30 2024
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45490
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Part of the image is obscured.

Post by xnview »

reopened
Pierre.
User avatar
xnview
Author of XnView
Posts: 45490
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Part of the image is obscured.

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.1. Please check and confirm the bug fix here.
Pierre.