Description of problem: I wanted to create a spreadsheet with the name of an existing directory, and did the above. oocalc finished immediately, no error message or anything. If doing the same with a random file, it opens them as CSV formated (even if it makes no sense). Version-Release number of selected component (if applicable): openoffice.org-calc-3.0.0-9.11.fc11.x86_64 How reproducible: Always Steps to Reproduce: 1. mkdir somedir 2. oocalc somedir 3. Actual results: oocalc finishes immediately Expected results: An error message about wrong input? Create somedir.ods by default? Open an unnamed spreadsheet and tell user something is amiss? Additional info:
caolanm->dtardon: want to take this one. Should be straight-forward. i.e. oocalc /tmp/not-exist.ods gives "not-exist.ods does not exist" so some similar error on trying to open a dir might be a good idea, and while we're at it see touch /tmp/not-there oocalc /tmp/not-there I get a crash, that should also be straight-forward to resolve and a good thing to do.
Now openoffice.org-calc-3.0.1-12.3.fc11.1.x86_64 "oocalc /tmp/not-there.ods gives "/tmp/not-there.ods does not exist", but twice. "oocalc /tmp/empty" opens a dialog for opening a text file, and then opens an empty spreadsheet. This is fixed. "oocalc /tmp" still exits immediately.
openoffice.org-calc-3.0.1-13.2.fc11.x86_64, still as in #2
Any progress on this ? Feasible to fix, or impractically difficult ?
Fix committed to F-11 and Rawhide. Will be in 3.1.0-10.3 .
I get "not a file" on it, good enough.