Description: a hidden section never can be recalled. Steps to Reproduce: 1. open file unbenannt 1.odt 2. format sections 3. hide section karin_burkhard 4. unhide section burkhard (or any other) 5. ok. Actual Results: 6. all sections are gone. no section can be recalled. Expected Results: switch off section karin_burkhard switch on section burkhard I use this form since many years until Version 7.0 Reproducible: Always User Profile Reset: No Additional Info: [Information automatically included from LibreOffice] Locale: de Module: StartModule [Information guessed from browser] OS: Windows (All) OS is 64bit: no
Created attachment 170312 [details] contains several sections.
I also confirm this error. Hidden sections will not be visible again. This is a very important problem (showstopper) for the applications that use LibreOffice as a report generator or certificate generator and show/hide sections based on variable values (condition).
*** Bug 141066 has been marked as a duplicate of this bug. ***
Can also confirm. Additional: The section also becomes hidden if you check the "Hide" box and set a condition, even if that condition is not met: If the condition is "HIDE==1", it still hides the section even if HIDE = 0.
Same problem on Linux. Workaround to unhide an hidden section: 1/unhide the section (it does not reappear) 2/save the document 3/reload the document via menu File > Reload => the section is visible again. Rised the importance to High / Major because users may believe that they loose their data. Best regards. JBF
*** Bug 141230 has been marked as a duplicate of this bug. ***
Forgot to add the keyword regression, because that worked in previous versions. Best regards. JBF
This issue was fixed in master by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=5fc6a601d7a1978db291fd0f7dcec638a7c25651 author Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> 2020-11-22 10:47:20 +0100 committer Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> 2020-11-23 08:59:35 +0100 commit 5fc6a601d7a1978db291fd0f7dcec638a7c25651 (patch) tree a5543f8d7bc4c8012e5b922335c841313bf9ea39 parent e4ee7fed48c540a857c49d2e32384981c9275083 (diff) section.cxx: Remove remaining SwClientNotifyCalls I'll try to backport it to libreoffice-7-1
this issue is only reproducible in libreoffice-7-1 branch caused by an unfortunate timing. libreoffice-7-1 was branched off on 2020-11-22 14:58:29 and the commit was pushed on 2020-11-23 08:59:35 so the previous related commits made it to libreoffice-7-1 branch but not this one.
Bjoern Michaelsen committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/296c1b3b7e2fca6d54e3e61684d70d12f7989624 tdf#140863: section.cxx: Remove remaining SwClientNotifyCalls It will be available in 7.1.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b5558e4ac6c2f134f07ea87a143694b17adb4482 tdf#140863: sw: Add UItest It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/7932e971436870ece45a6ba75fb484e53edac7a1 tdf#140863: sw: Add UItest It will be available in 7.1.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thank you very much for this fix. It works as expected for me. Best regards. JBF
also much thanks! - this fixes problems which have kept me on LO6 (i.e. macros to hide/show sections in forms) - also (related?) problem with new sections on forms defaulting to a 'nested format' is gone. Love you Libre!
Version: 7.1.2.2 (x64) / LibreOffice Community Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4 CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL Sorry, The error ist still present.
(In reply to burkhard.kasten from comment #16) > Version: 7.1.2.2 (x64) / LibreOffice Community > [...] > Sorry, The error ist still present. Yes, the bug is fixed in 7.1.3 (see the targets in the whiteboard field) to be released next month : https://wiki.documentfoundation.org/ReleasePlan/7.1#7.1.3_release Best regards. JBF