Unwanted file types shown in Viewer

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Hacker
Posts: 224
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Unwanted file types shown in Viewer

Post by Hacker »

Hi *.*,
For some reason it seems (after updating to 2.40 perhaps?) that in Viewer XnView is showing me file types I don't want it to show, like PDF's or icons in EXE files while browsing through a dir using Page Up / Down. Any ideas, please?

TIA
Roman
You do not have the required permissions to view the files attached to this post.
Last edited by Hacker on Fri Apr 28, 2017 10:38 pm, edited 1 time in total.
User avatar
XnTriq
Moderator & Librarian
Posts: 5918
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Unwanted file types shown in Viewer

Post by XnTriq »

What are you settings in ViewFilter By, Roman?
Hacker
Posts: 224
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Unwanted file types shown in Viewer

Post by Hacker »

XnTriq,
It is set to Custom. The files are not shown in the Browser, only in the Viewer / Fullscreen.

Roman
User avatar
XnTriq
Moderator & Librarian
Posts: 5918
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Unwanted file types shown in Viewer

Post by XnTriq »

Confirmed :bugconfirmed:
bg17aw
Posts: 9
Joined: Sun Jul 16, 2017 11:25 am

Re: Unwanted file types shown in Viewer

Post by bg17aw »

Hacker wrote:Hi *.*,
For some reason it seems (after updating to 2.40 perhaps?) that in Viewer XnView is showing me file types I don't want it to show, like PDF's or icons in EXE files while browsing through a dir using Page Up / Down. Any ideas, please?
Roman
I have this issue too, really annoyed by the icons in exe files.

Any solution for this?
User avatar
xnview
Author of XnView
Posts: 36389
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Unwanted file types shown in Viewer

Post by xnview »

I can only reproduce if you have not Custom in browser. If i use Filter>Custom, PDF is not shown in viewer.
Pierre.
Hacker
Posts: 224
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Unwanted file types shown in Viewer

Post by Hacker »

Pierre,
I can reproduce it with PDF or EXE when Filter set to Custom. Is there any way I can help reproduce?

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

Re: Unwanted file types shown in Viewer

Post by xnview »

Hacker wrote:Pierre,
I can reproduce it with PDF or EXE when Filter set to Custom. Is there any way I can help reproduce?
please send me your xnview.ini
Pierre.
Hacker
Posts: 224
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Unwanted file types shown in Viewer

Post by Hacker »

Pierre,
Sent to contact xnview com.

Roman
User avatar
XnTriq
Moderator & Librarian
Posts: 5918
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Unwanted file types shown in Viewer

Post by XnTriq »

  1. Create a new folder (e.g. Test).
  2. Copy the following files into the newly-created folder:
    • XnViewMediaDetector.exe
    • logo.png
    • A PDF file
  3. Start XnView v2.40.
  4. Deactivate Show item in view 'Thumbnails' for AI, PS, PDF files and All other files in ToolsOptions...File ListFile List.
  5. Deactivate Recognize only by extension in ToolsOptions...File ListMisc. :!:
  6. Set ViewView As to Thumbnails.
  7. Set ViewFilter By to Custom.
  8. Point XnView's browser to X:\Test\.
  9. Open X:\Test\logo.png in XnView's non-fullscreen editor.
  10. Move through the folder by using the buttons for Previous file and Next file on the main toolbar.
    :bug: XnView opens the PNG and PDF file as well as the icon of the EXE.
User avatar
xnview
Author of XnView
Posts: 36389
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Unwanted file types shown in Viewer

Post by xnview »

Hacker wrote:Pierre,
Sent to contact xnview com.
the problem was with 'Recognize by ext', must be activated
Pierre.
User avatar
xnview
Author of XnView
Posts: 36389
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Unwanted file types shown in Viewer

Post by xnview »

XnTriq wrote:
  1. Create a new folder (e.g. Test).
  2. Copy the following files into the newly-created folder:
    • XnViewMediaDetector.exe
    • logo.png
    • A PDF file
  3. Start XnView v2.40.
  4. Deactivate Show item in view 'Thumbnails' for AI, PS, PDF files and All other files in ToolsOptions...File ListFile List.
  5. Activate Recognize only by extension in ToolsOptions...File ListMisc. :!:
  6. Set ViewView As to Thumbnails.
  7. Set ViewFilter By to Custom.
  8. Point XnView's browser to X:\Test\.
  9. Open X:\Test\logo.png in XnView's non-fullscreen editor.
  10. Move through the folder by using the buttons for Previous file and Next file on the main toolbar.
    :bug: XnView opens the PNG and PDF file as well as the icon of the EXE.
if 'Recognize only by extension' is activated, i can't reproduce
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 5918
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Unwanted file types shown in Viewer

Post by XnTriq »

xnview wrote:if 'Recognize only by extension' is activated, i can't reproduce
Sorry, Pierre, you're right. Of course it's the other way around:
  • The bug can only be reproduced if Recognize only by extension is deactived.
I've updated my previous post accordingly.
Hacker
Posts: 224
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: Unwanted file types shown in Viewer

Post by Hacker »

Not fixed in 2.41.

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

Re: Unwanted file types shown in Viewer

Post by xnview »

Hacker wrote:Not fixed in 2.41.
with 'Recognize only by extension' activated?
Pierre.