Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNOME shell crashes when dash-to-dock extension is disabled in overview #2179

Closed
taoky opened this issue Mar 27, 2024 · 2 comments
Closed

GNOME shell crashes when dash-to-dock extension is disabled in overview #2179

taoky opened this issue Mar 27, 2024 · 2 comments

Comments

@taoky
Copy link
Contributor

taoky commented Mar 27, 2024

With current code from master (1053b3e), dash-to-dock would make shell crash in both GNOME 45 and 46. This could be reproduced by:

  1. Open Overview (both window picker and app grid could trigger this)
  2. Lock the screen, or run gnome-extensions disable [email protected] if sshing.

My local bisecting result shows that de35ab6 is the first bad commit (weird) when testing with GNOME 45. And this diff patch "workarounds" the crash in both GNOME 45 and 46:

diff --git a/_stylesheet.scss b/_stylesheet.scss
index b23cc43..adc45af 100644
--- a/_stylesheet.scss
+++ b/_stylesheet.scss
@@ -251,10 +251,6 @@ $dock_style_modes: [null, shrink, extended, extended-shrink];
     }
 }
 
-.dash-item-container .overview-tile .overview-icon,
-.dash-item-container .show-apps .overview-icon {
-    background-color: rgba(255,255,255,0);
-}
 
 .dash-item-container .overview-tile:hover .overview-icon,
 .dash-item-container .overview-tile.focused .overview-icon,

This issue looks like https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7339 but it's slightly different (crashing widget is Gjs_ui_dash_ShowAppsIcon), and I have tried to find the cause but no clue. And this bug, if exists in shell, could only be triggered by an extension. I have also tried to build a simpler extension example, but it does not crash with a CSS-only extension.

bt full (GNOME 46):
bt-full-fedora-gnome46.txt

@vanvugt
Copy link
Collaborator

vanvugt commented Mar 28, 2024

Thanks for the bug report. dash-to-dock shouldn't be able to cause a segfault like that, and particularly not with style changes. It looks like we should track this upstream just keeping in mind the only way to reproduce it is with dash-to-dock.

@vanvugt
Copy link
Collaborator

vanvugt commented Mar 28, 2024

I'm working on an upstream fix so let's track this in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7339 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants