← Back to team overview

dx-packages team mailing list archive

[Bug 1663747] [NEW] unity_inspector_get_unity_running improperly returns true on KDE 5.6

 

Public bug reported:

Chromium uses unity_inspector_get_unity_running to determine if close/minimize/maximize buttons are hidden when in a maximized state.
https://cs.chromium.org/chromium/src/chrome/browser/ui/libgtkui/unity_service.cc?rcl=0ddb4374a9221dba28e9ea8a1edaacb32dcc0861&l=124

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:
https://bugs.chromium.org/p/chromium/issues/detail?id=594490

KDE bug report:
https://bugs.kde.org/show_bug.cgi?id=360403

** Affects: libunity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libunity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1663747

Title:
  unity_inspector_get_unity_running improperly returns true on KDE 5.6

Status in libunity package in Ubuntu:
  New

Bug description:
  Chromium uses unity_inspector_get_unity_running to determine if close/minimize/maximize buttons are hidden when in a maximized state.
  https://cs.chromium.org/chromium/src/chrome/browser/ui/libgtkui/unity_service.cc?rcl=0ddb4374a9221dba28e9ea8a1edaacb32dcc0861&l=124

  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:
  https://bugs.chromium.org/p/chromium/issues/detail?id=594490

  KDE bug report:
  https://bugs.kde.org/show_bug.cgi?id=360403

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunity/+bug/1663747/+subscriptions


Follow ups