[Bug 49539] New: IShellView displays incorrect file size for files >2GB
https://bugs.winehq.org/show_bug.cgi?id=49539 Bug ID: 49539 Summary: IShellView displays incorrect file size for files >2GB Product: Wine Version: 5.12 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs(a)winehq.org Reporter: bshanks(a)codeweavers.com Distribution: --- Created attachment 67670 --> https://bugs.winehq.org/attachment.cgi?id=67670 explorer screenshot The IShellView directory listing (i.e. in explorer.exe) shows an incorrect file size for files larger than 2 GB. Right click->Properties shows the correct file size. See screenshot. I think this is caused by the use of a DWORD for dwFileSize in the PIDLDATA FileStruct, and used by _ILGetFileSize. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49539 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Yes, I think it's mostly GetDetailsOf() fault. We still use _ILGetFileSize() for sorting in shellview, but that's likely wrong in general. On Windows it will be same overflow in PIDL item field, while GetDetailsOf() returns correct string still. Another difference is that Explorer string does not match what GetDetailsOf() returns, on Windows Explorer returns size in KB, and GetDetailsOf() will show GBs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla