vixalien / decibels

Play audio files
https://gitlab.gnome.org/vixalien/decibels
GNU General Public License v3.0
52 stars 17 forks source link

Cannot open any files #25

Open thegrasshopper104 opened 11 months ago

thegrasshopper104 commented 11 months ago

When I open a file from Dolphin > Open with, Decibels says Resource not found. If I open from the app, I can't select anything in the XDG portal.

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Kernel Version: 6.2.0-32-generic (64-bit)
Graphics Platform: Wayland
vixalien commented 11 months ago

hello. can you please show me a screenshot of Decibels saying `Resource not found.

If possible you can also try to record a screen record opening the portal.

thegrasshopper104 commented 11 months ago

hello. can you please show me a screenshot of Decibels saying `Resource not found.

If possible you can also try to record a screen record opening the portal.

Sure: https://github.com/vixalien/decibels/assets/57704946/8b748058-ab3b-4e36-aec4-b06d6fb72cf7

https://github.com/vixalien/decibels/assets/57704946/d939c56d-69a5-48c5-867a-33da2d55fe4f

vixalien commented 11 months ago

can you build the app? I want to help fix the issue, but first, there is a change that you could help test.

thegrasshopper104 commented 11 months ago

can you build the app? I want to help fix the issue, but first, there is a change that you could help test.

I have no experience with gnome apps, but send the branch and I'll try

vixalien commented 11 months ago

Hello. Please try installing the latest flatpak artefact and confirm it fixes the issue.

Let me know if the issue is indeed fixed so I can push out a new release with the fixes ASAP.

thegrasshopper104 commented 11 months ago

Hello. Please try installing the latest flatpak artefact and confirm it fixes the issue.

Let me know if the issue is indeed fixed so I can push out a new release with the fixes ASAP.

Sadly it doesn't, the same things happens with this version.

vixalien commented 11 months ago

Can you paste the installed version of decibels?

image

thegrasshopper104 commented 11 months ago

Can you paste the installed version of decibels?

image

I tried with com.vixalien.decibelsDevel, 0.1.4-64f8b53

Should I uninstall the Flathub version?

vixalien commented 11 months ago

That's the correct version, yes.

Well, this specific problem seems to be a head-scratching bug, and I don't know how to solve it now. I will wait for more users can reproduce it before trying to work on it.

MrDorianJames commented 10 months ago

yeah same issue

image

image

vixalien commented 9 months ago

Hello everyone! Although I'm not sure what caused this, can you please check and see if the app still fails?

thegrasshopper104 commented 9 months ago

Hello everyone! Although I'm not sure what caused this, can you please check and see if the app still fails?

It still happens with 0.1.6 from Flathub

vixalien commented 9 months ago

It still happens with 0.1.6 from Flathub

The latest version is 0.1.7. Can you update and try again?

thegrasshopper104 commented 9 months ago

Weird, I just reinstalled it and everything is up-to-date.

vixalien commented 9 months ago

My bad. The version 0.1.7 was not published to flathub. I now did, and it should be available in the next few hours. While waiting, you can install the latest nightly CI artefact to check.

thegrasshopper104 commented 9 months ago

image This is how it looks like, still can't see files when clicking on the button.

vixalien commented 9 months ago

It looks empty, and no font is rendered. Are you sure it's not an issue with your system?

thegrasshopper104 commented 9 months ago

It looks empty, and no font is rendered. Are you sure it's not an issue with your system?

All other apps (including libadwaita) work fine

thegrasshopper104 commented 9 months ago
flatpak run com.vixalien.decibelsDevel

(com.vixalien.decibelsDevel:2): Adwaita-WARNING **: 19:22:30.101: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

(com.vixalien.decibelsDevel:2): Gjs-CRITICAL **: 19:22:30.688: JS ERROR: Error: Expected an object of type GVariant for argument 'value' but got type undefined
_packVariant@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:87:29
_packVariant@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:137:27
_init/this.Variant._new_internal@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:300:35
_init/this.Variant.new@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:309:16
_on_method_call@resource:///com/vixalien/decibelsDevel/js/mpris.js:139:42
main@resource:///com/vixalien/decibelsDevel/js/main.js:6:16
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@file:///app/bin/com.vixalien.decibelsDevel:22:40
@file:///app/bin/com.vixalien.decibelsDevel:28:6
BlobCodes commented 9 months ago

@thegrasshopper104

I've seen this issue before, it's probably a borked version of mesa in flathub.

Please try another gtk4/libadwaita app installed from flathub with the same runtime (org.gnome.Platform/{arch}/45). That probably also won't work.

BlobCodes commented 8 months ago

When opening a directory with decibels, it shows this "resource not found" error.

Also, in the screen recording above (https://github.com/vixalien/decibels/issues/25#issuecomment-1764823636), you can see the user trying to open a directory with decibels.

I think this issue could just be user-error. And even if this issue is not related to that, this issue will eventually come up (especially if the app is accepted into GNOME Core Incubator).

EDIT: Just saw that there's two screen recordings, there are two issues.

A new "Cannot open directories" error screen (or something similar) should probably be added - maybe that already fixes the issue.

vixalien commented 8 months ago

The latest commits should have fixed this. If you could check and report back, that would be highly appreciated. Thanks

thegrasshopper104 commented 6 months ago

The latest commits should have fixed this. If you could check and report back, that would be highly appreciated. Thanks

Sorry, I missed this comment. Now I can open files from Dolphin with Decibels, but the file picker in Decibels is still empty (0.1.7)