Bug 163078 - EDITING: sometimes zoom-to-fit-page in Impress doesn't work
Summary: EDITING: sometimes zoom-to-fit-page in Impress doesn't work
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.6.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Zoom
  Show dependency treegraph
 
Reported: 2024-09-21 10:15 UTC by john
Modified: 2024-10-06 00:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
after selecting 'zoom to entire page' (266.63 KB, image/png)
2024-09-21 10:16 UTC, john
Details
how it should look (roughly -- by manual adjustment of zoom) (269.29 KB, image/png)
2024-09-21 10:17 UTC, john
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2024-09-21 10:15:50 UTC
Description:
I've had this arise multiple times, and it's resolved by closing all of my documents and restarting LibreOffice. But then it happens again, randomly, a bit later. The issue is that I frequently zoom into some detail in Impress, then I want to zoom back out to the full-page view. I have a ctrl-alt-shift-Z shortcut for this. But from time to time, it gets confused about the page or window size, and consistently starts restoring the zoom to the wrong size. I wonder if the issue could be something to do with the sidebar reporting its size incorrectly?  Sometimes the zoomed height is right but the width is wrong. Other times both are wrong. I'm on Ubuntu 20.04 with GNOME.

Steps to Reproduce:
1. edit and do lots of stuff
2. zoom into a slide detail
3. select 'view' -> zoom -> entire page from the menu

Actual Results:
after doing this, the zoom is shown in the attached image.


Expected Results:
as shown in the 'expected' image


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.7-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 1 john 2024-09-21 10:16:34 UTC
Created attachment 196583 [details]
after selecting 'zoom to entire page'

(an extra note -- this is on a two-monitor setup)
Comment 2 john 2024-09-21 10:17:02 UTC
Created attachment 196584 [details]
how it should look (roughly -- by manual adjustment of zoom)
Comment 3 m_a_riosv 2024-09-21 14:44:54 UTC
Could it be, that it always happens with the same sidebar selected?
Comment 4 john 2024-09-22 02:41:47 UTC
It happens regardless of which sidebar is showing. And in fact right now for me it is happening even without the sidebar displayed. Page width, optimal and entire page zoom all seem to be miscalculating my screen width. 

After restarting LO, it returns to the normal behaviour again. But it reoccurs eventually after a while of editing.
Comment 5 m_a_riosv 2024-09-22 19:53:25 UTC
I don't know why @john has put the status as new, no one else have confirmed the issue. Except he will go to work on solve it, not fine putting your own reports as new.
Comment 6 john 2024-10-06 00:29:30 UTC
@m_a_riosv, sorry, I misinterpreted your comment as saying that you had also seen the issue. Returning to 'unconfirmed'.