QtWayland Remaining Issues
Raw notes
- Wayland has fixed concepts and Qt has its own and they dont match - For instance positioning of popups: tooltips, comboboxes, menus, and basically any QWindow which can be a transient child of another window - The client doesnt know where the screen is and the compositor doesnt know how to adapt, it doesnt have the semantic information - In Wayland there is semantic positioning, anchoring, adapting to available real estate - Information is in Qt, but not available through QPA - There is a patch, but it is scary because many platforms are affected - Could introduce the new thing first for Wayland only and keep the old and gradually migrate - Public APIs may also be affected - Could it be done in QPA first with no public - Not sure this should have public API: Only relevant for tooltips, which has an anchor rect already, so maybe its covered - We dont need public API for the fallback logic - Platform header additions needed because different types of popups need different behavior - PopupWindowPositioningDescriptorHelper? -