unity_inspector_get_unity_running improperly returns true on KDE 5.6

Bug #1663747 reported by Thomas Anderson on 2017-02-10
This bug affects 8 people
Affects Status Importance Assigned to Milestone
libunity (Ubuntu)

Bug Description

Chromium uses unity_inspector_get_unity_running to determine if close/minimize/maximize buttons are hidden when in a maximized state.

libunity checks if the com.canonical.Unity Dbus service is created and uses that as the return value for unity_inspector_get_unity_running. (see src/unity-inspector.vala)

KDE Plasma 5.6 supports the unity launcher API and creates a com.canonical.Unity service. Even though unity is certainly not running, UnityInspector thinks it is.

Chromium bug report:

KDE bug report:

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libunity (Ubuntu):
status: New → Confirmed
Peter Maciejko (corsseir) wrote :

Do you plan to release any patch for this issue?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers