Project

General

Profile

Bug #15731

Let OnionShare use the default GNOME theme

Added by segfault 10 months ago. Updated 2 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
07/16/2018
Due date:
% Done:

0%

QA Check:
Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:
OnionShare

Description

Currently, our AppArmor profile denies access to /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/adwaita.so, so OnionShare can't use the default GNOME theme. We could fix this by adding this line to the AppArmor profile, allowing OnionShare to load and execute the shared object of the qt5 plugin for the theme:

/usr/lib/x86_64-linux-gnu/qt5/plugins/styles/adwaita.so m

History

#1 Updated by u 10 months ago

  • Assignee set to u

I'll propose this upstream. Thanks!

#2 Updated by intrigeri 10 months ago

I'll propose this upstream. Thanks!

Cool!

I think this should be added to some appropriate abstraction (as opposed to the OnionShare profile itself).

#3 Updated by intrigeri 9 months ago

  • Affected tool set to OnionShare

Upstream now has a qt5 abstraction: https://gitlab.com/apparmor/apparmor/blob/master/profiles/apparmor.d/abstractions/qt5. It's not part of any upstream release yet but we could temporarily backport it.

And in passing, the AppArmor profile for onionshare-gui still includes the gnome abstraction while we've upgraded to a version that uses Qt. I'm not sure whether that abstraction is still needed.

#4 Updated by intrigeri 9 months ago

u wrote:

I'll propose this upstream. Thanks!

For this to be useful, the Debian package will need to actually install these profiles and we'll have to drop our own copy :)

#5 Updated by u 2 months ago

  • Target version set to Tails_3.14

Let's try to do that once the 2.0 packaging is ready.

Also available in: Atom PDF