** Description changed:

  Snaps that use the app indicator area via Qt can't display their icon
  there.
  
  Steps to reproduce and screenshot:
  https://github.com/nuttyartist/notes/pull/77
  
  Some research:
  
  - Uses http://doc.qt.io/qt-5/qsystemtrayicon.html
  - The indicator icon is created under /tmp under a randomly generated 
directory name
  
  didrocks mentions also:
  
  1. The application says "this is my menu, and here is my icon at that 
address", the address being /tmp/blablabla
  2. appindicator receives the bus messages
  3. and says "let's have a look at this icon at that address"
  4. BUT! /tmp in the snap is different form system /tmp
  
  
====================================================================================
  
  SRU bug for libappindicator:
  
  [Impact]
  
  Indicator icons pointing to a position inside the snap aren't properly
  found by unity, that shows a "missing icon" emblem
  
  [Test case]
  
  * Download this yaml file http://pastebin.com/raw/FpEvQYGN and save it as 
snapcraft.yaml
-   in any folder you want
+   in any folder you want
  * Run:
-   - snapcraft prime
-   - sudo snap try prime
-   - snap run gtk3-appindicator
+   - snapcraft prime
+   - sudo snap try prime
+   - snap run gtk3-appindicator
  
- An indicator should open (with proper icon), then if you select "Custom
- Themed Icon" from its menu, you should see a proper icon.
+ An indicator should open (with proper icon), then if you select "Set
+ icon with Full Path" and/or "Enable Local Theme" from its menu, you
+ should see a proper icon.
  
  When snaps are generated in non updated systems, the icon will be still
  missing.
  
  [Regression potential]
  
  If $SNAP is defined for an app not running in snap confinement the icons
  couldn't be properly visible

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

Title:
  App indicator does not show icon for Qt apps or with custom icons

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1600136/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to