WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
42.83k stars 1.88k forks source link

[Bug] Requested file dialog returned an error: D-Bus file dialog interaction was ended abruptly with response code 2. #1883

Open worduk opened 2 weeks ago

worduk commented 2 weeks ago

Operating System

Linux

What's the issue you encountered?

Requested file dialog returned an error: D-Bus file dialog interaction was ended abruptly with response code 2.

How can the issue be reproduced?

Menu->Open File

ImHex Version

1.36.0.WIP

ImHex Build Type

Installation type

cmake ../ImHex --install-prefix=/usr && make install

Additional context?

Gentoo Linux x86-64 6.10.7 gcc version 14.2.1 20240824 (Gentoo 14.2.1_p20240824 p5) GNU assembler version 2.43.1 (x86_64-pc-linux-gnu) using BFD version (Gentoo 2.43 p2) 2.43.1 D-Bus Message Bus Daemon 1.15.8

btzy commented 1 week ago

This is raised by nativefiledialog-extended when the xdg-desktop-portal file dialog produces response code 2: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Request.html#org-freedesktop-portal-request-response

The documentation just says "The user interaction was ended in some other way", but there doesn't seem to be any way to get more information about the error.

Can you check if other applications that use portals for file dialogs also have this problem? Also, check if the xdg-desktop-portal and xdg-desktop-portal-gtk/xdg-desktop-portal-kde packages are installed. Finally, did xdg-desktop-portal file dialogs work in the previous version of ImHex?