Bug 476573 - Preview - Picture is shifted upward
Summary: Preview - Picture is shifted upward
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 8.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-05 08:25 UTC by Alexandre Belz
Modified: 2023-11-07 06:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0


Attachments
ScreenCapture of the bug (816.23 KB, image/png)
2023-11-05 08:25 UTC, Alexandre Belz
Details
Screen Capture Fit to screen (1.28 MB, image/png)
2023-11-06 20:19 UTC, Alexandre Belz
Details
Previewed_JPG_picture (3.70 MB, image/jpeg)
2023-11-06 20:20 UTC, Alexandre Belz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belz 2023-11-05 08:25:48 UTC
Created attachment 162876 [details]
ScreenCapture of the bug

SUMMARY
***
In Preview mode, picture is displayed too high. The top comes then masked.
***


STEPS TO REPRODUCE
1. Open preview mode
2. Fit to Screen
3. Move to different pictures, album. Change to 100% / revert to "fit to screen".

OBSERVED RESULT
The Previewed pictured is not centered anymore. Changing 100% / "Fit to screen".
Zoomed out view shows that the picture is not centered, as if the top horizontal browsing thumbnails was not taken into consideration for the centering.
See attached screen capture.

EXPECTED RESULT
* Picture should be centered
* "Fit to screen" should display all the picture.

SOFTWARE/OS VERSIONS
Windows: 10 Family ;  19045.3570

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2023-11-05 20:29:51 UTC
I absolutely cannot reproduce your screenshot here under Linux. I can't remember ever seeing anything like that either.
If an image is zoomed in and the scroll bars are moved, it is normal that this position is retained when switching to the next image in order to compare images.

Please post the image sizes of your first image and second image. And post again step by step what you clicked (Fit to window or 100%).
We also have a new view option in the settings, always adapt small images to the window, have you activated this?

Maik
Comment 2 Alexandre Belz 2023-11-06 20:19:05 UTC
Hello @Maik,
Thank you for your fast answer & assistance.

My pictures are JPG, the one displayed is attached .
On my previous screen capture I zoomed out just to show you that the picture is actually centered in the middle of the Preview area EXCLUDING the top horizontal thumbnail bar, while it should be centered on the remaining space, below.
Default viewing mode is indeed "fit to screen". If I click on the "fit to screen" button, nothing changes, it remains in the same mode. 
Find attached screen capture showing the "fit to screen" display. You'll note that the top part of the picture (top yellow labelled bottle) disappears !)

Note that now that I have the issue, all albums/pictures are displayed shifted in that bad centered position.
Do you advise me to uninstall/reinstall ?

Best regards
Comment 3 Alexandre Belz 2023-11-06 20:19:54 UTC
Created attachment 162910 [details]
Screen Capture Fit to screen
Comment 4 Alexandre Belz 2023-11-06 20:20:48 UTC
Created attachment 162912 [details]
Previewed_JPG_picture
Comment 5 Maik Qualmann 2023-11-06 20:49:46 UTC
Now understand what you mean. I think the top thumbnail bar is no longer docked. This now overlays the image view. It is hardly possible to achieve this, but it is possible. Grab the thumbnail bar on the left side and dock it again.

Maik
Comment 6 Maik Qualmann 2023-11-06 21:17:17 UTC
I uploaded a video to explain your “problem” and how to fix it. This is actually not a bug, it is possible to place the thumbnail bar freely on the desktop or dock it to one of the preview pages.

https://drive.google.com/file/d/1zanGfwFMF_4X-dbWQqkLMwIf3aIqoWHH/view?usp=sharing

Maik
Comment 7 Alexandre Belz 2023-11-07 06:07:02 UTC
Thank you Maik, tha
Comment 8 Alexandre Belz 2023-11-07 06:08:14 UTC
Thank you Maik, that was the issue indeed.
Not easy to detect it myself !  (and I don't remind having undocked by purpose).

Many thanks again. BR.