Skip to content

main: Warn when unsafe mode is toggled

Florian Müllner requested to merge fmuellner/gnome-shell:unsafe-warning into main

MetaContext:unsafe-mode was added as a debugging tool to temporarily remove restrictions on privileged APIs. But as it turns out, there are now extensions that toggle the property permanently. Right now none of them are malicious (as far as I can see), but it's still a bad idea and should be discouraged.

Do this with a notification that warns the user when unsafe mode is enabled non-interactively (i.e. via looking glass), and hopefully also clarifies what the weird lock icon in the top bar is about.

Fixes #4798 (closed)

Merge request reports