1.6.5 - view - transparent index visible when zooming

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

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

1.6.5 - view - transparent index visible when zooming

Post by user0 »

XnViewMP 1.6.5 64bit
Windows11 (23H2), display resolution 3840x2160, win scaling 150%


Viewer/Browser(Preview) - indexed palette
transparent index visible when zooming

To reproduce:
1. open test image in Viewer
- ☑ Use transparent index (<=8bits) [default state]
test_img_transparent_index.png
test_img_transparent_index.png (1.75 KiB) Viewed 1514 times
index 1 (green) is transparent


Issue A
2. press M to "Show alpha"
nothing happens at default 100% zoom
3. zoom to any value <>100%, eg 71%
transparent index became visible
A_show_alpha_on_paletted_img.png
A_show_alpha_on_paletted_img.png (290 Bytes) Viewed 1158 times
expected behavior
for indexed color images without alpha, "Show alpha" command should:
  • either be disabled
    like in Preview pane (Browser) and other Show RGB channel commands
  • or work at any zoom level
    as functionality to show transparent index(es) is handy, only naming does not match, but not a big deal

Issue B
2. uncheck 'Use transparent index (<=8bits)', eg via Ctrl+Alt+H
index 1 (green) is visible
3. zoom to any value <>100%
index 1 (green) became transparent
same issue in Preview pane (Browser)



Suggestion
  • rename
    Use transparent index (<=8bits) →
    Use transparent index (≤ 8-bit)
    ≤ U+2264
    8-bit color
    8 bits per pixel




Related
Last edited by user0 on Fri Nov 22, 2024 4:59 am, edited 3 times in total.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.5 - view - transparent index visible when zooming

Post by xnview »

Issue A: I can't reproduce

Issue B:
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.5 - view - transparent index visible when zooming

Post by user0 »

xnview wrote: Mon Sep 30, 2024 12:43 pm Issue A: I can't reproduce
1. close app
2. open paletted image (8bit, no alpha) via double click in win file explorer
'Show alpha (M)' menu command is enabled
3. change zoom to any value <>100%
4. press M
issue appears
Show alpha (M) is disabled - as it should be for paletted image
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.5 - view - transparent index visible when zooming

Post by xnview »

Strange, 'show alpha' is disabled
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.6.5 - view - transparent index visible when zooming

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.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.6.5 - view - transparent index visible when zooming

Post by user0 »

fixed in 181
Post Reply