Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1805929

Summary: RHEL 8.1 gnome-shell-extension errors
Product: Red Hat Enterprise Linux 8 Reporter: Paul Gozart <pgozart>
Component: gnome-shell-extensionsAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.1CC: fmuellner, jadahl, jloscar, mboisver, mkrajnak, pablo, tpelka
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-shell-extensions-3.32.1-11.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 01:34:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Gozart 2020-02-21 17:40:31 UTC
This bug was initially created as a copy of Bug #1805920

I am copying this bug because: 

This issue is present in RHEL 8.1 as well as 7.8.  Cloned bug from 7.8.



Description of problem:

The new '"hasOverview": false' feature is causing errors in gnome extensions.  For example...

In RHEL 8.1

- login as gnome session and gnome-shell-extension-dash-to-dock will load and is usable
- login as gnome classic session and extension gnome-shell-extension-dash-to-dock fails to load.

If I force downgrade gnome-classic-session-3.28.1-11.el7.noarch.rpm to gnome-classic-session-3.28.1-7.el7.noarch.rpm it appears again.

Something has been modified in gnome-classic-session which prevents this extension from loading.
Lets have a look, the error does not throw up anything of use.

Feb 20 04:27:18 localhost.localdomain gnome-shell[5259]: JS WARNING: [/usr/share/gnome-shell/extensions/dash-to-dock.github.com/docking.js 322]: reference to undefined property "viewSelector"
Feb 20 04:27:18 localhost.localdomain gnome-shell[5259]: Extension "dash-to-dock.github.com" had error: TypeError: Main.overview.viewSelector is undefined

Comparing old vs new bundles of gnome-classic-session we see the following.
Caused by this new "feature"
"hasOverview": false
Changing this to true an dash to dock loads again.

This has been working through all releases of 7x, this is a regression.

--- 1/usr/share/gnome-shell/modes/classic.json
2020-02-20 10:33:56.512040948 +0100
+++ 2/usr/share/gnome-shell/modes/classic.json
2020-02-20 10:34:01.889116419 +0100
@@ -1,8 +1,9 @@
 {
     "parentMode": "user",
     "stylesheetName": "gnome-classic.css",
-    "enabledExtensions": ["alternate-tab.github.com", "apps-menu.github.com", "places-menu.github.com", "launch-new-instance.github.com", "top-icons.github.com", "window-list.github.com"],
-    "panel": { "left": ["activities", "appMenu"],
+    "hasOverview": false,
+    "enabledExtensions": ["alternate-tab.github.com", "apps-menu.github.com", "horizontal-workspaces.github.com", "places-menu.github.com", "launch-new-instance.github.com", "top-icons.github.com", "window-list.github.com"],
+    "panel": { "left": ["appMenu"],
                "center": [],
                "right": ["a11y", "keyboard", "dateMenu", "aggregateMenu"]
              }



Version-Release number of selected component (if applicable):

RHEL 8.1
Gnome Classic


How reproducible:

Repeatedly


Steps to Reproduce:
1. login as gnome classic session and extension gnome-shell-extension-dash-to-dock fails to load.


Actual results:

gnome extensions such as Dash to Dock fail to load in RHEL 8.1 with Gnome Classic session


Expected results:

gnome extensions such as Dash to Dock load successfully in RHEL 8.1 with Gnome Classic session

Comment 1 Tomas Pelka 2020-02-24 09:18:04 UTC
"hasOverview": false was introduced with new classic mode.

Florian any thoughts?

Comment 2 Florian Müllner 2020-02-24 15:01:37 UTC
Indeed, dash-to-dock assumes that the overview always exists, and that assumption no longer holds true.

Given that we support that extension, this is a bug we must fix: I will work on a patch to make any dash-to-dock features that depend on the overview optional.

Comment 3 Florian Müllner 2020-02-24 23:38:19 UTC
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=26723112 has a scratch-build with a fixed dash-to-dock extension.

Comment 8 Tomas Popela 2020-03-31 14:32:11 UTC
*** Bug 1806763 has been marked as a duplicate of this bug. ***

Comment 11 Michael Boisvert 2020-06-11 18:55:47 UTC
When upgrading to gnome-shell-extensions-3.32.1-11.el8, you can now use the dash-to-dock extension on the new classic mode. The new functionality is good too, the show overview button on the dock is missing when '"hasOverview": false' and is present on the dock when overview is enabled.

Comment 16 errata-xmlrpc 2020-11-04 01:34:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: GNOME security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4451