kaii-lb / overskride

A simple yet powerful bluetooth client.
GNU General Public License v3.0
519 stars 10 forks source link

'center' is not a valid child type of 'AdwHeaderBar' #12

Closed roziscoding closed 10 months ago

roziscoding commented 10 months ago

I just installed the app with flatpak as per the README instructions but, upon trying to run it with flatpak, I get the following:

Full stack trace ```sh ❯ RUST_BACKTRACE=full flatpak run io.github.kaii_lb.Overskride (overskride:2): Gtk-WARNING **: 14:00:54.459: 'center' is not a valid child type of 'AdwHeaderBar' (overskride:2): Gtk-WARNING **: 14:00:54.461: 'center' is not a valid child type of 'AdwHeaderBar' thread 'main' panicked at src/window.rs:1439:93: cannot get user download dir ``` ```sh stack backtrace: 0: 0x56030db513bc - 1: 0x56030db77c2c - 2: 0x56030db4e8ce - 3: 0x56030db511a4 - 4: 0x56030db52853 - 5: 0x56030db5256c - 6: 0x56030db52dd9 - 7: 0x56030db52cd7 - 8: 0x56030db518e6 - 9: 0x56030db52a22 - 10: 0x56030d52c873 - 11: 0x56030d52c83a - 12: 0x56030d5564cc - 13: 0x56030d5f9fbe - 14: 0x56030d6da904 - 15: 0x56030d71da3b - 16: 0x7f895831795a - 17: 0x7f8958318ff6 - g_object_new_with_properties 18: 0x56030db1b19a - 19: 0x56030db1aa7f - 20: 0x56030d72b908 - 21: 0x56030d6ef19a - 22: 0x56030d62281a - 23: 0x56030d631b6b - 24: 0x7f8958311652 - 25: 0x7f89583274af - 26: 0x7f895832d3c1 - g_signal_emit_valist 27: 0x7f895832d483 - g_signal_emit 28: 0x7f89585a1888 - 29: 0x56030d538b90 - 30: 0x56030d538193 - 31: 0x56030d631ee2 - 32: 0x7f89585a19eb - g_application_run 33: 0x56030d5b0c02 - 34: 0x56030d5b0d19 - 35: 0x56030d5a5702 - 36: 0x56030d58528b - 37: 0x56030d54994e - 38: 0x56030d72a9d1 - 39: 0x56030db4aedb - 40: 0x56030d72a9aa - 41: 0x56030d5a586e - 42: 0x7f895755208a - 43: 0x7f895755214b - __libc_start_main 44: 0x56030d52cfe5 - 45: 0x0 - ```

I'm on EndeavourOS with i3-wm, but I do have a working Gnome setup too. I don't really which package versions to provide, but I'll gladly add any one you ask for :)

Update: I get the same error when trying on Gnome.

kaii-lb commented 10 months ago

alright i pushed a new release, it should fix your issue

tho be mindful of the "received file location" setting, since if gtk wasn't able to find your download folder im not sure it would be able to find your home folder either, so you might end up having to manually select the folder

roziscoding commented 10 months ago

I'll try it out in a bit

roziscoding commented 10 months ago

It works! 😄 Is there a way to set the app to use a dark theme, tho?

kaii-lb commented 10 months ago

if you're using gnome, then go to settings and select dark mode in appearance if not using gnome, run gsettings set org.gnome.desktop.interface color-scheme prefer-dark

imma close this now since its no longer related to the issue, thank you!