EDCD / EDMarketConnector

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
GNU General Public License v2.0
994 stars 156 forks source link

Keyboard shortcut not available on macOS (Catalina and later) #906

Closed Athanasius closed 6 months ago

Athanasius commented 3 years ago

Due to some OS changes it's not currently possible for EDMarketConnector to get permissions to listen to all keyboard events on macOS, when using Catalina (10.5) or later.

The method in the code to try to gain permission doesn't work. The option is nothing to do with "Accessibility" now. It might be the "Input Monitoring" section of "Privacy & Security". Unfortunately without code in the app to request this there seems to be no way to grant it.

Even if some code is found (apple developer documentation is obtuse) to request the permission it might turn out that for tkinter functionality that's not even the way to do it.

So, for the time being, the hotkey (to manually trigger an update) feature of this application will not work on macOS.

If anyone has macOS development experience and can help out we'd be grateful.

Rixxan commented 7 months ago

Unsure if we need to keep this one open, as we're no longer supporting MacOS environments. Will leave this open for a bit for comments, but if nobody can think of a good reason to invest resources in this issue will close it.