Bug 134588 - Page image should be centered in over-wide window, not shifted right
Summary: Page image should be centered in over-wide window, not shifted right
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Draw-UX
  Show dependency treegraph
 
Reported: 2020-07-06 21:17 UTC by Jim Avera
Modified: 2023-04-05 19:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
demo.odg (15.78 KB, application/vnd.oasis.opendocument.graphics)
2020-07-06 21:19 UTC, Jim Avera
Details
Video showing the problem (703.35 KB, video/mp4)
2020-07-06 21:20 UTC, Jim Avera
Details
Screenshots with explanation inside to trigger the "event" (415.25 KB, image/jpeg)
2022-08-08 20:27 UTC, Galuxttor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2020-07-06 21:17:59 UTC
In Draw, if the sidebars are turned off, the page image is displayed shifted rightward (as if leaving room for the non-existent sidebar?)

This prevents seeing the whole page unless the window is made extremely wide. 

If the window is large enough for the page to fit, it should be positioned so that the page is completely visible, not off to the right were a portion is cut off.   For example, *centering* in the available space would work well.

Please watch the attached video to see what I mean.

STEPS TO REPRODUCE:

1. Open the attached demo.odg
2. Click the "X" to close the left sidebar, if it is open.
3. Adjust the app window (with window-manager controls) to be the minimum width necessary for the entire page to be visible.

RESULTS: The window is too wide because of the large unused space to the left of the page image (between the page and the tool bar at the left edge).

EXPECTED RESULTS: When the left toolbar is closed, the page image should move left to take up the now-empty space (or else to be centered in the visible space).
Comment 1 Jim Avera 2020-07-06 21:19:09 UTC
Created attachment 162734 [details]
demo.odg
Comment 2 Jim Avera 2020-07-06 21:20:31 UTC
Created attachment 162735 [details]
Video showing the problem
Comment 3 Abhi 2020-08-05 22:38:34 UTC
Thank you for reporting the bug. This bug does exist in version 7.1.0.0. Details:

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 5f665a855ef26fae4dfa2ac427685b60545e8b8
CPU threads: 16; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 4 QA Administrators 2022-08-07 03:31:02 UTC Comment hidden (obsolete)
Comment 5 Galuxttor 2022-08-08 20:26:25 UTC
Confirmed in 7.4 beta 1
but
the trigger are not sidebars/toolbars/page pane/property pane

The trigger is the horizontal scrollbar "touching"" the left limit. Not so good in English, so I've attached "2022-08-08-screenshots.jpg" with explanation
Comment 6 Galuxttor 2022-08-08 20:27:46 UTC
Created attachment 181656 [details]
Screenshots with explanation inside to trigger the "event"
Comment 7 Galuxttor 2022-08-08 20:36:21 UTC
(In reply to Galuxttor from comment #5)
> Confirmed in 7.4 beta 1
> but
> the trigger are not sidebars/toolbars/page pane/property pane
> 
> The trigger is the horizontal scrollbar "touching"" the left limit. Not so
> good in English, so I've attached "2022-08-08-screenshots.jpg" with
> explanation

If left side doesn't "reach the end" then there is no autocenter and the page is only partially showed (again, doesn't matter if you are resizing left or right side of the window)