Project

General

Profile

Actions

Bug #12367

open

Checkbox in WPopupMenu does not respond to click with firefox -- regression

Added by Bruce Toll 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
01/26/2024
Due date:
% Done:

0%

Estimated time:

Description

In firefox, clicking on a checkbox in a WPopupMenu does not update the checkbox. This can be observed in the WidgetGallery at: /widgets/navigation/popup-menu.

This issue appears to have been introduced with commit a2b9f4c00 (wt-4.10.1). Since it does not happen with chromium, it may be a firefox bug; I'm not sure what the correct interpretation should be.

As a workaround, I experimented with a one-line patch that only sets the href to "javascript:void(0);" if the widget has no children -- and it seemed to help. I only tested under Linux with chromium 120 and firefox 120, so it's possible that other browsers are affected. If not, the workaround could possibly be limited to Gecko-based browsers.

Actions #1

Updated by Matthias Van Ceulebroeck 3 months ago

  • Target version set to 4.11.0

It also only the checkbox itself, the label next to it will still make the checkbox selection change.
Likely it is some side-effect of how the browser handles this. I'll dig around a bit, and see if I can resolve this. Otherwise I'll consider the alternative.

Regardless, thank you for the report.

Actions

Also available in: Atom PDF