Closed Bug 1200559 Opened 9 years ago Closed 3 years ago

Consider hand-rolling radios and checkboxes for resizability

Categories

(Core :: Widget: Cocoa, enhancement, P3)

All
macOS
enhancement

Tracking

()

RESOLVED FIXED
88 Branch

People

(Reporter: robin, Assigned: spohl)

References

Details

(Whiteboard: tpi:+)

Attachments

(2 files)

Attached image osx_10.10_firefox.png
In bug 394892 Markus Stange fixed radios and checkboxes to use native Cocoa widgets and made them resizable, which puts Firefox a step up from where Chrome and Safari currently are. It’s a shame though that they look pixellated at large sizes (see attached image).

In the intervening time an @2x set of image states for checkboxes and radios has been introduced (try setting transform:scale(2); against an input in Chrome or Safari) which would be a stop-gap, but it would be very nice if this could be resolution independent.

Other browsers (for example Chrome on Windows) have their own set of vector widgets including checkboxes and radios. Is this something Mozilla would be interested in doing? It would obviously be better if OS X introduced resolution independent controls and I’d imagine it can’t be far off, so that might be the better path.
Component: Widget: Cocoa → Theme
Product: Core → Firefox
Firefox :: Theme doesn't control web checkboxes / radio buttons. We potentially could use hardcoded images on the widget side. I don't know that we want to. Markus, thoughts?
Component: Theme → Widget: Cocoa
Flags: needinfo?(mstange)
Product: Firefox → Core
Yeah, it's a long standing problem, and I don't know what we should do about it. I was hoping somebody would just come along with a solution and tell us what to do. :-)
We can handroll drawing, sure, but that means we lose the native look on every platform/theme combination that we didn't handroll drawing for. I don't know whether that trade-off is worth it.
Flags: needinfo?(mstange)
Priority: -- → P3
Whiteboard: tpi:+

I guess this can be closed, now that the new non-native-theme for checkboxes has rolled out on macOS. Not sure which bug to mark this resolved by: potentially https://bugzilla.mozilla.org/show_bug.cgi?id=1690842?

(In reply to Robin Whittleton from comment #4)

I guess this can be closed, now that the new non-native-theme for checkboxes has rolled out on macOS. Not sure which bug to mark this resolved by: potentially https://bugzilla.mozilla.org/show_bug.cgi?id=1690842?

That looks right to me, thanks for updating this bug!

Assignee: nobody → spohl.mozilla.bugs
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Depends on: 1690842
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: