Junction icon indicating copy to clipboard operation
Junction copied to clipboard

Just Updated - Some browsers are not showing

Open jasiralavi opened this issue 6 months ago • 32 comments

Hi - I've been a long time user and enjoyed the app. I just upgraded to Ubuntu 25.10 (Gnome 49) and updated the Junction app as well (flatpak). But now only a few browsers are showing.

Image

Below browsers are not showing: Firefox (snap) Floorp (flatpak) Opera (flatpak) Zen (flatpak)

Also the option to open with other app is missing

jasiralavi avatar Oct 31 '25 02:10 jasiralavi

same

mittwerk avatar Oct 31 '25 03:10 mittwerk

How are the browsers that are shown installed? @jasiralavi

For what it's worth, I'm running version 1.10 of the Junction Flatpak installed from the Flathub remote. Currently, Junction is missing all icons, including the "Open with another application" option. All of the web browsers on my system are installed as Flatpaks.

awtj8o81ryywg793 avatar Oct 31 '25 03:10 awtj8o81ryywg793

The ones that are showing are all from repos (DEBs) - Chrome, Vivaldi, Edge and Web (epiphany).

I tried reinstalling Junction, still the same. Firefox is snap and other 3 that I mentioned are all flatpak. So basically snap and flatpaks are not showing.

I'm using Ubuntu 25.10, Gnome 49, Wayland. Junction was installed via flathub

jasiralavi avatar Oct 31 '25 10:10 jasiralavi

Also the option to open with other app is missing

That was removed for now


I'm investigating the missing browsers (which I'm not experiencing)

Please share your operating systems and the desktop files location of the missing apps

sonnyp avatar Oct 31 '25 10:10 sonnyp

Debian 12, but this happen in differ distos, @sonnyp

it sees local distro browsers, but it doesn't see snap and flatpak browsers I suspect.

That was removed for now

btw, why?

mittwerk avatar Oct 31 '25 11:10 mittwerk

I found an issue. Testing on a Ubuntu VM to make sure everything is ok before release.

sonnyp avatar Oct 31 '25 13:10 sonnyp

I have a similar issue on my system, updating to 1.10 broke it for me.

What I know is that I had Chrome and Firefox Flatpak in the system install (because I consider them important to all users) and Junction Flatpak as user install (because I need to access it via distrobox).

This does somewhat break my workflow as I can't set a system flatpak as as url handler via distrobox (it doesn't see it) and I used Junction to workaround it.

MateusRodCosta avatar Oct 31 '25 13:10 MateusRodCosta

Would be helpful if people could try

flatpak install --user https://dl.flathub.org/build-repo/223778/re.sonny.Junction.flatpakref
flatpak kill re.sonny.Junction
flatpak run re.sonny.Junction//test

and report back

sonnyp avatar Oct 31 '25 13:10 sonnyp

Would be helpful if people could try

flatpak install --user https://dl.flathub.org/build-repo/223778/re.sonny.Junction.flatpakref
flatpak kill re.sonny.Junction
flatpak run re.sonny.Junction//test

and report back

Tried that and the demo didn't show my browsers:

$ flatpak run re.sonny.Junction//test
re.sonny.Junction-Message: 10:27:11.637: {
    "XDG_DATA_HOME": "/var/home/mateusrc/.var/app/re.sonny.Junction/data",
    "XDG_DATA_DIRS": "/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share:/run/host/usr/share:/var/lib/snapd/desktop:/var/lib/flatpak/exports/share:/var/home/mateusrc/.local/share/flatpak/exports/share",
    "HOST_XDG_DATA_HOME": null,
    "HOST_XDG_DATA_DIRS": null
}
Set re.sonny.Junction.desktop as the default for x-scheme-handler/https
Set re.sonny.Junction.desktop as the default for x-scheme-handler/http
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:981: FINISHME: support more multi-planar formats with DRM modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:949: FINISHME: support YUV colorspace with DRM format modifiers

(re.sonny.Junction:2): re.sonny.Junction-WARNING **: 10:27:15.220: Could not load DesktopAppInfo from /var/home/mateusrc/.local/share/flatpak/exports/share/applications/com.jeffser.Alpaca.SearchProvider.desktop

(re.sonny.Junction:2): re.sonny.Junction-WARNING **: 10:27:15.236: Could not load DesktopAppInfo from /run/host/usr/share/applications/qemu.desktop

(re.sonny.Junction:2): Gtk-CRITICAL **: 10:27:15.244: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed

MateusRodCosta avatar Oct 31 '25 13:10 MateusRodCosta

My results are similar to @MateusRodCosta (above). I'm on Kubuntu 24.04. In Junction, I see Vivaldi and MS Edge and Google Chrome, but am missing Firefox and LibreWolf. I installed Firefox from a snap and LibreWolf from a flatpak.

cliff1976 avatar Oct 31 '25 14:10 cliff1976

I'm having the same issue, I'm on fedora 42 only brave is showing up for me. Seems like the browsers/apps missing are all flatpaks

gavyncaldwell avatar Oct 31 '25 16:10 gavyncaldwell

@sonnyp Are you by chance getting the exported browsers from exported flatpak paths correctly?

It should be /var/lib/flatpak/exports/share/applications/ (flatpak --system) and ~/.local/share/flatpak/exports/share/applications/ (flatpak --user)

MateusRodCosta avatar Oct 31 '25 16:10 MateusRodCosta

Opera, Brave and Chrome Browser is not shown here... FireFox, Chromium and Edge are ok... Fedora 42

djbase78 avatar Oct 31 '25 18:10 djbase78

**The problem continues.

The 2nd update of the v. 1.10, no work.**

Does any other application replace it?

Depuration info:

Junction: version 1.10 programInvocationName /app/bin/re.sonny.Junction argv --gapplication-service cwd /home/j datadir /app/share

Powered by: GJS 1.86.0 libadwaita 1.8.1 GTK 4.20.2 GLib 2.86.0 flatpak 1.14.6

Environment: OS Linux Mint 22.2 (Zara) $XDG_DATA_DIRS /app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share:/run/host/usr/share:/var/lib/snapd/desktop:/var/lib/flatpak/exports/share:/home/j/.local/share/flatpak/exports/share $PATH /app/bin:/usr/bin $FLATPAK_ID re.sonny.Junction $XDG_CURRENT_DESKTOP X-Cinnamon $XDG_SESSION_TYPE x11

Image Image

Despro03 avatar Oct 31 '25 19:10 Despro03

Quoted from an previous comment by @sonnyp:

Please share your operating systems and the desktop files location of the missing apps

I'm running Fedora Silverblue 43, and the .desktop files for the missing browsers are located in ~/.local/share/flatpak/exports/share/applications/. Of course, these files are simply links to the actual locations of the .desktop files. For example, ~/.local/share/flatpak/exports/share/applications/org.mozilla.firefox.desktop points to ~/.local/share/flatpak/app/org.mozilla.firefox/current/active/export/share/applications/org.mozilla.firefox.desktop.

After updating Junction, I can now see Firefox, which is installed as a Flatpak, but none of the other browsers that are also installed as Flatpaks are showing.

awtj8o81ryywg793 avatar Nov 01 '25 00:11 awtj8o81ryywg793

Im having same issues running GNOME 48 / Vanilla OS 2. All my browsers are flatpaks minus 1 which none are showing... see shot:

Image

salverde avatar Nov 01 '25 18:11 salverde

any updates?

salverde avatar Nov 01 '25 23:11 salverde

@salverde your error is hidden by the screenshot. Please share the full stack trace of "key file does not start with a group"

EDIT: nevermind I found it

sonnyp avatar Nov 01 '25 23:11 sonnyp

Quoted from a previous comment by @sonnyp:

Would be helpful if people could try

flatpak install --user https://dl.flathub.org/build-repo/223778/re.sonny.Junction.flatpakref
flatpak kill re.sonny.Junction
flatpak run re.sonny.Junction//test

and report back

Here's the results:

re.sonny.Junction-Message: 23:52:53.684: {
    "XDG_DATA_HOME": "/var/home/<user>/.var/app/re.sonny.Junction/data",
    "XDG_DATA_DIRS": "/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share:/run/host/usr/share:/var/lib/snapd/desktop:/var/lib/flatpak/exports/share:/var/home/<user>/.local/share/flatpak/exports/share",
    "HOST_XDG_DATA_HOME": "/var/home/<user>/.local/share",
    "HOST_XDG_DATA_DIRS": null
}
Set re.sonny.Junction.desktop as the default for x-scheme-handler/http
Set re.sonny.Junction.desktop as the default for x-scheme-handler/https
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:981: FINISHME: support more multi-planar formats with DRM modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:949: FINISHME: support YUV colorspace with DRM format modifiers

(re.sonny.Junction:2): re.sonny.Junction-WARNING **: 23:53:01.656: Could not load DesktopAppInfo from /run/host/usr/share/applications/qemu.desktop

(re.sonny.Junction:2): Gtk-CRITICAL **: 23:53:01.664: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed

As stated in a previous comment, Junction currently only shows Firefox, which was installed as a Flatpak, but doesn't show any of the other browsers installed as Flatpaks.

awtj8o81ryywg793 avatar Nov 02 '25 00:11 awtj8o81ryywg793

@awtj8o81ryywg793

but doesn't show any of the other browsers installed as Flatpaks.

Where are the desktop files and where do they point to?

sonnyp avatar Nov 02 '25 00:11 sonnyp

Quoted from a previous comment by @sonnyp:

@awtj8o81ryywg793

but doesn't show any of the other browsers installed as Flatpaks.

Where are the desktop files and where to they point to?

Upon further investigation, I've come to realise that the browsers not being displayed were installed as a system Flatpak, rather than a user Flatpak.

Here's a list of the .desktop files for the browsers that aren't displaying:

  • /var/lib/flatpak/exports/share/applications/org.gnome.Epiphany.desktop, which points to /var/lib/flatpak/app/org.gnome.Epiphany/current/active/export/share/applications/org.gnome.Epiphany.desktop
  • /var/lib/flatpak/exports/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop, which points to /var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/current/active/export/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop

awtj8o81ryywg793 avatar Nov 02 '25 00:11 awtj8o81ryywg793

Upon further investigation, I've come to realise that the browsers not being displayed were installed as a system Flatpak, rather than a user Flatpak.

well what changed between the latest update and previous builds? Bc this used to work just fine the way we all installed flatpaks! I mean did something change with flatpak or with junction or ...?

any solution or patch? cc/ @sonnyp

salverde avatar Nov 03 '25 07:11 salverde

Having this issue as well, and because all my browsers are installed system wide with Flatpak (via the GNOME Software app), I have no browsers left in Junktion at all (besides GNOME Web) …

(And yes, this was working perfectly fine in the past.)

alexbarton avatar Nov 03 '25 10:11 alexbarton

I think junction is looking for the .desktop files under /var/lib/flatpak/exports/share/applications but they are just links pointing to .desktop files elsewhere

For now Finding the .desktop files and copying them to ~/.local/share/applications has things going for me.

e.g. Opera (flatpak) the .desktop file com.opera.Opera.desktop was under /var/lib/flatpak/app/com.opera.Opera/current/active/export/share/applications Copied that to ~/.local/share/applications and it shows in junction

Similarly, for Firefox (snap) I copied firefox_firefox.desktop file from /var/lib/snapd/desktop/applications to ~/.local/share/applications

jasiralavi avatar Nov 03 '25 12:11 jasiralavi

Hi folks!

If you want to revert to an older version while you wait, you can use: flatpak update --commit=9b56ffc1f3d1420c3cb4b3de1cf092b9db944e7f9e7fba75b290e31d9cd1246b re.sonny.Junction which is the latest revision that works nicely for me. I'm on x86_64, btw; if you use a different architecture you might need a different hash, which you can use flatpak remote-info --log flathub re.sonny.Junction to determine.

Thanks again @sonnyp for making this really helpful (and beautiful) utility.

matthewwardrop avatar Nov 03 '25 22:11 matthewwardrop

Hi folks!

If you want to revert to an older version while you wait, you can use: flatpak update --commit=9b56ffc1f3d1420c3cb4b3de1cf092b9db944e7f9e7fba75b290e31d9cd1246b re.sonny.Junction which is the latest revision that works nicely for me. I'm on x86_64, btw; if you use a different architecture you might need a different hash, which you can use flatpak remote-info --log flathub re.sonny.Junction to determine.

This is a solution, even if it is provisional Thanks!!!

Please, to se images:

Image Image Image Image

Despro03 avatar Nov 04 '25 11:11 Despro03

Just an extra tip, use flatpak mask to prevent it from being updated again while the issue is not fixed, either flatpak mask re.sonny.Junction or flatpak --user mask re.sonny.Junction

MateusRodCosta avatar Nov 04 '25 15:11 MateusRodCosta

I can confirm that downgrading via sudo flatpak update --commit=9b56ffc1f3d1420c3cb4b3de1cf092b9db944e7f9e7fba75b290e31d9cd1246b re.sonny.Junction and sudo flatpak mask re.sonny.Junction successfully restored the rest of my browsers!

slackerbob avatar Nov 08 '25 13:11 slackerbob

Also can cofirm that downgrade solved my issue. On my system all applications are flatpaks so latest junction just shows no options and is unusable. Thanks for the great app, hoping for a quick fix!

moljac024 avatar Nov 21 '25 09:11 moljac024

Hello! I'd like to help test this issue. Is there any proposal version available? While I have no programming experience, I am eager to help with testing.

danielbmeireles avatar Nov 26 '25 08:11 danielbmeireles