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

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
kunkel321
Posts: 665
Joined: 10 Jun 2012 03:45
Location: Near Seattle

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

Post 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
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

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

Post 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
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

kunkel321
Posts: 665
Joined: 10 Jun 2012 03:45
Location: Near Seattle

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

Post 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
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

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

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

kunkel321
Posts: 665
Joined: 10 Jun 2012 03:45
Location: Near Seattle

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

Post 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:
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

This is really a point where Windows gets dark and scary. Makes me sick. Cough cough cough.

kunkel321
Posts: 665
Joined: 10 Jun 2012 03:45
Location: Near Seattle

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

Post 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.)
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.

Post Reply