Page 1 of 1

CC oddity... Maybe bug--wrong type of info shown.

Posted: 23 Feb 2015 23:16
by kunkel321
Accidentally posted this on the 'Wished' page... Then moved here.
===========

In my Custom Columns setup, I have a Mixed Column that I call "Size 2."
I just now noticed that it is showing Modification Dates for some system files. (see img)

Image

They was I have it set up, the logic should be:
IF dll;icl, show number of icons in resource
ELSE IF pdf, show number of pages
ELSE IF any folder, use script
ELSE IF image, show dimensions
ELSE any other file, show size.
(you can confirm these from the image-yes?)
So the size should not be showing in my "Size 2" CC--correct?


FYI I posed about this previously (see link) but was never able to reproduce the effect...
http://www.xyplorer.com/xyfc/viewtopic. ... ns#p103843

Maybe it's a problem with my setup IDK... Do you want me to send my XYplorer.ini file to you Don?
=======

Update: Check out image below. On the left, you can see 'CC Size 2' shows the Mod Date (green highlights are some dummies I just put in there). But on the right, which also uses 'Size 2,' you can see that .ini and .txt files have the size shown (as intended). So what's up with the one on the left? Maybe there's just something special about that folder?
Image

Re: CC oddity... Maybe bug--wrong type of info shown.

Posted: 24 Feb 2015 16:04
by bdeshi
kunkel321 wrote:Maybe there's just something special about that folder?
Exactly. [ http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=13253 ]
Property indices don't match between %UserProfile% and non-special folders.

Try these on a file/folder in %userProfile% and any other location.

Code: Select all

::echo <prop #1>; //normal:size; userprof: date modified

Code: Select all

::echo <prop #4>; //normal:date created; userprof: type

Re: CC oddity... Maybe bug--wrong type of info shown.

Posted: 24 Feb 2015 17:11
by kunkel321
Huh. Weird.

I guess you're right. The two files I was comparing though (in left and right pane, above img) were both under %UserProfile% though, right?
left: C:\Users\swkunkel\
right: C:\Users\swkunkel\Desktop\

Other subfolders: C:\Users\swkunkel\TextFiles\
and so on, behave as expected... So it's really ONLY that folder, and not subfolders of it.

RE your suggested Echos; yield the following:
C:\Users\swkunkel\ntuser.ini
::echo <prop #1>; //normal:size; userprof: date modified = "9/25/2014 8:23 AM"
::echo <prop #4>; //normal:date created; userprof: type = "Configuration settings"
C:\Users\swkunkel\Desktop\desktop.ini
::echo <prop #1>; //normal:size; userprof: date modified = "468 bytes"
::echo <prop #4>; //normal:date created; userprof: type = "2/20/2014 11:36 AM"

I double-checked, and yes, the \swkunkel\ is yielding the expected results, but the \desktop\ one is not, though the opposite is true for my CC. ... :shock:

RE Info Tip: I usually keep mine turned of. I did turn them back on though, using the default content. They seem to show the correct info on both sides (img)
Image

Re: CC oddity... Maybe bug--wrong type of info shown.

Posted: 24 Feb 2015 17:45
by bdeshi
this only affects the root userprofile folder.

[This also used to affect info tips, but Don nullified it there.]
I double-checked, and yes, the \swkunkel\ is yielding the expected results, but the \desktop\ one is not, though the opposite is true for my CC. ... :shock:
That was a demonstration of the problem. The property indices are different. By this cmt, "//normal:size; userprof: date modified" I pointed out the different returned properties in those respective locations.

Re: CC oddity... Maybe bug--wrong type of info shown.

Posted: 24 Feb 2015 19:17
by kunkel321
SammaySarkar wrote:
I double-checked, and yes, the \swkunkel\ is yielding the expected results, but the \desktop\ one is not, though the opposite is true for my CC. ... :shock:
That was a demonstration of the problem. The property indices are different. By this cmt, "//normal:size; userprof: date modified" I pointed out the different returned properties in those respective locations.
Ah yes--my bad. :whistle:

Re: CC oddity... Maybe bug--wrong type of info shown.

Posted: 02 Mar 2015 18:57
by admin
This is really a point where Windows gets dark and scary. Makes me sick. Cough cough cough.

Re: CC oddity... Maybe bug--wrong type of info shown.

Posted: 02 Mar 2015 22:20
by kunkel321
Oddly, I checked the User Folder on Win Vista at home, and this bug was not present. --I only see it at work with Win 7.
(I didn't have time to try Sammy's tests though... Just checked my mixed column.)