Page 1 of 1

0.91: Icons for non-image files display improperly in thumbnail view

Posted: Wed Sep 19, 2018 9:35 am
by Sablesword
XnView: MP 0.91 - 64 bit
OS: Windows 7 Pro - 64 bit

Icons for text, pdf, archive, and "other" file types do not display properly in the browser. Sizes and positions vary with icon or file type.

To reproduce:
1. Set view>"view as" to "thumbnails" or "thumbnails + filenames/lables/details"
2. In settings, uncheck "show as thumbnail" in Browser - File list/Custom filter tab for non-image files

Actual behavior (bug): Icons for non-image files display in different sizes, with some icons showing as reduced size in the upper left corner, some icons large and centered, and some icons small and centered.

Expected behaviour: Icons for non-image files should all be centered and set to "medium" size.

Re: 0.91: Icons for non-image files display improperly in thumbnail view

Posted: Wed Sep 19, 2018 10:45 am
by xnview
could you post a screenshot?

Re: 0.91: Icons for non-image files display improperly in thumbnail view

Posted: Fri Nov 02, 2018 6:00 pm
by Sablesword
Returning late - but the problem persists in 0.92
badthumb.png
The zip and rtf files show small icons in the upper left corner instead of centered, while the txt icon is big and malformed.

EDIT:
in 0.90 the same folder looks like this:
ok90thumb.png

Re: 0.91: Icons for non-image files display improperly in thumbnail view

Posted: Fri Nov 16, 2018 2:47 pm
by xnview
I can't reproduce, ZIP (7zip installed) and RTF icons are correct

Re: 0.91: Icons for non-image files display improperly in thumbnail view

Posted: Wed Nov 28, 2018 12:41 pm
by Sablesword
Well, I'm using custom icons. The issues seem to be:
1. Icons with a maximum size of 32x32 or 48x48 get pushed to the upper left corner, rather than being centered.
2. In 256x256 icons, black is treated as transparent.

I'm attaching two of my custom icon files. You'll have to associate them with a file type to see the bug, since if you view the .ico files themselves in XnviewMP, they look OK.

Re: 0.91: Icons for non-image files display improperly in thumbnail view

Posted: Fri Nov 30, 2018 8:59 am
by xnview
Sablesword wrote: Wed Nov 28, 2018 12:41 pm You'll have to associate them with a file type to see the bug
How do you change default icons?

Re: 0.91: Icons for non-image files display improperly in thumbnail view

Posted: Sun Dec 02, 2018 5:26 pm
by Sablesword
For Windows 7 (and higher) the easiest way is probably to use "Default Programs Editor" http://defaultprogramseditor.com/

Re: 0.91: Icons for non-image files display improperly in thumbnail view

Posted: Mon Dec 03, 2018 2:14 pm
by xnview
ok, it seems to be a problem between such icon & lastest version of QT libraries (that i use)