You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a PopupWindow is about to be shown in way that it would be cut by the end of the screen (or the window, for inline popup), we should actually place that popup in a proper place.
The first bug is that the popup is being clipped by the window. This is tracked in #2375
Even if that problem was fixed, we would still have a problem if we were at the bottom of the screen, so we'd need a way to move the popup depending on its position on the screen.
FloVanGH
changed the title
Combobox in fluent style renders out of screen to the bottom
Edited: PopupWindow renders out of screen to the bottom
Sep 16, 2024
FloVanGH
removed
the
a:widgets
Implementation of widgets (from std-widgets.slint) and their styles (mF,bS)
label
Sep 16, 2024
Even if that problem was fixed, we would still have a problem if we were at the bottom of the screen, so we'd need a way to move the popup depending on its position on the screen.
Note that, for cases like this, Windows provides system settings. Although this may not apply to combo boxes specifically.
ogoffart
changed the title
Edited: PopupWindow renders out of screen to the bottom
PopupWindow (of a ComboBox or menu) should be able to adjust its position to fit in the screen
Sep 16, 2024
When a PopupWindow is about to be shown in way that it would be cut by the end of the screen (or the window, for inline popup), we should actually place that popup in a proper place.
Wayland uses a concept of positioner: https://wayland.app/protocols/xdg-shell#xdg_positioner
the PopupWindow should have an anchor rectangle and so on so that the platform can petition the popup properly.
Original message
basically #3345 for the case where the
ComboBox
is at the bottom of the screen, which wasn't fixed yet as acknowledged in #3861.The text was updated successfully, but these errors were encountered: