Bug 167771 - Active sheet not visible after exiting Print Preview in large .ods files (e.g. 300 sheets)
Summary: Active sheet not visible after exiting Print Preview in large .ods files (e.g...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
 
Reported: 2025-08-01 22:22 UTC by Mikelle
Modified: 2025-08-26 17:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
ods with 300 sheets (15.28 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-08-01 22:22 UTC, Mikelle
Details
before print preview (19.86 KB, image/jpeg)
2025-08-01 22:26 UTC, Mikelle
Details
after print preview (17.16 KB, image/jpeg)
2025-08-01 22:26 UTC, Mikelle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikelle 2025-08-01 22:22:27 UTC
Created attachment 202144 [details]
ods with 300 sheets

When working with an .ods file that contains a large number of sheets (e.g., 300), there is an issue when returning from Print Preview.
If a sheet near the end of the list (e.g., Sheet290) is active, entering Print Preview and then exiting it causes the Sheet Tab Bar to display the wrong range of sheets.
The active sheet (e.g., Sheet290) is not visible in the tab bar — instead, it shows an earlier range of sheets (e.g., from Sheet257 to Sheet272). This forces the user to manually scroll to relocate the active sheet tab.
Comment 1 Mikelle 2025-08-01 22:26:14 UTC
Created attachment 202145 [details]
before print preview
Comment 2 Mikelle 2025-08-01 22:26:32 UTC
Created attachment 202146 [details]
after print preview
Comment 3 m_a_riosv 2025-08-02 01:13:34 UTC
Reproducible.
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded


But the cursor remains in the sheet, looks like a refreshing issue.