Description: Navigator still shows items after paste to empty page & undo Steps to Reproduce: 1. Open the attached file 2. Sidebar -> Navigator 3. CTRL+A 4. CTRL+C 5. CTRL+N 6. CTRL+V 7. CTRL+Z 8. Look at content in the sidebar Actual Results: Table1 and Table5 & Image with URL still visible Expected Results: Not so Reproducible: Always User Profile Reset: No Additional Info: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: b60b6bfaafa1315e07108dba50f016975b619c59 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: en-US (nl_NL); UI: en-US Calc: CL
Found in 4.4.7.2 and in LibreOffice 3.5.0rc3 Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Created attachment 175513 [details] Example file
I confirm it with Version: 7.2.2.2 (x64) / LibreOffice Community Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: threaded Additional informations Wordcount in empty document counts 574 words and 28982 characters. similar values, if you delete Table 1 and table 5 and image in original document and follow the steps (navigator is empty then after step 7)
@Jim, A analysis would be informative. Is this a sidebar issue or exposing a problem with the undo-code?
(In reply to Telesto from comment #4) > @Jim, > A analysis would be informative. Is this a sidebar issue or exposing a > problem with the undo-code? Hi Telesto, I looked at this briefly after you posted but got sidetracked. Just got back to it today. Here is what I found: I had to comment out a couple asserts to be able to test: soffice.bin: /home/lo/Dev/LO1/core/sw/source/core/txtnode/ndtxt.cxx:5225: void SwTextNode::TriggerNodeUpdate(const sw::LegacyModifyHint&): Assertion `dynamic_cast<SwTextFormatColl const*>(static_cast<const SwFormatChg*>(pOldValue)->pChangedFormat)' failed. For me, the gen backend locks up. I repro your results with gtk3 and qt5 backends. After the undo step the Navigator shows the Tables category to have 2 hidden tables, Tabelle1 and Tabelle2. The Images category has 1 hidden entry, HTTP://WWW.OPENOFFICE.ORG/DE/ and the Fields category has 1 hidden field, field-DocInformation:Title On exit I get this assert: soffice.bin: /home/lo/Dev/LO1/core/svl/source/items/itempool.cxx:686: void SfxItemPool::Remove(const SfxPoolItem&): Assertion `rItem.GetRefCount() && "RefCount == 0, Remove impossible"' failed. Since I had to remove some inserts to test this using a debug build I would say the Navigator isn't the cause. Do you have a less complex file that can be used to test that shows this behavior? BTW, your steps involving copying and pasting to a new file have been helpful to show me something I missed in a patch I am doing to improve when the Navigator needs to be refreshed. Thanks!
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
The tables that still show in the Navigator after undo are located in a header/footer. It seems, in this case, tables located in a header/footer don't get deleted when undo is done which causes them to show in the Navigator as being in the document but not visible. One solution is to not include in the Navigator Tables entries tables located in a header/footer. It would be consistent with fields located in a header/footer not being included in the Navigator Fields entries (bug 146490).