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

stragu <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
            Version|7.3.2.2 release             |6.3.6.2 release
             Blocks|                            |106773, 87740
            Summary|Deleting a graphics kicks   |Deleting a drawing object
                   |you back to the beginning   |kicks you back to the last
                   |of the document. Ctrl-X     |position of the text cursor
                   |does not.                   |instead of the anchor.
                   |                            |Ctrl-X does not.
           Keywords|regression                  |

--- Comment #3 from stragu <[email protected]> ---
Dan emailed me directly with a response:

> As requested, I upgraded to the 7.3.5.2 version and the problem remains. 
> Note: it is not 100%, never has been, but I have edited hundreds of pages 
> over the last few months and never found a pattern as to why it fails or not.

> On the test document: I went to page 22 and the top graphic deleted with no 
> problems. The bottom graphic kicked me to the beginning of the document. On 
> page 24, it was opposite. The deleting the top graphic kicked me to the 
> beginning of the document and the bottom one did not.

> I was very careful to select the graphic, not move the cursor and then hit 
> delete.

OK, I think I can attempt to clarify the steps here:

0. Open document, wait for it to load completely
1. Don't click anywhere in the text; open the Navigator sidebar and
double-click on Image13 (in the "Drawing objects" section)
2. Press "Delete" on the keyboard
3. Repeat with another drawing object, but use Ctrl + X to cut it.

Actual results:

Viewport jumps back to the top of the document (the last position of the text
cursor) when deleted but stays put when cutting.

Expected result:

When deleting the drawing object, the text cursor is placed at its anchor (and
the viewport only moves if it is not visible).

I get the same result with all other drawing objects.

Note that I also see this with version 6.3 so I don't think it is a regression,
it might have always been like that.

Version: 6.3.6.2
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

This is not specific to DOCX, the same document saved as ODT shows the same
behaviour.
Dan, could you please test these steps and confirm that it behaves as decribed?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=87740
[Bug 87740] [META] Anchor and text wrapping bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=106773
[Bug 106773] [META] Writer document canvas view / viewport jump issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to