axel358 / smartdock

A user-friendly desktop mode launcher that offers a modern and customizable user interface
GNU General Public License v3.0
695 stars 48 forks source link

Accessibility is prevented on WSA (Windows Subsytem Android) #66

Closed gbraad closed 1 year ago

gbraad commented 1 year ago

I am unable to change the setting for Accessibility from the SmartDock application. When checking the settings app specifically I see this shows as a "Restricted setting"

image

What can be done?

axel358 commented 1 year ago

@gbraad > Settings > Apps > Smartdock > 3 Dot menu (Top right corner) > Allow restricted permissions

gbraad commented 1 year ago

I just read https://www.esper.io/blog/android-13-sideloading-restriction-harder-malware-abuse-accessibility-apis about this ;-)


This might be helpful to be added to the README.

gbraad commented 1 year ago

Note: this has to be explicitly enabled from the Settings, as clicking on "Manage" from Smart Dock's will force the Windows Accessibility settings pane to open.

PS> start-process "wsa://com.android.settings"

and search for Accessibility.

image

You want the one of the left, not the one on the right

axel358 commented 1 year ago

https://github.com/axel358/smartdock#grant-restricted-permissions

Done

gbraad commented 1 year ago

Additional note for WSA users. It is not an ideal solution, as unlike Waydroid, WSA does not show the desktop of Android. To make this 'somewhat' usable, you have to switch to "Window focus" -> "Independent", else you are unable to use the Dock after the first click you performed.

Screenshot 2023-07-26 203850

Note: the Windows taskbar and the Smart Dock will conflict if you also not use "Auto hide" (Unfortunately you can not dock the Windows task bar to the top anymore with Win11).