Project

General

Profile

Actions

Improvements #14494

open

Use css anchor for WWidget::positionAt()

Added by Romain Mardulyn 19 days ago. Updated 4 days ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
04/27/2026
Due date:
% Done:

0%

Estimated time:

Description

Currently, when using WWidget::positionAt(), the positioned widget will be reparented in order to have it follow the the widget it is positioned next to when the new parent is being scrolled. This can be a problem when the widget is a popup, as it can be added to a widget that has not enough space to show it correctly, while it could easily be completely visible if it was showed at the top level (but would then not follow the widget it is next too when scrolling).

This could be solved by using CSS anchor, which allows to define the position of an element relative to another element on the page.


Related issues 2 (2 open0 closed)

Related to Bug #14473: WDialog positioned aside widget incompletely handles focusNew04/15/2026

Actions
Related to Bug #13956: WPopupMenu not visible if popped up at itemWidget of (a narrow) WTableView with vertical scrollbarNew09/04/2025

Actions
Actions #1

Updated by Romain Mardulyn 19 days ago

  • Related to Bug #14473: WDialog positioned aside widget incompletely handles focus added
Actions #2

Updated by Romain Mardulyn 19 days ago

  • Related to Bug #13956: WPopupMenu not visible if popped up at itemWidget of (a narrow) WTableView with vertical scrollbar added
Actions #3

Updated by Romain Mardulyn 16 days ago

  • Status changed from New to InProgress
Actions #4

Updated by Romain Mardulyn 4 days ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions

Also available in: Atom PDF