Project

General

Profile

Actions

Bug #7974

closed
SB RM

WPopupMenu gets cut off at layout-boundaries/scrollbars

Bug #7974: WPopupMenu gets cut off at layout-boundaries/scrollbars

Added by Stefan Bn over 5 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
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

SB Updated by Stefan Bn almost 5 years ago Actions #1

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

Thanks!
Stefan

SB Updated by Stefan Bn over 4 years ago Actions #2

Note:

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

MV Updated by Matthias Van Ceulebroeck 11 months ago Actions #3

  • 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.

RM Updated by Romain Mardulyn 10 months ago Actions #4

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn

RM Updated by Romain Mardulyn 10 months ago Actions #5

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

RM Updated by Romain Mardulyn 5 months ago Actions #6

  • Target version changed from 4.13.1 to 4.13.2

MV Updated by Matthias Van Ceulebroeck 5 months ago Actions #7

  • Assignee set to Matthias Van Ceulebroeck

RM Updated by Romain Mardulyn 5 months ago Actions #8

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn

RM Updated by Romain Mardulyn 5 months ago Actions #9

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: PDF Atom