Created attachment 180645 [details] Sample ODS - Open the attached spreadsheet, - Expand formula bar using the triangle button, - Click into the cell that has several lines of text, select a piece of it, and drag it someplace else within the formula bar. => The dragged content is copied to the new place in the formula bar (instead of being moved), but not in the cell view in the sheet, and leaving cell edit mode discards the change. The issue mostly only concerns gtk3 VCL plugin, dragging is fine with gen VCL plugin, but the discarding problem (3. change below) affects both. This changed in several steps. 1. Until this commit, bibisected using repo bibisect-linux-64-7.1 drag&drop moved the selected text as expected. From this commit, drag&drop in the formula bar stopped working. https://cgit.freedesktop.org/libreoffice/core/commit/?id=e087e25f05e689091cbf1c4f91b6e93878ac17ec author Caolán McNamara <caolanm@redhat.com> 2020-10-05 14:19:05 +0100 committer Caolán McNamara <caolanm@redhat.com> 2020-10-16 12:54:14 +0200 "weld InputBar" 2. This commit (bibisected using repo bibisect-linux-64-7.2) made drag&drop work, but instead of moving content to its new place, it started copying it. https://cgit.freedesktop.org/libreoffice/core/commit/?id=1320afe376bc52bc64995ba976391ec21db6ccde author Caolán McNamara <caolanm@redhat.com> 2021-04-29 09:49:11 +0100 committer Caolán McNamara <caolanm@redhat.com> 2021-04-30 13:41:08 +0200 "allow dnd into weldeditview" 3. Then after the following commit by Noel (bibisected using repo bibisect-linux-64-7.2), the change from dragged content isn't propagated to the cell view while still editing the cell, and is lost after finishing cell editing. https://cgit.freedesktop.org/libreoffice/core/commit/?id=60d35f767781de4b8f1e7b264b12015f655c647d author Noel Grandin <noel.grandin@collabora.co.uk> 2021-07-06 18:51:38 +0200 committer Noel Grandin <noel.grandin@collabora.co.uk> 2021-07-08 11:53:49 +0200 "tdf#132740 don't broadcast if modified status has not changed" There also used to be a crash when closing Calc without leaving cell edit mode after dragging, but that seems to have been fixed between 2. and 3. sometimes, maybe it was bug 141769.
(In reply to Aron Budea from comment #0) > 3. Then after the following commit by Noel (bibisected using repo > bibisect-linux-64-7.2), the change from dragged content isn't propagated to > the cell view while still editing the cell, and is lost after finishing cell > editing. > > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=60d35f767781de4b8f1e7b264b12015f655c647d Since that's a 7.2 backport, let's note its 7.3 original as well: https://cgit.freedesktop.org/libreoffice/core/commit/?id=73c9ef661d9ef6237d3fd3c259fd040a545b44cf
Dear Aron Budea, 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
This particular case is fine in 24.8.0.0.alpha1+ (f6ea343e6fb2dc3539823dee60c9c6f96fc16275) / Ubuntu. However, these slightly modified steps still don't work properly, and they haven't worked even before the regression (eg. in 6.4 latest): - Open the attached spreadsheet, - Expand formula bar using the triangle button, - Click into the cell that has several lines of text, select a piece of it, and drag it someplace else within the formula bar, - Press Ctrl+Z. => Undo happens in the formula bar, but not within the cell. Pressing Enter finalizes the change without the undo part.