Open Bug 384592 Opened 17 years ago Updated 2 years ago

Files over 2GB are shown as zero-size in file open dialog

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: al4321, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

When using FireFox-specific (not platform specific), File Open or File Save dialogs, files larger than 2 GiB are shown as zero-sized.

Tested on: openSUSE Linux 10.2, x86-32, with Mozilla FireFox 2.0.0.4, downloaded from mozilla.org (original Mozilla build), AND the same bug occur with SUSE build as well.

Reproducible: Always

Steps to Reproduce:
1.Try creating 2 files, one with 2 GiB and another with 2GiB -1 bytes.

Like this: (on Linux)

dd if=/dev/zero of=myimage2G.img bs=1024 count=0 seek=$[2048*1024]
dd if=/dev/zero of=myimage.img bs=1024 count=0 seek=$[2048*1024-1]

2.Change FireFox to use built-in dialogs, not platform's dialog.
Address=about:config
ui.allow_platform_file_picker=false

3. File->Open will return two files, one with zero-size and other other with correct size.
Actual Results:  
Files larger than 2 GiB are shown as zero-sized.

Expected Results:  
Files larger than 2 GiB must be shown correctly.
I can see this bug with Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9a9pre) Gecko/2007100904 Minefield/3.0a9pre…
Version: unspecified → Trunk
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007110604 Minefield/3.0a9pre

Bug exists >)
Changing its status to NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This bug no longer exists.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.