1.9.1 - browser - thumbnails - fix scaling

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2409
Joined: Sat May 09, 2015 9:37 am

1.9.1 - browser - thumbnails - fix scaling

Post by user0 »

XnViewMP 1.9.1 64bit
Windows11 (24H2), display resolution 3840x2160, dpi scale 150%


Browser - thumbnails
follow-up on this issue, also related to slider issue

browser_thumbnails_scaling_issues.png
browser_thumbnails_scaling_issues.png (26.78 KiB) Viewed 108 times

To reproduce:
0. prerequisites
  • set win dpi scale to 150%
  • set app settings:
    • ☐ Scale on HiDPI screen
    • Thumbnail Appearance:
      - ☐ Use shadow
      - Border 0
      - Margin 10
    • Custom thumbnail size to 100x100px (square for simplicity) AND select it in Browser

issue A
100-149px image will be stretched to 150px
expected:
thumbnails should be the same size as at 100% win dpi scale

however, it may be useful to add 'Fit small image to thumbnail size' option in Settings > Thumbnails
(but, obviously, it should apply to all small thumbnails, not selectively)


issue B
Thumbnail size will be 170px
custom thumbnail size (100px) * dpi scale (1.5) + margins (10px)
which
- conflicts with thumbnail size, which is explicitly set to 100x100px AND
- affects slider
expected:
do not scale thumbnail cell when HiDPI scaling option is off

on the other hand, this 'automatic' scaling may be useful for someone (who often switch dpi scale?), so
maybe
  • split scaling setting to
    - content (image in Viewer/Preview and thumbnail)
    - UI (thumbnail size, maybe something else [font, icons])






Related
Post Reply