Jan 31 13:17:41 -VirtualBox kernel: [ 3549.055408] traps: mate-
panel[3931] general protection fault ip:7f486e9721dc sp:7ffe38388ac8
error:0 in libcairo.so.2.11600.0[7f486e90d000+d3000]

** Also affects: mate-panel (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: gtk+3.0 (Ubuntu)

** Description changed:

  I maintain and update a GTK2/3+ theme (http://winxp4life.tk), and with
- the latest version of GTK3 in Ubuntu 22.04, my theme no longer works due
- to a segfault caused by this rule:
+ the latest version of GTK3, Mate, and mate-panel in Ubuntu 22.04, my
+ theme no longer works due to a segfault caused by this rule:
  
  .mate-panel-menu-bar {
-     background-image: -gtk-gradient (linear,
-                       left top,
-                       left bottom,
-                       from (#3168d5),
-                       color-stop (0.15, #4490e6),
-                       color-stop (0.30, #235bd9),
-                       color-stop (0.90, #2562de),
-                       to (#1941a5));
-     background-color: @selected_bg_color_top_menu;
-     padding: 0px;
-     color: @bg_color;
-     text-shadow: none;
+     background-image: -gtk-gradient (linear,
+                       left top,
+                       left bottom,
+                       from (#3168d5),
+                       color-stop (0.15, #4490e6),
+                       color-stop (0.30, #235bd9),
+                       color-stop (0.90, #2562de),
+                       to (#1941a5));
+     background-color: @selected_bg_color_top_menu;
+     padding: 0px;
+     color: @bg_color;
+     text-shadow: none;
  }
  
  If I remove the background-image property, the theme works and the
  segfault doesn't happen.  It appears that any -gtk-gradient set on
  background-image for .mate-panel-menu-bar doesn't work and causes Mate
  to segfault.  I have to change the theme and restart to get things to
  work again.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2004432

Title:
  GTK 3.2+ Theme mate-applications.css:  segfault libcairo .mate-panel-
  menu-bar background-image: -gtk-gradient

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-panel/+bug/2004432/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to