[Libreoffice-bugs] [Bug 122066] Drag-and-drop multiple file links

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 31 11:26:26 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=122066

--- Comment #6 from Michael Weghorn <m.weghorn at posteo.de> ---
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 at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190131/5897d60f/attachment.html>


More information about the Libreoffice-bugs mailing list