Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

20 views
Skip to first unread message

Nyizsnyik Ferenc

unread,
Dec 18, 2021, 7:10:03 AM12/18/21
to
Package: darkcold-gtk-theme
Version: 5.0.0-3
Severity: normal
Tags: patch

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.


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages darkcold-gtk-theme depends on:
ii gtk2-engines-pixbuf 2.24.33-2

darkcold-gtk-theme recommends no packages.

darkcold-gtk-theme suggests no packages.

-- no debconf information

--
Nyizsnyik Ferenc.

Adam Borowski

unread,
Feb 27, 2023, 9:10:05 AM2/27/23
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!
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Q: Is it ok to combine wired, wifi, and/or bluetooth connections
⢿⡄⠘⠷⠚⠋⠀ in wearable computing?
⠈⠳⣄⠀⠀⠀⠀ A: No, that would be mixed fabric, which Lev19:19 forbids.

Nyizsnyik Ferenc

unread,
Mar 13, 2023, 6:00:03 AM3/13/23
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!

--
Nyizsnyik Ferenc.
0 new messages