#15222: Font menu is wrongly placed in StyledEdit
--------------------------------------+----------------------------
Reporter: miqlas | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/StyledEdit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
--------------------------------------+----------------------------
Comment (by un_spacyar):
Hello. I'm able to reproduce this issue, in recent nightly (hrev54121
x86_gcc2). I guess the problem is here:
If the height from the bottom to the menu option is not enough to display
the entire content of the list, Haiku tries to show the menu content "to
upside" (like in the original post). Probably assume that the window is
near the botton of the screen, and then, tries to use the upper screen
space to show the entire list.
However, if the list is long enough (for example, the font list in
StyleEdit, where you can had dozens of differents fonts installed), the
list cant be completely showed (neither to lower, or upper the screen).
I guess the problem is that Haiku calculate and compare the dropdown menu
height, to the height to the lower botton of the screen; but don't do
that to the upper height.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15222#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.