https://bugs.documentfoundation.org/show_bug.cgi?id=160807

            Bug ID: 160807
           Summary: LibreOffice Writer "Enter Password" dialog is not
                    horizontally centered; it's too far to the right
           Product: LibreOffice
           Version: 24.2.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When opening a password protected document in LibreOffice Writer, the password
dialog is not horizontally centered in the LibreOffice window; it is noticeably
to the right of the center.

The longer the filename (with path), the more misaligned the dialog is. It is
as if the code, to fit the filename, only expands the width of the dialog (to
the right), forgetting to also move the position of the dialog to the left by
half of the increased dialog width.

Steps to Reproduce:
1. Open a password-protected LibreOffice Writer document.
2. Wait for the password dialog to appear.


Actual Results:
The center of the "Enter Password" dialog is noticeably to the right of the
center of the LibreOffice window. The longer the filename (including path), the
further misaligned the dialog is.

Expected Results:
The horizontal center of the dialog should be exactly at the center of the
LibreOffice window, no matter the length of the file name (with path) or width
of the dialog.


Reproducible: Always


User Profile Reset: No

Additional Info:
My screen resolution is 2240 x 1400, and the Windows UI scale is set to 175%.

When I set the scale to 100%, it becomes much more difficult to see whether the
dialog is still misaligned with the center. 

But the cause seems simple as explained above: the width of the dialog seems to
be increased to make the entire filename (with path) fit, but without changing
the position of the dialog accordingly to keep it centered.


Help - About LibreOffice:

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 12; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: da-DK
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to