Page 1 of 1

*? Pattern Not Working [Solved]

Posted: 07 May 2013 22:58
by arirish
Trying out the new Beta release, and I applied the new *? pattern for PFIs, but as far as I can see it hasn't changed anything and all my default file icons are still as they were previously. PFIs are definitely on - all my other patterns are functioning as expected.

Windows XP SP3, using version 12.40.0008. Not sure what else might be relevant.

Re: *? Pattern Not Working

Posted: 07 May 2013 23:43
by Borut
Is working good at my place (same environment as yours). I have it as the last entry. Just to be sure: Have you activated the PFI in Configuration | Refresh, Icons, History | Enable Custom File Icons?

Re: *? Pattern Not Working

Posted: 08 May 2013 00:20
by arirish
Yup, 'Enable Custom File Icons' is activated. As I said, all my other patterns for custom icons work as they should.

Just tried moving it to the last entry, still nothing. Perhaps it doesn't work in the way I expected it to. To clarify, I am right in thinking that in the attached screenshot, all the .dat, .GID, and .cnt files should have my chosen icon, rather than that blank one?

https://www.dropbox.com/s/uwm4h3l6movfpmf/Untitled.png

Re: *? Pattern Not Working

Posted: 08 May 2013 09:25
by admin
The icon in your screenshot is NOT the system default icon in XP. Something is associated with your DAT files...

Re: *? Pattern Not Working

Posted: 08 May 2013 14:24
by arirish
admin wrote:The icon in your screenshot is NOT the system default icon in XP. Something is associated with your DAT files...
Hmm... that's interesting. If I create any new file and give it any random extension, that's the icon it gets, so I wonder where it's picking that up from. Something else is giving me a new default... Must investigate...

Re: *? Pattern Not Working

Posted: 08 May 2013 14:39
by admin
XY's "Open With" toolbar button shows the associated app at the bottom if there is any.

There is also the undocumented SC sysicons. The default icon under XP should be #3.

Re: *? Pattern Not Working

Posted: 08 May 2013 23:08
by arirish
admin wrote:XY's "Open With" toolbar button shows the associated app at the bottom if there is any.

There is also the undocumented SC sysicons. The default icon under XP should be #3.
Interesting... when I try the 'open with' button, there are no associations (as expected), but when I tried ::sysicons, the default icon under #3 was the one it SHOULD be, and the one I HAVE is #10.

Furthermore, if I double-click one of these unassociated .dat files, I get a 'caution' dialog pop up, and the icon shown in the dialog is the correct one (ie, icon #3). What the heck have I done?

EDIT: Further experimentation reveals that other filetypes (for example, .pdn, currently not associated with paint.net for some unrelated reason) show the proper default file icon - not the expected XYplorer icon. My .dats, etc. still have that other icon as seen in the screenshot; trying to get to the bottom of that, but in the meantime now I have to figure out why even the ones that DO have the default icon aren't working :D

Re: *? Pattern Not Working

Posted: 09 May 2013 09:30
by LittleBiG
The same here. I can't find any settings, which could show the associated icon given in the *? pattern :-(

Re: *? Pattern Not Working

Posted: 09 May 2013 09:49
by admin
Damn, :bug: :evil: there was indeed a bug! Not sure if it explains all of the_hyrax_lord's issues... wait for next beta...

Re: *? Pattern Not Working

Posted: 09 May 2013 14:42
by Flora_RMC
Thank you! It works perfectly now. :biggrin:
I had the same problem and was checking the situation as per your instructions (::sysicons - and yes, my generic icon is #3) when you found the bug. Phenomenal!
As always, you debug at lightning speed :appl: :appl:

Re: *? Pattern Not Working

Posted: 09 May 2013 21:18
by arirish
admin wrote:Damn, :bug: :evil: there was indeed a bug! Not sure if it explains all of the_hyrax_lord's issues... wait for next beta...
Thank god* that worked; I was driving myself mad trying to figure out what I'd done to change my icons in the first place, but now all the unassociated files are obeying the *? pattern correctly. Cheers!

*Don

Re: *? Pattern Not Working

Posted: 09 May 2013 21:23
by admin
So it was all my fault. Sorry for the trouble.