1.8.8 - viewer - png - alpha transparency - clipboard issues

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.8.8 - viewer - png - alpha transparency - clipboard issues

Post by user0 »

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


Viewer - png - alpha transparency
few issues with copy/pasting from clipboard

To reproduce:
0. prerequisites
- have 2 test images (32bit png)
test_img_copy_paste.zip
(1.81 KiB) Downloaded 250 times

issue A
1. open 1.png in Viewer
2. press Ctrl+C, Ctrl+V
image will be pasted, but with halo on borders/partially transparent parts (similar issue)
a.png
a.png (4.09 KiB) Viewed 207 times
expected behavior
eg like in mspaint/photoshop


issue B
1. open 1.png in Viewer(instance A) and 2.png in another Viewer(instance B)
2. copy 2.png to clipboard (via Ctrl+C or Ctrl+Shift+C) and insert into 1.png (Ctrl+V)
image will be pasted with artifacts (issue A)
3. press Ctrl+Z to undo pasting
4. close instance B
5. paste 2.png from clipboard into 1.png again
result will be different (it looks like 2.png lost alpha channel on app close)
b.png
b.png (3.88 KiB) Viewed 204 times





Related
Post Reply