Page 1 of 1

1.6.5 - view - transparent index visible when zooming

Posted: Sun Mar 17, 2024 5:08 am
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 1519 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 1163 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

Re: 1.6.5 - view - transparent index visible when zooming

Posted: Mon Sep 30, 2024 12:43 pm
by xnview
Issue A: I can't reproduce

Issue B:
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.6.5 - view - transparent index visible when zooming

Posted: Mon Sep 30, 2024 1:05 pm
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

Re: 1.6.5 - view - transparent index visible when zooming

Posted: Mon Sep 30, 2024 3:13 pm
by xnview
Strange, 'show alpha' is disabled

Re: 1.6.5 - view - transparent index visible when zooming

Posted: Thu Oct 10, 2024 2:47 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.8.1. Please check and confirm the bug fix here.

Re: 1.6.5 - view - transparent index visible when zooming

Posted: Thu Oct 10, 2024 3:05 pm
by user0
fixed in 181