REPRODUCIBILITY: Yes
OS VERSION: 4.6.0.13
HARDWARE: Xperia 10II
UI LANGUAGE: -
REGRESSION: Don’t know
DESCRIPTION:
I came across this quite by accident while working on a simple new app, when starting it directly from CLI with sailfish-qml appname
audio worked whereas when starting from the Application menu it did not because I had not set sailjail permissions.
It could be that this behaviour is on purpose but it is still quite surprising to me.
PRECONDITIONS:
.desktop
file with empty permissions list and app that uses things that require permissions.
STEPS TO REPRODUCE:
I think the description speaks for itself
EXPECTED RESULT:
I would think that sailjail would be applied irrespective to the way an application is started.
ACTUAL RESULT:
It seems that it is only applied when the application is started through it’s .desktop
file.
MODIFICATIONS:
ADDITIONAL INFORMATION:
Please note that while the commit also fixes the application name I tested it with an empty Permissions=