Description: Reject all removes image not included in track changes Steps to Reproduce: 1. Open the attached file 2. Sidebar -> Gallery 3. Drag an item empty area below the current content 4. Edit -> Track changes -> Reject all Actual Results: Images deleted Expected Results: Not so Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.0.0.alpha0+ (x64) Build ID: <buildversion> CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL and in 6.4 not seen in 6.3
Created attachment 163699 [details] Example file
Reproduced in: Version: 7.1.0.0.alpha0+ Build ID: ce6c6a5ad6c9dde09bb0bb0c51e16d828cfe0ef7 CPU threads: 6; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-GB (hu_HU.UTF-8); UI: en-US Calc: threaded
Bibisected using linux-64-6.4 to: URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=d0aa2dbdf37aefe5b8d096fc5ea50cd13f87c5b0 author: Miklos Vajna <vmiklos@collabora.com> committer: Miklos Vajna <vmiklos@collabora.com> summary: sw: insert image: set anchor to at-char by default Adding CC: Miklos Vajna
Is this reproducible on master? I just tried to drag a shape from the gallery and I get to-paragraph anchoring by default in that case. Other than that, you can easily create a reproducer document (new Writer doc, enable track changes, insert an image, make sure it's anchored as at-char, reject the change) that will have the same problem, even before the above commit. I imagine this may just work as expected: the image will be deleted when the text range containing the anchor of the image is deleted. Quite similar to deleting a text range that contains the anchor of at-char anchored images. Probably this should be closed as resolved/notabug.
It's reproducible on master Other than that, you can easily create a reproducer document (new Writer doc, enable track changes, insert an image, make sure it's anchored as at-char, reject the change) that will have the same problem, even before the above commit. -> This is obvious I think; but not the point The idea here is that 'tracking changes record being disabled' when adding the image. However with an 'old' history of changes present. So you add something to a paragraph which is marked as a change.. Disable record. Add a shape.. And reject changes.. To paragraph gets deleted including the image (which technically isn't record as change' and probably shouldn't be deleted. OTOH, this might be an exception on the rule; and not a big fan of exceptions as those produce really really specific quirky behavior when broken; being tremendously hard to trace back. But that's the other side of this case. This obviously bit of problematic case; I simply wanted to test what would happen :-). And did work differently in the past for whatever reason. The bibisect result is slightly surprising; doesn't make much sense. Would have expected/ predicted a M. Stahl commit
Dear Telesto, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug