Project

General

Profile

Actions

Bug #7974

open

WPopupMenu gets cut off at layout-boundaries/scrollbars

Added by Stefan Bn almost 5 years ago. Updated 22 days ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
01/12/2021
Due date:
% Done:

0%

Estimated time:

Description

I have a WHBoxLayout which contains two WContainerWidgets side-by-side left and right.

The left container has setOverflow(Overflow::Auto) assigned, to have scrollbars available.
Any WPopupMenu inside the left container gets cut-off at the scrollbar (see image attached).

When I temporarily remove Overflow::Auto the popup is shown correctly, but this is not the solution :-)

Affected version is Wt 4.5.0 and all web-browsers (IE, Edge, Firefox) using Windows 10.

This issue might be related to this:
https://redmine.webtoolkit.eu/issues/7404


Files

PopupCutOff.PNG (11.2 KB) PopupCutOff.PNG WPopupMenu cut off problem Stefan Bn, 01/12/2021 12:38 AM
PopupCutOffProblem.PNG (22.8 KB) PopupCutOffProblem.PNG Stefan Bn, 11/04/2021 02:48 PM
main.cpp (2.88 KB) main.cpp Stefan Bn, 11/04/2021 02:49 PM

Updated by Stefan Bn about 4 years ago

I've created a code sample that demonstrates the problem. This referes to Wt 4.5.0 and Wt 4.5.1.

Thanks!
Stefan

Actions #2

Updated by Stefan Bn almost 4 years ago

Note:

This issue still remains using Wt 4.6.1 and the new Bootstrap 5 Theme.

Actions #3

Updated by Matthias Van Ceulebroeck about 2 months ago

  • Target version set to 4.13.1

Hi Stefan,

this indeed remains a bug, thank you for bringing it to my attention again. It's a very old ticket, but an issue nonetheless. It's a little similar to #13798, but differs in that here it should look at its "parent" to not be outside its boundaries, as to not disappear with overflow being hidden.

I've now scheduled it.

Actions #4

Updated by Romain Mardulyn 23 days ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #5

Updated by Romain Mardulyn 22 days ago

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

Also available in: Atom PDF