code icon indicating copy to clipboard operation
code copied to clipboard

[AppImage] Most buttons related to the web browser, file manager and copying don't work.

Open callyral opened this issue 1 year ago • 12 comments

Describe the bug

image Buttons that do not do anything have been circled.

image None of the buttons in this image work.

image The circled button doesn't open the file manager at the instance folder.

By "doesn't work" I mean that I'm able to click the button but nothing happens.

Steps to reproduce

For the first image:

  1. Go to a modpack page, I used Cobblemon as an example.
  2. Left-click the "Site" button: it doesn't work.
  3. Right-click either button and a context menu pops up.
  4. The "Open in Modrinth" context menu button doesn't work.

For the second image:

  1. Go to an installed instance with mods.
  2. Left-click the folder icon in the mod list, it doesn't work.
  3. None of the context menu options do anything.

For the third image:

  1. Go to any installed instance.
  2. Click the folder button ("Open instance folder").
  3. It doesn't open the instance folder.

Expected behavior

For the buttons do as described in the interface, such as opening the web browser at the mod's page, or copying a file path.

Additional context

I am on Artix Linux on KDE Plasma Wayland. I am using the AppImage.

Unlike the Modrinth App, other programs (including AppImages) are able to open the web browser, file manager or copy to the clipboard and the xdg-open command works on my system.

I'm also sorry if I didn't describe the issue very well, I'm not used to bug reporting and English is not my first language.

callyral avatar Aug 06 '23 14:08 callyral

I also had the same issue described in #479 which seems to be related

callyral avatar Aug 06 '23 14:08 callyral

Same for me on Xubuntu (Xfce) 23.04 with the AppImage.

terzag avatar Aug 07 '23 21:08 terzag

Can reproduce: Manjaro 23.0.0 (KDE) with AppImage

Awakened-Redstone avatar Aug 08 '23 16:08 Awakened-Redstone

Adding onto this, it appears to be an issue with the AppImage.

I'm on Artix (Arch-based) so I had to extract the .deb file (ar x modrinth_file.deb), upon acquiring the binary (modrinth-app) and running it, all those worked.

The instance folders opened correctly and so did the web browser when necessary, the file picker (when selecting 'from file' in instance creation) also looked normal, unlike in the AppImage (#480)

callyral avatar Aug 08 '23 18:08 callyral

Happens for me on Windows 11 as well

mxruben avatar Aug 13 '23 02:08 mxruben

also doesn't work for OAuth options on the login page, and the button next to the text for microsoft.com/link (popup with code shows, button for opening link doesn't work). Ubuntu 23.04

Boxersteavee avatar Aug 19 '23 13:08 Boxersteavee

Fot those interested in the actual issue: kde-open5: symbol lookup error: /usr/lib/libproxy/libpxbackend-1.0.so: undefined symbol: g_strv_builder_unref

My system is: Manjaro x86_64 KDE 5 App version: v0.6.3

That's what is printed onto the console on my system. If you run the AppImage file on the console, you will be able to see this error after pressing the "Open Folder" Button for your Minecraft instance.

This error indicates a version mismatch between my own installed libpxbackend-1.0.so

It may be useful to include this library in the Appimage @thesuzerain

EDIT: I checked the actual library symbols and was surprised:

nm -gD /usr/lib/libproxy/libpxbackend-1.0.so

U g_strv_builder_add U g_strv_builder_end U g_strv_builder_new U g_strv_builder_unref U g_strv_length

It's there, but it seems like the actual shared library loader is unable to find it

FairyTail2000 avatar Jan 06 '24 10:01 FairyTail2000

The app also crashes when clicking on add from file in the mods list of a pack image

CeruleanDerpo avatar Feb 11 '24 11:02 CeruleanDerpo

Fix?

Schweeeeeeeeeeeeeeee avatar Mar 27 '24 19:03 Schweeeeeeeeeeeeeeee

os: Linux 
distro: Arch Linux x86_64 
kernel: 6.8.2-arch2-1 
de: Plasma 6.0.3 
wm: KWin 
cpu: AMD Ryzen 5 5600X (12) @ 3.700GHz 
gpu: NVIDIA GeForce RTX 4080 
memory: 21342MiB / 32016MiB 

I just want to add that apparently linking isn't working from within the game when launched from the app.

Some examples I tested were by clicking the chat link that comes up upon taking a screenshot, the Open Pack Folder button in the resource pack screen and also clicking Open in Browser button on the Give Feedback screen.

Clicking Copy to clipboard on this last mentioned screen does seem to work.

Bernasss12 avatar Apr 06 '24 16:04 Bernasss12

distro: Fedora39
Kernel: 6.8.7-200.fc39.x86_64 
CPU: 12th Gen Intel i3-12100F (8) @ 4.300GHz 
DE: Plasma 5.27.11
WM: KWin
Filemanager: dolphin

theseus v0.7.1 everything clickable that opens another app is not working image clicking on "share" in logs makes everything white and get stuck,has to be killed via system Monitor

Yixuan2020 avatar Apr 29 '24 21:04 Yixuan2020

For others on Arch, I was able to get the links to work by using a round-about solution. I used debtap on the .deb, and installed using pacman. It seems that installing this way makes everything work as intended.

EDIT: Turns out there's AUR packages now, no need to extract the deb.

Mentalgen avatar May 11 '24 09:05 Mentalgen

It's probably an upstream issue https://github.com/tauri-apps/tauri/issues/10617

Norbiros avatar Aug 22 '24 09:08 Norbiros