Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open URL's from AppImage #8721

Closed
plegrand1 opened this issue Oct 31, 2022 · 55 comments · Fixed by #10624
Closed

Cannot open URL's from AppImage #8721

plegrand1 opened this issue Oct 31, 2022 · 55 comments · Fixed by #10624

Comments

@plegrand1
Copy link

Hello,
since last update (2.7.4), opening url from KeePassXC does not works anymore.
I use Appimage KeePassXC

Debian SID
Firefox 106
KeePassXC-Browser : 1.8.3.1

I made some tests :
Opening URLs does not work with 2.7.3 and 2.7.4 appimage version
It works fine with the 2.7.1 appimage version


Debug Info
KeePassXC - Version 2.7.4
Révision : 63b2394
Distribution : AppImage

Qt 5.15.2
Le mode débogage est désactivé.

Système d’exploitation : Debian GNU/Linux bookworm/sid
Architecture de l’unité centrale : x86_64
Noyau : linux 6.0.0-2-amd64

Extensions activées :

  • Saisie automatique
  • Intégration aux navigateurs
  • Agent SSH
  • KeeShare
  • YubiKey
  • Intégration à « Secret Service »

Bibliothèques cryptographiques :

  • Botan 2.19.1

Thanks for your help

@plegrand1 plegrand1 added the bug label Oct 31, 2022
@droidmonkey
Copy link
Member

How are you attempting to open the url? Click the link in the preview panel? Double click url in entry view? Ctrl + Shift + U keyboard shortcut?

Does this happen for all urls or just ones that are special like cmd:// ?

@plegrand1
Copy link
Author

plegrand1 commented Oct 31, 2022 via email

@Leepic
Copy link

Leepic commented Nov 1, 2022

Hi,

I have the same issue after upgrading from 2.7.1 to 2.7.4 (Linux Mint 20.3).
Nothing below works:

  • Ctrl+Shift+U
  • Double click via preview panel
  • Double click on the URL

cmd:// and URL HTTP/HTTPS are concerned.

When running AppImage in my terminal I've this error:

  • Opening cmd:// URL
Traceback (most recent call last):
  File "/usr/bin/gnome-terminal", line 9, in <module>
    from gi.repository import GLib, Gio
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc
  • Opening HTTPS URL
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc
Couldn't load XPCOM.
/usr/bin/xdg-open: 869: iceweasel: not found
/usr/bin/xdg-open: 869: seamonkey: not found
/usr/bin/xdg-open: 869: mozilla: not found
/usr/bin/xdg-open: 869: epiphany: not found
/usr/bin/xdg-open: 869: konqueror: not found
/usr/lib/chromium/chromium: symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc
/usr/bin/xdg-open: 869: chromium-browser: not found
/usr/bin/xdg-open: 869: google-chrome: not found
/usr/bin/xdg-open: 869: www-browser: not found
/usr/bin/xdg-open: 869: links2: not found
/usr/bin/xdg-open: 869: elinks: not found
/usr/bin/xdg-open: 869: links: not found
/usr/bin/xdg-open: 869: lynx: not found
/usr/bin/xdg-open: 869: w3m: not found
xdg-open: no method available for opening 'https://github.com'

Workaround

  1. Extract the AppImage
cd /tmp
wget https://github.com/keepassxreboot/keepassxc/releases/download/2.7.4/KeePassXC-2.7.4-x86_64.AppImage
chmod u+x KeePassXC-2.7.4-x86_64.AppImage
./KeePassXC-2.7.4-x86_64.AppImage --appimage-extract
  1. Remove libglibc in AppImage
    rm -f squashfs-root/usr/lib/libglib-2.0.so.0

  2. Test
    ./squashfs-root/AppRun

then exit KeepassXC.

  1. Fix wrong XML parsing before creating a fixed AppImage

wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage
chmod u+x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage squashfs-root KeepassXC-2.7.4-fixed.AppImage

appimagetool, continuous build (commit 8bbf694), build <local dev build> built on 2020-12-31 11:48:33 UTC
/tmp/squashfs-root/org.keepassxc.KeePassXC.desktop: hint: value item "Security" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Settings, or System
Using architecture x86_64
/tmp/squashfs-root should be packaged as KeepassXC-2.7.4-fixed.AppImage
AppStream upstream metadata found in usr/share/metainfo/org.keepassxc.KeePassXC.appdata.xml
Trying to validate AppStream information with the appstreamcli tool
In case of issues, please refer to https://github.com/ximion/appstream
org.keepassxc.KeePassXC.appdata.xml
  E: ~:~: xml-markup-invalid Could not parse XML data: Entity: line 77: parser error : expected '>'
        <release version="2.7.3" date="2022-10-23">
        ^
Entity: line 1031: parser error : Opening and ending tag mismatch: release line 63 and releases
    </releases>
               ^
Entity: line 1033: parser error : Opening and ending tag mismatch: releases line 63 and component
</component>
            ^
Entity: line 1034: parser error : EndTag: '</' not found

^


Validation échouée : erreurs : 1
run_external: subprocess exited with status 3Failed to validate AppStream information with appstreamcli

nano +76 ./squashfs-root/usr/share/metainfo/org.keepassxc.KeePassXC.appdata.xml

--    </description
++    </description>
++    </release>

Fix warnings:

org.keepassxc.KeePassXC.appdata.xml
  W: org.keepassxc.KeePassXC.desktop:35: url-invalid-type vcs-browser
  W: org.keepassxc.KeePassXC.desktop:36: url-invalid-type contribute

nano +35 ./squashfs-root/usr/share/metainfo/org.keepassxc.KeePassXC.appdata.xml

Remove this lines:

--    <url type="vcs-browser">https://github.com/keepassxreboot/keepassxc</url>
--    <url type="contribute">https://keepassxc.org/docs#contribute</url>

4.1 Create a fixed AppImage

./appimagetool-x86_64.AppImage squashfs-root KeepassXC-2.7.4-fixed.AppImage

appimagetool, continuous build (commit 8bbf694), build <local dev build> built on 2020-12-31 11:48:33 UTC
/tmp/squashfs-root/org.keepassxc.KeePassXC.desktop: hint: value item "Security" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Settings, or System
Using architecture x86_64
/tmp/squashfs-root should be packaged as KeepassXC-2.7.4-fixed.AppImage
AppStream upstream metadata found in usr/share/metainfo/org.keepassxc.KeePassXC.appdata.xml
Trying to validate AppStream information with the appstreamcli tool
In case of issues, please refer to https://github.com/ximion/appstream
La validation a réussi.
Generating squashfs...
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on KeepassXC-2.7.4-fixed.AppImage, block size 131072.
[========================================================================================================================================================-] 990/990 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 39343.84 Kbytes (38.42 Mbytes)
	37.31% of uncompressed filesystem size (105443.58 Kbytes)
Inode table size 5638 bytes (5.51 Kbytes)
	39.13% of uncompressed inode table size (14409 bytes)
Directory table size 3280 bytes (3.20 Kbytes)
	39.77% of uncompressed directory table size (8247 bytes)
Number of duplicate files found 39
Number of inodes 340
Number of files 240
Number of fragments 34
Number of symbolic links  3
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 97
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
Embedding ELF...
Marking the AppImage as executable...
Embedding MD5 digest
Success

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io
  1. Enjoy
    Your working AppImage is at /tmp/KeepassXC-2.7.4-fixed.AppImage.

@droidmonkey droidmonkey changed the title Open URL from keepassxc Cannot open URL's from AppImage Nov 1, 2022
@droidmonkey droidmonkey added this to the v2.8.0 milestone Nov 1, 2022
@phoerious
Copy link
Member

phoerious commented Nov 1, 2022

The URL opening issue is some sort of incompatible MIME type handling between Qt and your system. It's reproducible, but I don't think we can fix that.

There is a workaround, but not a nice one. See here: #8669 (comment)

@plegrand1
Copy link
Author

Does that meas there is no solution ?

@plegrand1
Copy link
Author

I admit that I have a little difficulty in understanding since version 2.7.1 works correctly.
I would think that the problem comes from the appimage, no?

@clunst
Copy link

clunst commented Nov 2, 2022

I think I am affected by the same problem.
Main system is a debian bullseye and I have run several tests on different live environments (xfce, KDE, i3wm, cinnamon / wayland, X) and in none of the environments I was able to open a URL. All tests by clicking the Help->Getting Started button.
Something seems to be wrong with v2.7.4.

debian bullseye:

~$ Downloads/KeePassXC-2.7.4-x86_64.AppImage 
xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
/opt/brave.com/brave/brave: symbol lookup error: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_uri_ref

KDE neon live cd:

 ./KeePassXC-2.7.4-x86_64.AppImage 
kde-open5: symbol lookup error: /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5: undefined symbol: _ZTI27QPlatformServiceColorPicker, version Qt_5_PRIVATE_API

endeavour OS live cd:

$ ./KeePassXC-2.7.4-x86_64.AppImage 
xdg-mime: no method available for querying MIME type of '/tmp/.mount_KeePascbt5Vf/usr/share/keepassxc/docs/KeePassXC_GettingStarted.html'
xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/usr/lib/libgobject-2.0.so.0: undefined symbol: g_atomic_rc_box_release_full
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/usr/lib/libgobject-2.0.so.0: undefined symbol: g_atomic_rc_box_release_full
Couldn't load XPCOM.
xdg-open: no method available for opening 'file:////tmp/.mount_KeePascbt5Vf/usr/share/keepassxc/docs/KeePassXC_GettingStarted.html'

Fedora live cd:

$ ./KeePassXC-2.7.4-x86_64.AppImage 
XPCOMGlueLoad error for file /usr/lib64/firefox/libmozgtk.so:
/lib64/libgobject-2.0.so.0: undefined symbol: g_uri_ref
Couldn't load XPCOM.
/usr/bin/xdg-open: line 881: x-www-browser: command not found
XPCOMGlueLoad error for file /usr/lib64/firefox/libmozgtk.so:
/lib64/libgobject-2.0.so.0: undefined symbol: g_uri_ref
Couldn't load XPCOM.
/usr/bin/xdg-open: line 881: iceweasel: command not found
/usr/bin/xdg-open: line 881: seamonkey: command not found
/usr/bin/xdg-open: line 881: mozilla: command not found
/usr/bin/xdg-open: line 881: epiphany: command not found
/usr/bin/xdg-open: line 881: konqueror: command not found
/usr/bin/xdg-open: line 881: chromium: command not found
/usr/bin/xdg-open: line 881: chromium-browser: command not found
/usr/bin/xdg-open: line 881: google-chrome: command not found
/usr/bin/xdg-open: line 881: www-browser: command not found
/usr/bin/xdg-open: line 881: links2: command not found
/usr/bin/xdg-open: line 881: elinks: command not found
/usr/bin/xdg-open: line 881: links: command not found
/usr/bin/xdg-open: line 881: lynx: command not found
/usr/bin/xdg-open: line 881: w3m: command not found
xdg-open: no method available for opening 'file:////tmp/.mount_KeePasM58WNJ/usr/share/keepassxc/docs/KeePassXC_GettingStarted.html'

garuda live cd:

Downloads/KeePassXC-2.7.4-x86_64.AppImage 
xdg-mime: no method available for querying MIME type of '/tmp/.mount_KeePas9rXuig/usr/share/keepassxc/docs/KeePassXC_GettingStarted.html'
xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
Opening "//tmp/.mount_KeePas9rXuig/usr/share/keepassxc/docs/KeePassXC_GettingStarted.html" with FireDragon  (text/html)
XPCOMGlueLoad error for file /usr/lib/firedragon/libmozgtk.so:
/usr/lib/libgobject-2.0.so.0: undefined symbol: g_atomic_rc_box_release_full
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib/firedragon/libmozgtk.so:
/usr/lib/libgobject-2.0.so.0: undefined symbol: g_atomic_rc_box_release_full
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib/firedragon/libmozgtk.so:
/usr/lib/libgobject-2.0.so.0: undefined symbol: g_atomic_rc_box_release_full
Couldn't load XPCOM.
xdg-open: no method available for opening 'file:////tmp/.mount_KeePas9rXuig/usr/share/keepassxc/docs/KeePassXC_GettingStarted.html'

@phoerious
Copy link
Member

The problem is this here: #8737 (comment)

@plegrand1
Copy link
Author

But how to explain then the solution proposed by Leepic ?

@droidmonkey
Copy link
Member

droidmonkey commented Nov 7, 2022

Remove libglibc in AppImage
rm -f squashfs-root/usr/lib/libglib-2.0.so.0

By doing this you force the appimage to use your system library. Might as well just use the ppa at that point.

@priv
Copy link

priv commented Nov 9, 2022

@plegrand1

I don't think it's same problem as #8737, more likely a glib incompatible problem. KeePassXC invokes other Applications, but the other Applications have problems with libglib-2.0.so.0 included in the AppImage.

Reproduced on Ubuntu 22.10

alvin@alvin-WS-E500:~/Applications$ ./KeePassXC-2.7.4-x86_64.AppImage 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QObject::startTimer: Timers cannot have negative intervals
qt.network.ssl: QSslSocket: cannot resolve EVP_PKEY_base_id
qt.network.ssl: QSslSocket: cannot resolve SSL_get_peer_certificate
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate
/usr/bin/google-chrome-stable: symbol lookup error: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_uri_ref

@plegrand1
Copy link
Author

Then, is there a solution for this problem ?
Do i have to do something to make it works ?
Thanks

@priv
Copy link

priv commented Nov 19, 2022

Then, is there a solution for this problem ? Do i have to do something to make it works ? Thanks

Two ways:

  1. KeePassXC don't pack glib in it. (It's not there in 2.7.1) I think this is most viable because I don't think any popular distributions work without glib.
  2. KeePassXC packs all glib series libraries in it so there will not be version mismatch problems. But this is not reasonable since KeePassXC does not use them.

Or, KeePassXC can discard bundle library information when it calls external application, but I wonder if there's simple way to do it.

@plegrand1
Copy link
Author

Hello,
so will the next versions of KeepassXC take this problem into account?

@NoahDar
Copy link

NoahDar commented Dec 17, 2022

I too am having this issue with Debian 11 KDE. I'm wondering at this point just compile from source and be done with it? I really like the AppImage as it's nice and self-contained.

@droidmonkey
Copy link
Member

Use the flatpak..

@plegrand1
Copy link
Author

Does this mean that the AppImage version will eventually disappear?
I have never used an application in FlatPack version and I admit I don't know much about it, is it as reliable?
Where is the application installed?

Thank you in advance for your answers

droidmonkey added a commit that referenced this issue Apr 24, 2024
droidmonkey added a commit that referenced this issue Apr 25, 2024
droidmonkey added a commit that referenced this issue Apr 25, 2024
droidmonkey added a commit that referenced this issue Apr 28, 2024
droidmonkey added a commit that referenced this issue Apr 29, 2024
pull bot pushed a commit to shashinma/keepassxc that referenced this issue Apr 30, 2024
@plegrand1
Copy link
Author

Hello,
I've just tried the new version of KeePassXC in Appimage (2.7.8) on Debian SID.
The problem still seems to be there.
When I click on a url, the application freezes and I can't do anything.
I then have to “kill” it.
In the logs, I get these messages:

mai 16 18:41:20 zenbook KeePassXC.AppImage[44007]: XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
mai 16 18:41:20 zenbook KeePassXC.AppImage[44007]: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_uri_ref
mai 16 18:41:20 zenbook KeePassXC.AppImage[44007]: Couldn't load XPCOM.
mai 16 18:41:20 zenbook KeePassXC.AppImage[44012]: XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
mai 16 18:41:20 zenbook KeePassXC.AppImage[44012]: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_uri_ref
mai 16 18:41:20 zenbook KeePassXC.AppImage[44012]: Couldn't load XPCOM.
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: iceweasel: not found
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: seamonkey: not found
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: mozilla: not found
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: epiphany: not found
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: konqueror: not found
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: chromium: not found
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: chromium-browser: not found
mai 16 18:41:20 zenbook KeePassXC.AppImage[43938]: /usr/bin/xdg-open: 882: google-chrome: not found 

@michaelk83
Copy link

@plegrand1 At this point, this looks like a configuration issue on your system. Does the browser open when you run xdg-open "<the url>" from a shell? If not, then see https://unix.stackexchange.com/q/251054/455274 (you can also define a default browser in system settings in some DEs).

I'm not sure whether anything can be added to the AppImage to make this work by default, as the specific browser association would be up to each user's system.

@plegrand1
Copy link
Author

I just made a test with xdg-open http://www.google.fr from a shell and it works fine.

@droidmonkey
Copy link
Member

The error message you show indicates appimage cannot see your configuration file that defines the default browser. It isn't a keepassxc specific issue.

@michaelk83
Copy link

appimage cannot see your configuration

AppImage/AppImageKit#124 (comment) might be relevant?

@droidmonkey
Copy link
Member

Yup precisely that!

@plegrand1
Copy link
Author

Should the unset command be run once and for all or on each reboot?
In this case i should have to modify the desktop file to launch the appimage?

@plegrand1
Copy link
Author

plegrand1 commented May 17, 2024

Then i made the test
unset XDG_DATA_DIRS
Then i launch KeePassXC AppImage, no more freeze but impossible to open url's. When i click on the url, nothing happens
Logs:
mai 17 16:23:41 zenbook KeePassXC.AppImage[55038]: XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
mai 17 16:23:41 zenbook KeePassXC.AppImage[55038]: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_uri_ref
mai 17 16:23:41 zenbook KeePassXC.AppImage[55038]: Couldn't load XPCOM.

From my point of view and my limited knowledge, this is very similar to the original problem.

@gbrauen
Copy link

gbrauen commented Jun 4, 2024

With 2.7.8 appimage on Debian Bookworm (12), I still get the same error as reported by @clunst here.

XPCOMGlueLoad error for file /usr/share/librewolf/libmozgtk.so:
/lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: g_uri_ref
Couldn't load XPCOM.

Undefined symbol is still fixed by removing the mismatched libglib-2.0.so.0 from the appimage and repacking it.

This should still be open. Is it tracked elsewhere?

@droidmonkey
Copy link
Member

Appimage is a failed standard. Use flatpak

@plegrand1
Copy link
Author

Hello,
That's not really an answer.
On the KeePassXC site, the Appimage version is highlighted, so it's natural to choose this one.
It seems that the initial bug present on the Appimage version is still present on the latest version.
Will the Appimage version no longer be offered, or will this bug be corrected?
Sincerely
Pascal

@droidmonkey
Copy link
Member

It is an answer, maybe not the one you wanted to read. How can we keep fixing problems in appimage that crop up on all these disparate systems? It's a failed solution to the problem of portability, clearly.

@vphantom
Copy link

vphantom commented Jun 6, 2024

FlatPak uses a huge amount of space compared to AppImage and introduces unpleasant issues being more isolated (i.e. cannot access host's fonts, GTK config), which is why I use AppImages when available. It used to work well for KeePassXC too until 1-2 years ago. With that said, if you no longer support AppImages, why release them at all? It creates an expectation that we should report bugs as they are found. That's overhead for you and frustration for us. 😉

Instead, why not work on a static build process (perhaps with musl libc)? I'm not sure if that's easy with C++ but it's quite common with Rust and Go projects for example. Heck I'd contribute to a bounty for that, as it would be cleaner than AppImage (or FlatPak).

Edit: It doesn't help that the big green button on https://keepassxc.org/download/#linux links to the AppImage, which tells users that it's the main officially-supported Linux download.

@droidmonkey
Copy link
Member

The download page is just that. You don't download flatpaks, snaps, or ppas from a website. You do download appimages. Flatpak shares dependencies so it's only "huge" once.

@vphantom
Copy link

vphantom commented Jun 6, 2024

It would be my only KDE application, with well over 1GB of dependencies so I'm not keen on doing that. 😉

The download page says how to get the software installed locally. It shows all the options, not just the AppImage.

Again, why build and distribute an AppImage if it's unsupported? It is frustrating. At least there should be a big bold "provided 'as-is' — please do not report bugs" under the green button so users have the correct expectation going in. It is a reasonable warning to make which I've seen in plenty of open source projects.

@NoahDar
Copy link

NoahDar commented Jun 6, 2024

I've been using AppImage for years and works fine for what I use it for except I too can't click on URL to send the link to my browser such as Chrome or FireFox. So I've made it as a habit just copy and paste the URL into my browser. It's not a huge deal but it's one of those quirks in the world of Linux. I know the main issue is the Qt library which is broken. Previous version of the Qt library worked without issues till the last update.

Another alternative is compile from source which I've done numerous times before. Like I said it's not a deal breaker for me long as other function work such as sending username and password to the browser via the plugin.

@vphantom
Copy link

vphantom commented Jun 6, 2024

Good point @NoahDar I too tend to stick to AppImage despite the bugs because of the overall simplicity of the approach (an executable to drop in ~/bin/ in my outdated system). It does bug me that things stopped working along the way though, and I can't really downgrade because of the other upsides to staying current (such as the upcoming hyperlinks in notes).

Perhaps a short list of known bugs for the AppImage might be more appropriate than a blanket "as-is" disclaimer.

That said I'd still be curious to see if a static build (true, not glibc) could be devised to replace the AppImage. I know Qt 5 can play nice with musl libc (there's Alpine builds) so, maybe?

@michaelk83
Copy link

I think this particular bug is actually fixable. A step in the right direction was taken with #10624 by switching to xdg-open, but as people have reported, it's an unfinished fix.

I've pointed earlier at AppImage/AppImageKit#124 (comment) . I don't really know much about AppImages, nor how KeePassXC's AppImage is set up. But my impression is that the change suggested there needs to be done when building the AppImage. This should then allow xdg-open to work as intended. @phoerious

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment