I recently received a .docx file, which was mistakenly saved as .xls file. Unfortunatly the Calc application was not able to detect, the format. Then i renamed the file to .xlsx . In this case libreoffice is able to distinguish between .docx and .xlsx. Would it be difficult to implement the detection mechanism also in legacy Office files? I believe the user experience for technical unskilled people would increase tremendously, if Libreoffice could detect the correct filetype.
I think it *is* supposed to use also the contents to detect the type of data in a file, at least to some extent. But apparently not thoroughly enough then in this case. Could you please give much more specific reproduction instructions: - What operating system, what version, and if Linux, what distro and what desktop environment (GNOME, KDE, other)? - Exactly how did you try to open the misnamed file? By double-clicking in your desktop's file manager? From inside LibreOffice using File:Open?
(In reply to comment #1) > I think it *is* supposed to use also the contents to detect the type of data in > a file, at least to some extent. But apparently not thoroughly enough then in > this case. Could you please give much more specific reproduction instructions: > > - What operating system, what version, and if Linux, what distro and what > desktop environment (GNOME, KDE, other)? > - Exactly how did you try to open the misnamed file? By double-clicking in your > desktop's file manager? From inside LibreOffice using File:Open? Basically the issue is reproducible on Gentoo AMD64 with libreoffice-bin-3.3.1, ubuntu 10.04 LTS with relativly openoffice (packed). With Libreoffice 3.3.1 on MacOS X 10.6 it is also happining. They all platforms i have at hand. But i believe it is happening all the time. To reproduce the issue i double-click in the filemanager (Dolphin, Nautilus or Finder) on the file. I have to add, that the same thing exists in Microsoft office 2003. But we want to better than them, isn't it? :) By the way: aren't the docx and xlsx files just zip compressed xml files? Then it should be possible to run a zip-package detection before entering a more detailed filetype detection.
[This is an automated message.] This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it started right out as NEW without ever being explicitly confirmed. The bug is changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases. Details on how to test the 3.5.0 beta1 can be found at: http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1 more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
@ Alexander Thanks for bugreport Please, verify if in last version of LibreOffice still reproducible
Dear bug submitter! Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs. To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem. Yours! Florian