bitcoin-core / gui-qml

Bitcoin GUI (experimental QML-based fork)
MIT License
110 stars 40 forks source link

QML FileDialog causing GTK error on Linux distributions #409

Open D33r-Gee opened 1 month ago

D33r-Gee commented 1 month ago

Is there an existing issue for this?

Current behaviour

with #408 when clicking the custom button here it causes a crash: Gtk:ERROR:../../../../gtk/gtkpathbar.c:1342:set_button_image_get_info_cb: assertion failed: (cancellable == data->button_data->cancellable) Bail out! Gtk:ERROR:../../../../gtk/gtkpathbar.c:1342:set_button_image_get_info_cb: assertion failed: (cancellable == data->button_data->cancellable) Aborted (core dumped)

Expected behaviour

There shouldn't be a crash when clicking the custom component.

Steps to reproduce

To reproduce it delete any settings.json and any "BitcoinCore-App*.conf" in home/.config/BitcoinCore

Also, it happens without deleting anything.

Relevant log output

No response

How did you obtain Bitcoin Core

Compiled from source

What version of Bitcoin Core are you using?

v25.99.0-acadaf8e9498

Operating system and version

Ubuntu 22.04.4 LTS

Machine specifications

Memory: 15.5 GiB Processor: Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8

MarnixCroes commented 1 month ago

Steps to reproduce To reproduce it delete any settings.json and any "BitcoinCore-App*.conf" in home/.config/BitcoinCore

FTR, I can also repro without deleting anything

D33r-Gee commented 1 month ago

FTR, I can also repro without deleting anything

Updated description, thanks for pointing it out!

johnny9 commented 1 month ago

I've been trying and I'm not able to reproduce this. Any information on the OS and DesktopManager (Gnome/KDE?) that is being used?

MarnixCroes commented 1 month ago

for me it's Ubuntu 22.04.4 LTS, GNOME version 42.9

MarnixCroes commented 3 weeks ago

FYI, on commit 8d53c44ad99c7844762dde5caf3aba03339bb8f4 it sometimes throws this in terminal when clicking on the Custom button (no crash) (bitcoin-qt:460568): Gtk-CRITICAL **: 19:57:07.987: gtk_image_set_from_gicon: assertion 'GTK_IS_IMAGE (image)' failed.

which is new, it didn't happen before.