Project

General

Profile

Actions

Bug #13954

open

Signal WPopupMenu::aboutToHide is not emitted if menu is closed by clicking outside

Added by Michael Seibt 5 months ago. Updated 3 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/04/2025
Due date:
% Done:

0%

Estimated time:

Description

(It works if the menu is canceled using the Esc key.)


Files

main.cpp (10.2 KB) main.cpp Michael Seibt, 02/11/2026 05:46 PM
Actions #1

Updated by Michael Seibt 3 days ago

Still reproducible with Wt 4.12.2 (also in former versions, checked down to 4.11.4).

STR:

  • run attached main.cpp
  • open http://127.0.0.1:8080

  • right click a WTableView

  • press a key other than Escape (refer to tv.keyWentDown().connect(...)

--> no trace "_mnuContext->aboutToHide"

  • right click a WTableView
  • right click an other cell

--> no trace "_mnuContext->aboutToHide"

  • right click a WTableView
  • hover the item "submenu"
  • hover the item "context"

--> no trace "_mnuSub->aboutToHide"

  • right click a WTableView
  • hover the item "submenu"
  • click the item "subitem"

--> no trace "_mnuSub->aboutToHide", just "_mnuContext->aboutToHide"

Actions

Also available in: Atom PDF