Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Cannot open any files #25

Open
thegrasshopper104 opened this issue Oct 16, 2023 · 23 comments
Open

Cannot open any files #25

thegrasshopper104 opened this issue Oct 16, 2023 · 23 comments

Comments

@thegrasshopper104
Copy link

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
Copy link
Owner

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
Copy link
Author

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

xdgportal.mp4

@vixalien
Copy link
Owner

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

@thegrasshopper104
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

Can you paste the installed version of decibels?

image

@thegrasshopper104
Copy link
Author

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
Copy link
Owner

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.

@vixalien vixalien reopened this Oct 18, 2023
@MrDorianJames
Copy link

yeah same issue

image

image

@vixalien
Copy link
Owner

vixalien commented Dec 8, 2023

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

@thegrasshopper104
Copy link
Author

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
Copy link
Owner

vixalien commented Dec 8, 2023

It still happens with 0.1.6 from Flathub

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

@thegrasshopper104
Copy link
Author

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

@vixalien
Copy link
Owner

vixalien commented Dec 8, 2023

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
Copy link
Author

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

@vixalien
Copy link
Owner

vixalien commented Dec 8, 2023

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

@thegrasshopper104
Copy link
Author

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
Copy link
Author

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
Copy link
Contributor

@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
Copy link
Contributor

BlobCodes commented Jan 5, 2024

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

Also, in the screen recording above (#25 (comment)), 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
Copy link
Owner

vixalien commented Jan 6, 2024

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

@thegrasshopper104
Copy link
Author

thegrasshopper104 commented Mar 11, 2024

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants