Bug 87719 - No means of dragging an image when its anchored as character
Summary: No means of dragging an image when its anchored as character
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45778 Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2014-12-25 22:45 UTC by Yousuf Philips (jay) (retired)
Modified: 2022-07-24 18:05 UTC (History)
6 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 Yousuf Philips (jay) (retired) 2014-12-25 22:45:59 UTC
When an image is anchored as 'As Character' it is not possible to drag it around like a character and drop it in a middle of a sentence. The only means of dragging an image set to 'As Character' is up and downwards, but it simply moves the image up and down according to the line its in, there isnt a means of moving it left and right or to the previous or next line.

Version: 4.5.0.0.alpha0+
Build ID: e570cd7a293ceee175949dcc9656cdf776ae3c37
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-12-12_18:49:54

Tested it on Windows 7 and it acts the same.
Comment 1 A (Andy) 2014-12-25 23:09:08 UTC
Reproducible with LO 4.4.0.0.beta1 and 4.3.4.1 (Win 8.1).

Text you can move everywhere you want by dragging it with the mouse.  But an image anchored as character can only be moved up and down.  But if you move it down then it becomes like an "enlarged" character (empty space above the image, -> try to put the cursor above the image -> a further bug).
Comment 2 Yousuf Philips (jay) (retired) 2014-12-25 23:32:59 UTC
The most optimal solution is that when an image is dragged with 'As Character', the image itself is not being dragged, but the anchor icon that appears and is draggable in 'To Character' gets dragged.
Comment 3 Yousuf Philips (jay) (retired) 2014-12-25 23:38:53 UTC
Scratch my last suggest, as the better thing is that to show the drag mouse icon, with the character dash showing where its new location will be, similar to how it shows this functionality when you highlight some text and drag it.
Comment 4 Cor Nouws 2014-12-28 20:07:30 UTC
for the record a work around: Ctrl-X ... move ... Ctrl+V
Ah well..
Comment 5 Yousuf Philips (jay) (retired) 2014-12-28 20:28:21 UTC
(In reply to Cor Nouws from comment #4)
> for the record a work around: Ctrl-X ... move ... Ctrl+V
> Ah well..

Yes i've had to use it a few times already. :D
Comment 6 QA Administrators 2016-01-17 20:03:12 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2017-03-06 14:05:53 UTC Comment hidden (obsolete)
Comment 8 Ahiijny 2018-10-25 05:35:37 UTC
Version: 6.1.2.1 (x64)
Build ID: 65905a128db06ba48db947242809d14d3f9a93fe
OS: Windows 10

As of this version, character dragging still shows the unwanted behaviour. i.e. dragging an image anchored as character just moves it up and down within the line that it is in (ugh who would want this behaviour), and it is still not possible to drag it like a character and drop it in the middle of a sentence.
Comment 9 Cor Nouws 2020-04-15 18:15:27 UTC
by design
Comment 10 Aron Budea 2020-04-15 19:24:02 UTC
I'm not sure what the explanation in bug 87720 comment 43 is supposed to mean related to this, but surely this isn't by design, there should be nothing preventing an object anchored "as character" to be repositioned. This has nothing to do whether the setting is the default or not, it's still a possible setting.
Comment 11 Heiko Tietze 2020-04-16 13:32:05 UTC
We discussed the topic in the design meeting. The default anchoring is To Character, by design, and those objects can be moved around. Not being able to drag an object when placed _As_ character makes sense consequently. As there is no other use case we better resolve the ticket as WF.
Comment 12 Aron Budea 2020-04-16 20:16:08 UTC
(In reply to Heiko Tietze from comment #11)
> We discussed the topic in the design meeting. The default anchoring is To
> Character, by design, and those objects can be moved around. Not being able
> to drag an object when placed _As_ character makes sense consequently. As
> there is no other use case we better resolve the ticket as WF.
I feel like it must be pointed out: character selections can be dragged around. Not being able to drag an object that is anchored as character does not make sense, and is an annoyance UX-wise.

As a bit of history wrt bug 87720, "as character" anchor being the default was introduced for interop reasons (primarily with Word), but later was abandoned due to this annoying bug.

Documents containing images with "as character" anchor will continue existing, and this bug will continue being a bother regardless of what the default is. Please keep this bug report open.
Comment 13 Heiko Tietze 2020-04-17 13:46:20 UTC
Advantage is that you can use dragging (and keyboard) to change the positioning. Feel free to reopen, if you think dragging as character anchored object is needed.
Comment 14 Aron Budea 2020-04-20 03:44:25 UTC
Yes, thanks!
Comment 15 QA Administrators 2022-04-21 03:40:10 UTC Comment hidden (obsolete)
Comment 16 Faisal 2022-07-24 18:05:12 UTC
Changing this to enhancement because the design team said it is working as intended.