xiaoyifang / goldendict-ng

The Next Generation GoldenDict
https://xiaoyifang.github.io/goldendict-ng/
Other
1.71k stars 95 forks source link

fix: macOS -> replace the tray icon with a dock menu #1934

Closed shenlebantongying closed 1 week ago

shenlebantongying commented 1 week ago

After this change:

The toggle clipboard monitoring is moved to the dock menu.

To toggling visibility using dock icon: "Click" to bring up and "Option+Click" to hide. Note that "Option+click" may also hide other staffs, a weird shortcut.


Pretty sure this will break someone's habit, however

Is there fixes? Yes, but actually no.

(Apple don't use the terminology "tray icons", it is "Menu Extra" BTW. -> from Apple's HIG https://developer.apple.com/design/human-interface-guidelines/the-menu-bar#Menu-bar-extras).

I think this is the best way forward with only downside of breaks some existing users, hopefully they can adapt and hopefully using dock menu isn't hard.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud