Bug 92744 - Update document content when image is modified
Summary: Update document content when image is modified
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval, topicUI
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2015-07-15 02:09 UTC by Brock McNuggets
Modified: 2021-08-26 04:56 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Change spacing in sidebar (963.16 KB, video/mp4)
2015-07-15 14:41 UTC, Brock McNuggets
Details
rotate real time (4.56 MB, video/mp4)
2015-07-19 09:15 UTC, Brock McNuggets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brock McNuggets 2015-07-15 02:09:21 UTC
When you move an image the movement does not happen until after release. This makes it much harder to visualize the final product. 

https://youtu.be/w6Qcl-w7s5c?t=2m40s

Older version shown, but still happens in current and in all OSs.
Comment 1 Jean-Baptiste Faure 2015-07-15 07:18:01 UTC
It is done by design to save computational resources. Closing as NotABug.

Best regards. JBF
Comment 2 Cor Nouws 2015-07-15 09:13:11 UTC
Hi Brock,

Thanks for consciously filing all the issues :)

For this one: the Side bar allows to set may properties and shows the effect immediately.
But not the distance. I wonder if it really is that resource greedy or just not yet implemented. Should be not too hard do add to the side bar?
Jean-Baptiste, are you sure if the resources-issue would play a role there too?
Comment 3 Brock McNuggets 2015-07-15 14:41:24 UTC
Created attachment 117256 [details]
Change spacing in sidebar

Exactly: doing it in the sidebar seems to make sense. Not that LibreOffice should be designed around what the competition does, but this is how it is done elsewhere.
Comment 4 Jean-Baptiste Faure 2015-07-15 18:02:46 UTC
I am pretty sure that in previous versions (OOo time ?) there was an configuration option to choose if the pictures should be visible during moving or not. I can't remember when this option disappeared, perhaps when the algorithm to compute the layout has been changed. I did not find such an option in the expert configuration.

While it seems easy and smooth to update continuously the layout of a small file when moving a picture, much on a large file recalculating the layout for each little adjustment of the position of an image will be very disappointing when you have several dozen pages with pictures, tables, OLE objects, ..., beyond the moved image.

Best regards. JBF
Comment 5 Cor Nouws 2015-07-15 18:36:20 UTC
(In reply to Jean-Baptiste Faure from comment #4)
> I am pretty sure that in previous versions (OOo time ?) there was an
> configuration option to choose if the pictures should be visible during
> moving or not. I can't remember when this option disappeared, perhaps when
> the algorithm to compute the layout has been changed. I did not find such an
> option in the expert configuration.


From what I remember that was in Draw. Anyway, it is still there...

> While it seems easy and smooth to update continuously the layout of a small
> file when moving a picture, much on a large file recalculating the layout
> for each little adjustment of the position of an image will be very
> disappointing when you have several dozen pages with pictures, tables, OLE
> objects, ..., beyond the moved image.
> 
> Best regards. JBF
Comment 6 Cor Nouws 2015-07-15 18:38:03 UTC
(In reply to Brock McNuggets from comment #3)
> Created attachment 117256 [details]
> Change spacing in sidebar
> 
> Exactly: doing it in the sidebar seems to make sense. Not that LibreOffice
> should be designed around what the competition does, but this is how it is
> done elsewhere.

Thanks - I see that I have posted my former comment #2 for the wrong issue.
Since this one is that when you move with the mouse, there is only a frame that is shown..
And my remark was for distance from the image in the side bar.
Sorry for the confusion.
Comment 7 Brock McNuggets 2015-07-19 08:07:39 UTC
A the very least seems this should be possible from the sidebar.
Comment 8 Brock McNuggets 2015-07-19 09:15:35 UTC
Created attachment 117330 [details]
rotate real time

If you copy and paste an image from Draw, you can rotate and resize in real time, but there is no option to move.

Oddly: if you resize by drag handles it still does not happen in real time.
Comment 9 Buovjaga 2015-07-30 15:26:14 UTC
(In reply to Brock McNuggets from comment #8)
> Created attachment 117330 [details]
> rotate real time
> 
> If you copy and paste an image from Draw, you can rotate and resize in real
> time, but there is no option to move.
> 
> Oddly: if you resize by drag handles it still does not happen in real time.

Yep, this would definitely be an improvement for overall usability.
I understand it could be tricky, if were talking about some corner case of a huge paragraph and having to calculate the flow.. But there must be some clever way to handle it performantly ;)

Let's set to enhancement.
Comment 10 Yousuf Philips (jay) (retired) 2016-09-28 03:50:45 UTC
So this feature in available in other word processors (MS Word 2013 and above, iWork Pages, Calligra Words) and should be available to all mouse-driven image modification options including moving, resizing and rotation (whenever that is implemented - bug 73797). Would be ideal to not limit this functionality to only images, but also have it for other objects like shapes, tables, textboxes, charts, etc.

@Meeks, @Maxim, @Samuel: Any thoughts on how resource intensive this feature would be?
Comment 11 Michael Meeks 2016-09-28 08:29:32 UTC
As Jean-Baptiste says it really depends on the size and complexity of the document how much layout costs - but - it might be possible to do this only when it can be done quickly (for some value of quick). When rotating or sizing with a mouse - we want a very precise pixel-based movement - which requires high speed feedback. When rotating using a separate widget in the sidebar there is less clearly a visible connection so ... anyhow - one for UX really to think through and then finding a developer ...