Project

General

Profile

Actions

Feature #14494

closed

Use css anchor for WWidget::positionAt()

Added by Romain Mardulyn 3 months ago. Updated 2 days ago.

Status:
Closed
Priority:
High
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 3 months ago

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

Updated by Romain Mardulyn 3 months 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 3 months ago

  • Status changed from New to InProgress
Actions #4

Updated by Romain Mardulyn 2 months ago

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

Updated by Romain Mardulyn 18 days ago

  • Priority changed from Normal to High
Actions #6

Updated by emil de keyser 18 days ago

  • Assignee set to emil de keyser
Actions #7

Updated by emil de keyser 16 days ago

  • Status changed from Review to Resolved
  • Assignee changed from emil de keyser to Romain Mardulyn
Actions #8

Updated by Romain Mardulyn 11 days ago

  • Tracker changed from Improvements to Feature
Actions #9

Updated by Romain Mardulyn 11 days ago

  • Status changed from Resolved to Implemented @Emweb
Actions #10

Updated by Romain Mardulyn 2 days ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF