I am trying to insert Links or Hyperlinks from one (inactive) odt text document to another odt text document or odm master document, using the Navigator pane of the Sidebar. No matter if I set the Drag Mode to Link or Hyperlink, all that happens is that a copy of the text is created in the target (active) text or master document.
Confirming on Version: 5.3.0.0.alpha0+ Build ID: dcfa38da9894bccff76b643aed92cc80d321ca55 Threads CPU : 2; Version de l'OS :Mac OS X 10.11.6; UI Render : par défaut; Locale : fr-FR (fr.UTF-8); Calc: group
I see this behaviour in LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4 so the problem has been there since the LO's project inception.
Hi grettir, (In reply to grettir from comment #0) > No matter if I set the Drag Mode to Link or Hyperlink, all that happens is > that a copy of the text is created in the target (active) text or master > document. You can only insert Links or Hyperlinks from outline content, i.e. parts that have a header that is referred in Tools > Outline numbering... Works for me. Can you please check that? Thanks, Cor
(In reply to Cor Nouws from comment #3) > Hi grettir, > > (In reply to grettir from comment #0) > > > No matter if I set the Drag Mode to Link or Hyperlink, all that happens is > > that a copy of the text is created in the target (active) text or master > > document. > > You can only insert Links or Hyperlinks from outline content, i.e. parts > that have a header that is referred in Tools > Outline numbering... > Works for me. > Can you please check that? > Thanks, > Cor Yes. The headings are properly noted in the Outline Numbering styles
Further exploration reveals the following (LO 5.1.5 and 5.2.04 on OSX El Capitan) - using the original (free-floating, not-in-sidebar) Navigator will insert Hyperlinks from headings in the inactive document, no matter what the Drag Mode is set to. I have also double checked on this with the notion that, maybe a conflict in how Drag Mode is set in the 2 different Navigator panes (free floating, and sidebar). So I ensured that in the source and target documents, both the navigator panes were set to the same Drag Mode. This made no difference. To summarize: Dragging a heading from an inactive document in the Sidebar Navigator will copy a section with the heading and its subordinate levels and text, no matter what Drag Mode is set at; dragging a heading from an inactive document in the free-floating Navigator will insert a Hyperlink to the heading, no matter what Drag Mode is set at. Consistent on 2 different macs with this version of OSX and both these versions of LO. Very odd that the behavior differs between the 2 Navigator panes; different code?
OK, my bad for incorrectly understanding how this worked. Resetting version to 5.1.5.2 (as mentioned by the OP) Tested against Version: 5.3.0.0.alpha0+ Build ID: dcfa38da9894bccff76b643aed92cc80d321ca55 Threads CPU : 2; Version de l'OS :Mac OS X 10.11.6; UI Render : par défaut; Locale : fr-FR (fr.UTF-8); Calc: group Contrary to the findings in comment 5, I get a link inserted with Header styles to the linked document, irrespective of whether I use the detached Navigator window or the embedded Navigator in the sidebar. So from that point of view, no repro here, sorry.
I also can not reproduce with Version: 5.2.0.4 Build ID: 066b007f5ebcc236395c7d282ba488bca6720265 Threads CPU : 2; Version de l'OS :Mac OS X 10.11.6; UI Render : par défaut; Locale : fr-FR (fr.UTF-8)
@grettir : my attempts to reproduce in comments 6 and 7 used the standard default Header styles in LO. Are you using anything specific (customised styles) or particular content for which you are trying to create a link ? Ideally, please provide us with sample documents that show the problem and a detailed description on how to reproduce. Setting NEEDINFO until requested information is provided. Please set back to UCONFIRMED once you have done this. Thanks.
Created attachment 126992 [details] Zipped archive of two test files resulting from inserting links from one to the other
(In reply to Alex Thurgood from comment #8) > @grettir : my attempts to reproduce in comments 6 and 7 used the standard > default Header styles in LO. > > Are you using anything specific (customised styles) or particular content > for which you are trying to create a link ? > > Ideally, please provide us with sample documents that show the problem and a > detailed description on how to reproduce. > > Setting NEEDINFO until requested information is provided. Please set back to > UCONFIRMED once you have done this. Thanks. OK have done so. This is what I did: Created a new .odt text document. It uses builtin standard Heading 1 Heading 2 Heading 3 and Text Body paragraph styles. I then duplicated this file and manually edited it so that all styles and outline numbering would be the same. The text I altered indicating how the various hyperlinks and copied sections were created. Since others responding to this are using the same OS and version of LO, I wonder if one of the following might explain: 1. different settings or user profiles on the underling OS? 2. different basic settings on the user's LibreOffice? otherwise I have no idea why the behavior persists for me but others can't duplicate.
I can drag links and hyperlinks from one to the other file. The only thing is that it's a bit slow in switching, takes some time/click before it reacts properly (daily from 20160816)
I have tested with Version: 5.3.0.0.alpha0+ Build ID: 6431e91eca9e44684066a32ed3d6411509dac781 CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-08-21_06:34:00 Locale: de-DE (de_DE); Calc: group I have written a file with outline numbering and saved. File is still open. I have opened a new document. I open the navigator in the new document and select the saved (inactive) document. I see its headings. I set the behavior to "Hyperlink" and drag a heading from the Navigator to the new document. I get a hyperlink with the heading text as link text. I set the behavior to "Link" and drag a heading from the Navigator to the new document. I get a section, which shows the whole chapter of this heading. Opening the section in menu Format, I see, that the content is linked. I set the behavior to "Copy" and drag a heading from the Navigator to the new document. I get a section, which shows the whole chapter of this heading. Opening the section in menu Format, I see, that the content is not linked, but indeed inserted as copy. It works with the attached documents as well. So for me the feature works in Writer without problems. Something special for Mac?
Is there any setting other than Outline-Numbering that would affect Drag Mode behaviour in the Navigator from an inactive document to the active one? For example, I have in my general settings 'Save URLs relative to file system' ie, that is checked. Would this affect the navigator's drag mode? I see from the comments a couple reports exhibit the same behaviour as mine, and yet for most the programme acts as it should. Though I have been employing the programme ever since the days of StarWriter, I never used this Drag Mode behaviour other than to play with it whilst reading the manual/help files. This was my first occasion to employ it in production. I have workarounds (Sidebar Navigator to intermediate document, then Insert-Section into the target odt/odm from the intermediate), but it would be nice to get my installation up to par. Thanks for all the feedback. Damned curious.
A thought occurred to me: could the Drag Mode rely on one of the vesitiges of Java in LO? I do not have a jre installed (and cannot install one to test).
(In reply to grettir from comment #14) > A thought occurred to me: could the Drag Mode rely on one of the vesitiges > of Java in LO? I do not have a jre installed (and cannot install one to > test). I would hope not, but I don't know the code responsible for the behaviour.
@grettir: you mention that you see the problem also in master documents, or is it only when trying to insert a link from an ODT to an ODM ?
On my sys, the problem behaviour occurs when either an odt text or an odm master document is the target.
@grettir : just on the off-chance, what are your settings under LibreOffice > Preferences > Load/Save > General with regard to URLs ?
(In reply to Alex Thurgood from comment #18) > @grettir : just on the off-chance, what are your settings under LibreOffice > > Preferences > Load/Save > General > > with regard to URLs ? Save URLs relative to file system
probably dupe of 107031 *** This bug has been marked as a duplicate of bug 107031 ***