Hiding .REG files

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

Moderators: helmut, XnTriq, xnview

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

Hiding .REG files

Post by XnTriq »

When I activate Recognize only by extension, .REG files are displayed as blank thumbnails, even though Show items in view ‘Thumbnails’ is disabled for Text files.
  • Image
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Hiding .REG files

Post by xnview »

XnTriq wrote:When I activate Recognize only by extension, .REG files are displayed as blank thumbnails, even though Show items in view ‘Thumbnails’ is disabled for Text files.
I can't reproduce, do you have same thumbnail in windows explorer?
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Hiding .REG files

Post by XnTriq »

On my system Windows Explorer displays the file-type icon for REG files in thumbnail view:
As it turns out, some REG files are identified correctly by XnView v1.97 beta 3 (Filter By = All):
:? Does it depend on the filesize?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Hiding .REG files

Post by xnview »

Could you send me a .reg?
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Hiding .REG files

Post by XnTriq »

XnTriq wrote:When I activate Recognize only by extension, .REG files are displayed as blank thumbnails, even though Show items in view ‘Thumbnails’ is disabled for Text files.
Diplay all image file types and Ignore read errors have the same effect.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Hiding .REG files

Post by XnTriq »

  • 4.reg = Exported with RegEdit to v4 format (ANSI)
  • 5.reg = Exported with RegEdit to v5 format (Unicode)
  • 5_ansi.reg = Exported with RegEdit to v5 format and coverted with Notepad from Unicode to ANSI

Code: Select all

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.reg]
@="regfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.reg\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Hiding .REG files

Post by helmut »

Hmm, no problems with .reg files, here. (I've tried the settings mentioned above).
User avatar
ckv
Posts: 786
Joined: Wed Feb 02, 2005 2:30 pm
Location: Glow
Contact:

Re: Hiding .REG files

Post by ckv »

I can't reproduce this either.

XnTriq do you have reg extension set in the TxtExt setting?

Only way I could get thumbnails out of .reg files was to add reg files to that setting.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Hiding .REG files

Post by XnTriq »

Thanks for testing, everyone! “Unsolved mysteries” are driving me nuts :P
ckv wrote:XnTriq do you have reg extension set in the TxtExt setting?
Good thinking! After adding the extension to the list...

Code: Select all

TxtExt=txt c c++ cc h cpp pas js css php ini reg
... all .REG files disappear when Filter by is set to Custom.

Now, if I'm activating Show items in view ‘Thumbnails’ for Text files and rebuild the thumbs, this is what I get:
  • Image
Post Reply