#1001889 darkcold-gtk-theme: wxmaxima fails to start with GdkPixbuf-CRITICAL error

#1001889#5
Date:
2021-12-18 12:05:41 UTC
From:
To:
Dear Maintainer,

When using the DarkCold theme with XFCE, wxmaxima fails to start with
the following error message:

GdkPixbuf-CRITICAL **: 12:37:47.754: gdk_pixbuf_scale_simple: assertion
'dest_height > 0' failed
../src/common/image.cpp(432): assert "(width > 0) && (height > 0)"
failed in Scale(): invalid new image size

A simple solution is editing /usr/share/themes/DarkCold/gtk-3.20/gtk.css:
Deleting the line 'margin-right: 5px;' from the '.check, check' section
(checkbox & radiobutton properties) solves the problem, wxmaxima starts
up properly.

The other dark themes (DarkBlood, DarkFire, DarkMint, etc) are also
affected.

#1001889#10
Date:
2023-02-27 14:03:36 UTC
From:
To:
Hi!
Sorry for missing the bug report somehow -- on team packages, uploaders
don't receive notifications by default, and I dun goofed while subscribing.

It's bad to have wxmaxima crash because of a mere theme...
But, even after applying your fix, wxmaxima continues to crash.

Since you already figured out the issue before, could you take a glance at
https://salsa.debian.org/desktop-themes-team/darkcold-gtk-theme
branch "wip" and see what am doing wrong?


Meow!

#1001889#15
Date:
2023-03-13 09:48:22 UTC
From:
To:
   Hi Adam,

   I've tracked the issue down and the problem is caused by adding a
padding to checkboxes and radiobuttons. At least wxwidgets doesn't seem
to like it.
   The solution is deleting 'padding-right: 5px;' from .check, check in
the "checkbox & radiobutton" section (re-enabling 'margin-right: 5px;'
is ok), and also deleting 'padding: 0px 6px 0px 0px;' from the
"Radiobuttons" section.

   I cc'd you since you missed the report last time.

   Have fun!