apport-bug compiz incorrectly detects Unity is running on Ubuntu 18.04 GNOME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Ubuntu 18.04 GNOME
To reproduce:
- Reporting bug in compiz using apport-bug compiz
A dialog box pops up "Thanks for reporting this bug. It seems you have Unity running." (see screenshot)
Unity desktop is not running or installed.
Expected: apport detects that Unity is not running, does not show the dialog.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apport 2.20.9-0ubuntu7.5
ProcVersionSign
Uname: Linux 4.15.0-39-generic x86_64
ApportLog:
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 28 16:13:45 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2018-09-12 (77 days ago)
InstallationMedia: Ubuntu 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: Upgraded to bionic on 2018-09-28 (61 days ago)
This is actually an issue in the apport-package hook provided by compiz. It contains the following:
18 attach_ gsettings_ schema( report, 'org.compiz. core:/org/ compiz/ profiles/ %s/plugins/ core/' % current_profile) 'GsettingsChang es'] and report[ 'SourcePackage' ] != "unity":
19
20 unity_bug = False
21 if ui and "unity" in report[
I guess using the gsettings_schema isn't accurate.