New issue
Advanced search Search tips

Issue 718678 link

Starred by 11 users

Issue metadata

Status: Verified
Owner:
Closed: Aug 2017
Components:
EstimatedDays: 1
NextAction: ----
OS: Linux
Pri: 3
Type: Feature



Sign in to add a comment

No app indicator in Pantheon Desktop environment

Reported by optikals...@gmail.com, May 5 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36

Steps to reproduce the problem:
1. Install Chrome on elementary OS (or other Linux distro running Pantheon desktop environment)
2. Open Chrome

What is the expected behavior?
Chrome app indicator shows up in wingpanel.

What went wrong?
App indicator is not available.

Did this work before? N/A 

Chrome version: 58.0.3029.96  Channel: stable
OS Version: elementary OS Loki
Flash Version: 

If you add "env XDG_CURRENT_DESKTOP=Unity" to the Exec statement in your google-chrome.desktop file the app indicator shows up, and works, as expected with zero anomalies. The only downside is this tweak needs to be applied to the .desktop file in question every time Chrome updates. Please add in permanent check and fix to Chrome to secure my sanity. Thanks in advance. Cookies are in the mail.

Love,
Rocco
 
Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature
Owner: jonathan.garbee@chromium.org
Status: Untriaged (was: Unconfirmed)
I'm an Elementary user as well and noticed this. I'll take a stab at fixing it today.
Status: Started (was: Untriaged)
Looks as if all I need to do is edit the xdg_util.cc to properly detect Pantheon and have it return as "Unity" instead (since Pantheon uses Unity's indicator stuff underneath in the current release.)

This may need to be reworked when 18.04 lands and Gnome is the new default layer under Pantheon to be a little more explicit. But I feel that can be held off until we see what exactly we're dealing with at that time.
Components: UI>Browser
EstimatedDays: 1
Cc: jonathan.garbee@chromium.org
Owner: ----
Status: Available (was: Started)
I'm moving off of Elementary OS to OpenSUSE which doesn't have Pantheon. So, I'm not going to move forward with submitting this patch myself to get merged as I won't be running the OS past today. Attached to this comment however is a minimal functioning patch to get the App Indicator working. If someone wants to apply it and request the merge then go for it. I'm simply not sure if more detailed work should be involved to more officially support it beyond this one trick for this one bug case.
pantheon.patch
831 bytes Download
Cc: -jonathan.garbee@chromium.org
Owner: jonathan.garbee@chromium.org
Status: Started (was: Available)
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e7b5b58a1eabb15c1045990ac01d668ac9717e15

commit e7b5b58a1eabb15c1045990ac01d668ac9717e15
Author: Jonathan Garbee <jonathan.garbee@chromium.org>
Date: Wed Aug 09 13:07:03 2017

Use Unity interactions for Pantheon desktops.

Bug:  718678 
Change-Id: Ife38304ef264773ba101716a2c0c0d675a49bbd4
Reviewed-on: https://chromium-review.googlesource.com/602255
Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#492959}
[modify] https://crrev.com/e7b5b58a1eabb15c1045990ac01d668ac9717e15/base/nix/xdg_util.cc

Status: Verified (was: Started)
Just tested the patch in the latest development build, Chromium 62.0.3182.0. It is working.

Test path:

Install Chromium
Install Hangouts extension
Notice app icon shows up in the notification area.

Sign in to add a comment