Project

General

Profile

Actions

Feature #14494

closed
RM RM

Use css anchor for WWidget::positionAt()

Feature #14494: Use css anchor for WWidget::positionAt()

Added by Romain Mardulyn 4 months ago. Updated about 2 months 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

RM Updated by Romain Mardulyn 4 months ago Actions #1

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

RM Updated by Romain Mardulyn 4 months ago Actions #2

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

RM Updated by Romain Mardulyn 4 months ago Actions #3

  • Status changed from New to InProgress

RM Updated by Romain Mardulyn 4 months ago Actions #4

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

RM Updated by Romain Mardulyn 2 months ago Actions #5

  • Priority changed from Normal to High

ED Updated by emil de keyser 2 months ago Actions #6

  • Assignee set to emil de keyser

ED Updated by emil de keyser 2 months ago Actions #7

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

RM Updated by Romain Mardulyn 2 months ago Actions #8

  • Tracker changed from Improvements to Feature

RM Updated by Romain Mardulyn 2 months ago Actions #9

  • Status changed from Resolved to Implemented @Emweb

RM Updated by Romain Mardulyn about 2 months ago Actions #10

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: PDF Atom