Public bug reported:

I’m in the process of fixing bug #1356516 by adding an apparmor profile under 
which webbrowser-app will be run.
This works well and I now get a system prompt the first time the a page in the 
browser requests access to the location, as expected.
After accepting, the contents of the corresponding trust store DB look like 
this:

    $ sqlite3 ~/.local/share/UbuntuLocationService/trust.db
    sqlite> select * from requests;
    Id|ApplicationId|Feature|Timestamp|Answer
    1|webbrowser-app|0|1443631573546767542|1

However when I go to the Location page under Security in system
settings, the corresponding list item has an empty label. Looking at the
code in plugins/security-privacy/Location.qml, this uses a
TrustStoreModel instance, which appears to query desktop files to
retrieve the display name of applications. This seems to work well for
click apps, but apparently not for webbrowser-app, which is a debian
package (but it does have a desktop file, installed under
/usr/share/applications/webbrowser-app.desktop).

** Affects: ubuntu-system-settings (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501428

Title:
  TrustStoreModel fails to expose application name for non-click app

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1501428/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to