Description: The "Window" menu contains a list of windows with open documents. However, when a document/window is closed, the list does not update correctly. It still shows documents/windows that have already been closed, while those that are actually open are missing from the list. Steps to Reproduce: 1. Open multiple documents. 2. Close one of the opened documents. 3. See Windows list of opened documents/windows. Actual Results: List of currently open documents contains file names of already closed documents, and some of currently open documents are not on the list. Expected Results: Correct list of actual opened documents/windows after closing any one of them. Reproducible: Always User Profile Reset: No Additional Info: The bug exists for a while, I don't know from which version exactly.
No repro with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: dcd3427149c33852428b4198c22f6f858125c294 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Please copy and paste here the contents of your Help - About from your LibreOffice. This allows us to know more about your system.
Version: 25.2.2.2 (X86_64) / LibreOffice Community Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: hr-HR (en_US.UTF-8); UI: en-US Calc: threaded
(In reply to Ivan Guštin from comment #0) > some of currently open documents are not on the list. can you make a screenshot of that ?
Created attachment 200642 [details] no repro
It is easy to reproduce: - run Writer - open for example up to 6 new untitled documents - switch for example to document "Untitled 3" - close current document "Untitled 3" - open list of open documets in "Window" menu - document "Untitled 3" is still there, but "Untitled 6" is missing
Created attachment 200658 [details] Screenshot with open "Untitled 6" which is missing in Window list Screenshot of previously described scenario
Thank you for reporting the bug. I can confirm that the bug is present in Version: 25.2.2.2 (X86_64) / LibreOffice Community Build ID: 520(Build:2) CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: fi-FI (fi_FI.UTF-8); UI: fi-FI Ubuntu package version: 4:25.2.2-0ubuntu0.22.04.1~lo3 Calc: threaded
I can repro on Linux, but not on Windows. Somebody could check with bibisect repos, if this is a new issue.
(In reply to Ivan Guštin from comment #5) > It is easy to reproduce: > - run Writer > - open for example up to 6 new untitled documents > - switch for example to document "Untitled 3" > - close current document "Untitled 3" > - open list of open documets in "Window" menu > - document "Untitled 3" is still there, but "Untitled 6" is missing This seems to have begun at the below commit in bibisect repository/OS linux-64-25.2. Adding Cc: to Noel Grandin ; Could you possibly take a look at this one? Thanks 49242ff343be06c471a2ca653b7cccf6706a2871 is the first bad commit commit 49242ff343be06c471a2ca653b7cccf6706a2871 Author: Jenkins Build User <tdf@maggie.tdf> Date: Sun Aug 11 18:20:43 2024 +0200 source a18b0b4aa56c47cadd0b6d6d1ad5842cf16e9835 171723: speed up menu construction at app startup | https://gerrit.libreoffice.org/c/core/+/171723
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/15ed00fcef6bbc83b43da2e0c33d0eecba22fd55 tdf#166200 The list of open documents/windows is incorrect It will be available in 25.8.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.
Great, thanks. I will test it and let you know after update.
Noel Grandin committed a patch related to this issue. It has been pushed to "libreoffice-25-2": https://git.libreoffice.org/core/commit/8086fbb3bed5da6125cc9765d613205cc612a734 tdf#166200 The list of open documents/windows is incorrect It will be available in 25.2.4. 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.