https://bugs.freedesktop.org/show_bug.cgi?id=53570

--- Comment #16 from Harald Koester <[email protected]> ---
Created attachment 79725
  --> https://bugs.freedesktop.org/attachment.cgi?id=79725&action=edit
Example file

I think I observed the same bug with a little png file where I changed the file
extension from "png" to "xxx" and tried to open it. I will provide this file as
attachment. I made some more tests with this file. The result depends on from
where you open this file:
(1) From the Start Center: File is opened with Draw. OK!
(2) From Writer: A text document is opened. Not OK !! Expected: Either opening
with Draw (best case) or a message according to comment 14 or provide an
organized list where the user can select an appropriate file format according
the proposal of bug 41000.
(3) From Calc: Dialog "Text Import" is displayed. I assume that this dialog is
meant with "CSV import dialog" of the initial description. To my opinion not
OK, hence LibroOffice assumes that the file is a text file which should be
imported to a spreadsheet. But this is not the case !! Expected: Either opening
with Draw (best case) or a message according to comment 14 or provide an
organized list where the user can select an appropriate file format according
to the proposal of bug 41000.
(4) From Impress, Draw, Math: File is opened with Draw. OK!

I did the same tests with a LO installation where I deselected the installation
component "Graphic Filters". In this case the result is different:
(1) From the Start Center with "Open...", Calc, Impress, Draw and Math: Dialog
"Text Import" is displayed. To my opinion not OK, hence LibroOffice assumes
that the file is a text file which should be imported to a spreadsheet. And
this is not the case !! Expected: Either a message according to comment 14 or
provide an organized list where the user can select an appropriate file format
according to the proposal of bug 41000.
(2) From Writer: A text document is opened. Not OK !! Expected: Either a
message according to comment 14 is displayed or provide an organized list where
the user can select an appropriate file format according the proposal of bug
41000.

In order to reproduce the bug, download the attached document and try to open
it under the mentioned conditions.

Just an idea: What about a message something like:

  "Unable to detect a format of <filename.ext>"
  [Open as text] [Open as spreadsheet] [Open other format] [Cancel]

And then if the user clicks "Open other format" s/he gets the full list of
possible formats.

OS: Win 7, LO version: 4.0.3

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to