Elektrine lite

← Feed

@julienw@pouet.chapril.org

Post #2633394

2025-12-31 17:47 UTC

@gruber@mastodon.social we have code in Firefox to handle this difference between windows and the rest of the OSes https://searchfox.org/firefox-main/source/toolkit/content/widgets/moz-button-group/moz-button-group.mjs#100-102

Replies (2)

  • @edmechem@urbanists.social 2025-12-31 19:02

    @julienw@pouet.chapril.org @gruber@mastodon.social Good lord. The extra work needed to be done to workaround Microsoft's efforts (in vain) to not get sued for copying the UI (by fucking it up just to be different)! And now we have payment terminals, even Duolingo, putting cancel after Ok 🤦‍♂️

    Open ##2633395

  • @avidrissman@mas.to 2025-12-31 20:32

    @julienw@pouet.chapril.org @gruber@mastodon.social As do we on Chrome/Chromium: https://chromium.googlesource.com/chromium/src/+/main/docs/ui/views/platform_style.md#button-order This is defined alongside a surprising number of platform-specific aspects (does right-click select a word? does space click a button on press or release?) https://source.chromium.org/chromium/chromium/src/+/main:ui/views/style/platform_style.h

    Open ##2633397