Hoverbox for archives showing incorrect filesize

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
jupe
Posts: 3570
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Hoverbox for archives showing incorrect filesize

Post by jupe »

I noticed in the HoverBox on archives that the file size is displayed incorrectly once the file is larger than 1GB, I tested it while alternating both of the ZipPath* keys, and while using either the incorrect size is still displayed, so the issue isn't with their output.

Here is a screenshot showing the HoverBox displayed size and the actual size. (last digit dropped)

rarsize.png
To see the attached files, you need to log into the forum.

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

Re: Hoverbox for archives showing incorrect filesize

Post by admin »

Indeed! Windows has a surprise for you every day. (Tip for aspiring coders: The FolderItem object cannot handle sizes larger > 2GB.)

Fixed in next beta.

jupe
Posts: 3570
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Hoverbox for archives showing incorrect filesize

Post by jupe »

I just tried .0105, the original issue still seems to be present, my test file is < 2GB as per screenshot.

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

Re: Hoverbox for archives showing incorrect filesize

Post by admin »

Works here with ZIP:
2019-07-12_151437.png
But just saw that you are talking about RAR. Yes, that's still wrong. So we have two bugs... going to work... :twisted:
To see the attached files, you need to log into the forum.

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

Re: Hoverbox for archives showing incorrect filesize

Post by admin »

Got it. This bug was totally unrelated to the other one. Two utterly different bugs surfacing in the same way in the almost (ZIP vs RAR) same location at the same time. This is extremely rare. The universe might end soon.

jupe
Posts: 3570
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Hoverbox for archives showing incorrect filesize

Post by jupe »

Looks fixed now with .0106, I guess you scored a twofer. :wink:

Post Reply