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

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
Sablesword
Posts: 17
Joined: Sat Oct 25, 2014 12:17 am

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

Post by Sablesword » Wed Sep 19, 2018 9:35 am

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.

User avatar
xnview
Author of XnView
Posts: 30213
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Wed Sep 19, 2018 10:45 am

could you post a screenshot?
Pierre.

Sablesword
Posts: 17
Joined: Sat Oct 25, 2014 12:17 am

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

Post by Sablesword » Fri Nov 02, 2018 6:00 pm

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

User avatar
xnview
Author of XnView
Posts: 30213
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Fri Nov 16, 2018 2:47 pm

I can't reproduce, ZIP (7zip installed) and RTF icons are correct
Pierre.

Sablesword
Posts: 17
Joined: Sat Oct 25, 2014 12:17 am

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

Post by Sablesword » Wed Nov 28, 2018 12:41 pm

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.
Attachments
icon files.zip
(23.48 KiB) Downloaded 1 time

User avatar
xnview
Author of XnView
Posts: 30213
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Fri Nov 30, 2018 8:59 am

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?
Pierre.

Sablesword
Posts: 17
Joined: Sat Oct 25, 2014 12:17 am

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

Post by Sablesword » Sun Dec 02, 2018 5:26 pm

For Windows 7 (and higher) the easiest way is probably to use "Default Programs Editor" http://defaultprogramseditor.com/

User avatar
xnview
Author of XnView
Posts: 30213
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Mon Dec 03, 2018 2:14 pm

ok, it seems to be a problem between such icon & lastest version of QT libraries (that i use)
Pierre.

Post Reply