Public bug reported:

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:

.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;
}

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.

** Affects: gtk+3.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

Status in gtk+3.0 package in Ubuntu:
  New

Bug description:
  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:

  .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;
  }

  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.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to