Hacker News new | ask | show | jobs
by ivanche 1843 days ago
Since you've already mentioned it - I hear that Firefox has non-native context menus all the time, but for the life of me couldn't tell any difference between "native" and "non-native" context menus. Anybody has any proof/example of this?
3 comments

https://files.grid.in.th/vKeXJQ.png

It looks close, but details and behavior are a bit off. For example:

- Firefox context menu does not respect system's dark mode

- Different horizontal and vertical margins between items

- Different font rendering (e.g. text looks bolder)

- Different right caret icon

For behavior difference, for example: when navigating sub-menu items, macOS uses cursor velocity and cursor direction to determine if user is trying to go to submenu and immediately dismiss it if user is not. Firefox context menu uses a delay to archive similar effect. (To test this: open a sub-menu in a context menu, then move the cursor up. macOS native menu dismiss immediately, where old Firefox has a small delay before it is dismissed.)

And on Big Sur, the old Firefox menus were still using edge-to-edge rectangular selection but the system ones now use rounded-rectangles that appear to detach from the edges.
That tabwrangler extension is great, thanks!
Right-click on a word in Chrome/Safari (or really any other macOS application) and right-click on a word in old Firefox.