Bug 61358 - UI: Remember state of option "Insert image from file -> Linked"
Summary: UI: Remember state of option "Insert image from file -> Linked"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
3.6.4.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
: 74922 (view as bug list)
Depends on:
Blocks: Dialog Images Dialog-Remember-Settings
  Show dependency treegraph
 
Reported: 2013-02-23 16:55 UTC by Valdas
Modified: 2023-11-01 12:39 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valdas 2013-02-23 16:55:09 UTC
Problem description: 

 When opening "insert image from file" dialog that dialog has option "link" to not embed image content to document directly. 

 Every time that option is unchecked when that dialog is opened.

 Will be good if that option state will be remembered till next open of dialog. I'm using linked image files a lot and every time I must check that option, and is painful to debug big document when I forgot to check "linked" on one of images.

Current behavior:

 Option "link image file" is always clear on dialog open.

Expected behavior:

 Would be good if option state will be remembered.

              
Operating System: Ubuntu
Version: 3.6.4.3 release
Comment 1 Brenda Granados 2013-03-05 19:26:28 UTC
Hi. I did look at this Insert -> Picture -> From File feature in 4.0.0.3.  I see that the lower left hand corner has the option to check "Link". I can see how, if you're needing to insert a lot of images this way over a short span of time, it would help if it defaulted to those settings. Or perhaps there could be an option to "Remember these settings". I will set the status of this to NEW, and prioritize as an Enhancement. Thank you for the feedback!

Version: 4.0.0.3
Platform: Ubuntu 12.04 x64

Brenda

-------------------------------------

LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link: https://wiki.documentfoundation.org/QA/BugTriage  There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists
Comment 2 Glutanimate 2013-03-29 11:07:47 UTC
I was guided here from this Q&A over at Ask Libreoffice: http://ask.libreoffice.org/en/question/15363/how-do-i-link-inserted-images-by-default-in-writer/ .

I concur with Valdas. An option like this would be very helpful. Thank you, Brenda, for reviewing and triaging this bug!

I think it might be a good idea to also implement a global setting that controls all insertion methods (drag and drop, copy-paste, insert from file dialog, and gallery).

For now instead of using the "insert image from file" dialog you might find it faster to directly drag and drop the images into the document while holding down CTRL+SHIFT. This automatically "link"s the images (Thanks, @manj_k!).
Comment 3 Stanislav Horacek 2014-12-16 20:28:49 UTC
*** Bug 74922 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Watson 2016-05-23 21:47:20 UTC
I also arrived here via the link in the Ask LibreOffice article. I would also like to see this enhancement.

I'm designing a specification template for use by many different individuals. We want them to link rather than embed the figures in their specifications. Even though we say this in our instructions, it's easy to forget when you're in the middle of editing a large document. Having a way to set the default in our document template would be a great help.

Thanks!
Comment 5 Keith Curtis 2017-03-07 02:26:41 UTC
This bug would save me time and disk space.

It's great how LibreOffice lets you link to images rather than embed them in the ODT. It allows me to take ODTs that are many MBs and make them ~100 KB. It is a pain to have to remember to do this for every images.

In fact, I'd prefer a version of LibreOffice that wouldn't let me embed images and would always link. Many people might not, but I would prefer that model.

It would also be great to have a script I could run that would move all the images out. We'll take it a step at a time.
Comment 6 Rainer 2018-11-13 21:13:18 UTC
I would like to see this request solved. Most time I use Insert as Link for adding images into libreoffice writer. Allways I must set the hook on Inaert as Link. 

This should be able to set as default.

Many thanks Rainer
Comment 7 Felipe 2019-07-16 13:44:48 UTC
It's not a big problem, but I think the improvement is very clear--you rarely alternate between linking and embedding figures. Remembering the last choice is a good solution. Thank you in advance!
P.S. There could also be an option to both link and embed (like e.g. in MS Word). If you don't "manually" update, the embedded figure stays, and you can also send self-contained .odt files to your colleagues. And also an option to convert from link to embedded (Ctrl-6 in Word).
P.S. I'm new to LO Writer (guess where I come from) and I'm loving it. Thank you again.
Comment 8 Felipe 2019-07-16 13:51:46 UTC
(In reply to Felipe from comment #7)
> It's not a big problem, but I think the improvement is very clear--you
> rarely alternate between linking and embedding figures. Remembering the last
> choice is a good solution. Thank you in advance!
> P.S. There could also be an option to both link and embed (like e.g. in MS
> Word). If you don't "manually" update, the embedded figure stays, and you
> can also send self-contained .odt files to your colleagues. And also an
> option to convert from link to embedded (Ctrl-6 in Word).
> P.S. I'm new to LO Writer (guess where I come from) and I'm loving it. Thank
> you again.

Sorry, I just learned you can do "Edit|Links → select the desired items → break links".
Comment 9 Heiko Tietze 2019-07-22 08:49:29 UTC
(In reply to Felipe from comment #7)
> Remembering the last choice is a good solution.

Signed and approved.
Comment 10 Xisco Faulí 2019-11-29 13:28:56 UTC
Changing priority back to 'medium' since the number of duplicates is lower than 5
Comment 11 R. Green 2020-12-13 16:11:50 UTC
+1.

This is a real pain when you have a whole load of linked (rather than embedded) images to add. It is all too easy to forget that the checkbox has reverted to unticked, which means that you have to recheck the status of all your images.
Comment 12 matthias 2021-11-05 09:26:22 UTC
+1
Comment 13 tomasz.sztejka@polon-alfa.pl 2022-12-28 09:06:59 UTC
I would like to add some information.

In LO 7.4.3.2 Windows 10 build the "link" checkbox is not only not remembering last use scenario when inserting new link, but is also __always__ unchecked even if You do:

1.Insert image, linked.
2.Select image properties
3.Make an attempt to change a linked file.

thous it not only does not remember last state, but does not follow the state of "linked" status for a file You do change.

Or

1.Insert image, linked.
2.Select Edit->External links->Modify 

In second case it is unchecked and grayed-out while it should be "checked" grayed out.

As far as I can remember (allow some doubts for my bad memory) LO running previous versions on Windows XP had this checkbox in a correct state.
Comment 14 Petr Špaček 2023-02-08 08:26:48 UTC
This enhancement is not specific to Writer, it is equally applicable to Impress which potentially uses images all the time.

I've changed component to UI. Apologies if this is a wrong move.

To strengthen this feature proposal with a use-case:
I have lots of charts generated by external software, and I need to present them in Impress. When preparing presentation, I often need to update/re-generate the images 10 slides down the road (e.g. fix typo in axis descriptions). When images are linked I just re-run the generator and I'm done. On the contrary, updating dozes on embedded images is very manual and error prone.
Comment 15 Andreas Heinisch 2023-11-01 12:39:33 UTC
Patch: https://gerrit.libreoffice.org/c/core/+/158254

Unfortunately, it hangs one of the UI tests and so it cannot be merged. I could not figure out the problem because on my linux machine the problem does not occur using a clang build.