Project

General

Profile

Actions

Bug #12367

closed

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

Added by Bruce Toll 9 months ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/26/2024
Due date:
% Done:

100%

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 9 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 #2

Updated by Romain Mardulyn 3 months ago

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

Updated by Romain Mardulyn 3 months ago

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

Updated by Matthias Van Ceulebroeck 2 months ago

  • Status changed from Review to Implemented @Emweb
  • Assignee set to Romain Mardulyn
  • % Done changed from 0 to 100
Actions #5

Updated by Matthias Van Ceulebroeck 21 days ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF