Description: You can drag and drop a picture from a file explorer into any Writer/Calc/Impress etc. If you press Ctl+Shift while dragging, the picture is inserted as a link. Here's the bug: if you drag multiple pictures, only the first picture is inserted as a link. Everything after is inserted directly. Steps to Reproduce: 1. Drag multiple pictures from file explore while pressing Ctl+Shift 2. 3. Actual Results: First inserted picture is a link. All other pictures are directly inserted Expected Results: All pictures should be inserted as link Reproducible: Always User Profile Reset: No Additional Info:
I can not confirm with Version: 6.3.0.0.alpha0+ Build ID: 2b6bd096f5bd9d250e4590d7150190086ad282b2 CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; I tried insert three images (png) and in properties of all of them I can see Link string filled on Image tab.
Original report was erroneously reported against Writer. Writer seems to work correctly. Impress/Draw exhibit this behavior. Calc has a different bug -- if you drag multiple pictures only the first picture is placed in the document.
Confirm with Version: 4.4.0.0.alpha0+ Build ID: dea4a3b9d7182700abeb4dc756a24a9e8dea8474 and LO 6.3
I cannot reproduce using Version: 6.3.0.0.alpha0+ Build ID: 6c342d5a3748b1ded8f2661883c0be396fc683af CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; Locale: en-GB (en_GB.UTF-8); UI-Language: en-US Calc: threaded and dragging two pictures from PCManFM file manager to Impress while pressing Ctrl+Shift. Is this possibly platform-specific (i.e. it depends on the VCL plugin)?
Confirm with Version: 6.0.7.3 Build ID: 1:6.0.7-0ubuntu0.18.04.2 CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group This is with PCManFM dragging into Impress. First picture is a link. Second one is not. Using Edit...Links to External Files... only shows one file linked. That would be great news if somehow current versions in alpha fix this problem.
Sorry for giving you false hope; I didn't check properly; it still happens with master... At a quick glance, the problem seems to be at https://gerrit.libreoffice.org/plugins/gitiles/core/+/42da02bd5aa50c349ab7a2e75d054fd4af55f6a2/sd/source/ui/view/sdview4.cxx#418 where 'tempAction' is set to 0 for all except the first element in the vector, thus also causing 'bLink' to be false. This code was introduced by commit commit c6c750c3e374fbb2b4098f02f7ab36558a74f220 Author: Kai Ahrens <ka@openoffice.org> Date: Thu Mar 14 14:37:19 2002 +0000 #97248#: use MimeTypes to search for correct filters Since the StarDivision internal bugtracker that the comment refers to is not available, it's hard to say what exactly the reason for that commit was. In a quick test, just reverting it at least causes the problem that drag'n'dropping 2 PNG files to Impress only inserts the last one (as a link when pressing Ctrl+Shift). So in any case, this needs further investigation.
Dear wpeaton4, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Verified bug still present in LibO 7.2.7.2 In Writer, dragging multiple files with Ctl+Shift+Drag will be linked as expected. In Calc, Draw, Impress, dragging multiple files with Ctl+Shift+Drag will only link one of the dragged files, the rest are embedded in the document.