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

            Bug ID: 164396
           Summary: Menu height is too large, making part of the menu
                    off-screen
           Product: LibreOffice
           Version: 7.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 198188
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198188&action=edit
A screencast of the problem

Opening a drop-down menu may put part of it outside of the screen vertically,
using a screen height well fitting the minimal requirements; the problem
happens, when the menu is opened with its origin somewhere in the middle of the
screen (so that it should pop up downwards, or upwards, where there's more
space).

In debug build, the following text is also often shown:

> warn:vcl:25768:36300:vcl/source/window/menu.cxx:3007: Available height 
> misdetected as 709px. Setting to 768px instead.

The problem was introduced in commit 643a1492bd648fbd803ca86aca600cc2bdaf5819
(Add some fallback minimum size when screen size detection goes wrong,
2020-03-11). It talks about misdetection of height 0, but checks only if the
available height is less than minimum screen size - which is obviously wrong,
because the available height may be as small as half screen, when the origin is
close to the screen vertical center.

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

Reply via email to