Bug 34825

Summary: drag and drop in Calc picture without extension inserts it as text
Product: LibreOffice Reporter: sasha.libreoffice
Component: CalcAssignee: Kohei Yoshida <kohei>
Status: RESOLVED WORKSFORME    
Severity: normal CC: LibreOffice, sasha.libreoffice
Priority: medium    
Version: 3.3.1 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: rename to Picture_without_extension
jpeg file with no file extension in filename

Description sasha.libreoffice 2011-02-28 04:19:30 UTC
Created attachment 43921 [details]
rename to Picture_without_extension

drag and drop picture without extension inserts it as text. It creates Writer document with content of image.
I have tryed it on Mandirva 64 bit Kde 4.4 and windows XP 32 bit

In attachment is one random picture that should be renamed to Picture_without_extension to reproduce problem
Comment 1 Alex Thurgood 2011-02-28 05:10:00 UTC
Confirming on Mac OSX 10.6.6. Ironically, the Finder on Mac is clever enought to display the preview of the image in the properties of the file, but incorrectly suggests the wrong application to open it (text displayers, including Firefox, Chromium, OOo and LibO).

Alex
Comment 2 Cédric Bosdonnat 2011-02-28 05:36:04 UTC
yet another mac issue for you?
Comment 3 Alex Thurgood 2011-02-28 06:25:06 UTC
Hi Cedric,

The OP reported the behaviour on Win XP 32bit and Mandriva 64bit KDE. I just confirmed that behaviour also exists on Mac, so multi-OS.

Alex
Comment 4 Alex Thurgood 2011-02-28 06:37:53 UTC
I recall this being a bug in a previous version of OOo, but which one... ?


Alex
Comment 5 Thorsten Behrens (allotropia) 2011-03-03 01:09:49 UTC
Moving over to Kohei then.
Comment 6 Rainer Bielefeld Retired 2011-05-21 02:42:05 UTC
NOT reproducible with "LibreOffice 3.4.0RC1  – WIN7  Home Premium  (64bit) English UI [OOO340m1 (Build:11)]". Fixed in between or do I not understand the problem?

1. I saved reporter's "Picture_without_extension" in a folder
2. created a new CALC document and saved in the same folder
3. opened WIN Explorer for folder with "Picture_without_extension" 
4. copied  "Picture_without_extension" using dragand drop from WIN explorer 
   into CALC document
   Expected due to report: no picture shown
   actual: picture with fairy shown 

I modified Status to Assigned due to facts.	

@all:
still reproducible for you with 3.4?
Comment 7 sasha.libreoffice 2011-05-23 08:08:44 UTC
LibO 3.4 rc1:
Windows XP - Ok
Mandriva 64 bit - proposes open as text
Comment 8 Bob Harvey 2012-04-07 05:14:06 UTC
Created attachment 59618 [details]
jpeg file with no file extension in filename

Just used 'folder' picture to test 3.5.2.2 on Ubuntu using Nautilus 2.30.1 as the file explorer.

I was able to successfully drag-and-drop it to calc, writer, impress, & draw

Has this been fixed?
Comment 9 sasha.libreoffice 2012-04-09 01:36:38 UTC
Thanks for additional testing. In 3.5.2 on Fedora 64 bit fixed
Changing status to WorksForMe