Opened 5 years ago
Last modified 5 years ago
#15222 new bug
Font menu is wrongly placed in StyledEdit
Reported by: | miqlas | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/StyledEdit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
See the attached screenshot, i haven't seen it anywhere else.
Haiku shredder 1 hrev53313+1 Jul 28 2019 13:36:2 x86_64 x86_64 Haiku
Attachments (2)
Change History (7)
by , 5 years ago
by , 5 years ago
comment:1 by , 5 years ago
comment:3 by , 5 years ago
Humdinger: yeah, related, but that doesnt say a word about the unideal opening direction.
comment:4 by , 5 years ago
I can't reproduce this, it always opens for the full height for me (and noto sure is a huuuge list, atleast with what i have installed) I run hrev53924 currently, does this only happen with a small font list?
comment:5 by , 5 years ago
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.
The list opens in non-ideal direction and it is not possible to scroll the content.