Bug 138180 - EDITING Drag n Drop from Windows Explorer remote folder creates OLE icons displaying long names
Summary: EDITING Drag n Drop from Windows Explorer remote folder creates OLE icons dis...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2020-11-13 09:38 UTC by NISZ LibreOffice Team
Modified: 2023-10-29 12:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (16.43 KB, application/vnd.oasis.opendocument.text)
2020-11-13 09:38 UTC, NISZ LibreOffice Team
Details
Example file from Word 2013: icon size is fixed; text broken to multiple lines (74.90 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-11-13 09:38 UTC, NISZ LibreOffice Team
Details
Screenshot of the original documents side by side in Word and Writer (67.67 KB, image/png)
2020-11-13 09:39 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-11-13 09:38:24 UTC
Created attachment 167260 [details]
Example file from Writer

When a docx, xlsx or pptx file is drag n dropped from Windows Explorer to Writer from a remote folder the resulting OLE icon has the full file name displayed, which may result in a very wide OLE icon.

Steps to reproduce:
    1. Have some longer filenames in a shared folder with UNC name
    2. Drag n drop those files into a new Writer document

Actual results:
OLE icons appear, displaying the full long filenames without any truncation.

Expected results:
OLE icons appear, displaying full filenames:
- either truncated in the middle and putting them in one not too long line
- not truncated, broken to multiple not too long lines (similar to Word)

LibreOffice details:
Version: 7.1.0.0.alpha1+ (x64)
Build ID: 693553210828538680408832157faad9654758c8
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2020-11-13 09:38:44 UTC
Created attachment 167261 [details]
Example file from Word 2013: icon size is fixed; text broken to multiple lines
Comment 2 NISZ LibreOffice Team 2020-11-13 09:39:32 UTC
Created attachment 167262 [details]
Screenshot of the original documents side by side in Word and Writer

The example files used here are the same as attachment #167259 [details]
Comment 3 Dieter 2021-11-01 15:30:32 UTC
I confirm it with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 273a25c796fca9afa0dfadac57dc3f336831221c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

BTW:
If you drag and drop docx-file from "normal" folder, file format is changed to doc-file (and therefore filename is truncated)
Comment 4 Sophie Sipasseuth 2023-10-09 09:00:37 UTC
No repro, with a docx file, with the last version of LibreOffice.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9a02f4ed071f15908624fb1cafcf6dbb72b00a1b
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded

With an xlsx file, the drag-and-drop copy and paste the file's content in Writer.
With a pptx file,  the drag-and-drop copy and paste the first slide of the file in Writer.