REPRODUCIBILITY (% or how often): every time
BUILD ID = OS VERSION (Settings > About product): 4.2.0.19
HARDWARE (XA2, X10, X10 II, …): XA2
UI LANGUAGE: Swedish
REGRESSION: (compared to previous public release: Yes, No, ?): did not happen with 4.1.0.24
DESCRIPTION:
When opening a link from email app or Discourser, the SFOS directs the link to Fernschreiber (Telegram app). And when Fernschreiber opens as active app, there is no turning back. I cannot close the Fernschreiber, I cannot swipe it away from either side, I cannot access app drawer from down below. Only thing to escape the “Fernschreiber-loop” is to shutdown the whole telephone.
PRECONDITIONS:
Factory reset XA2 updated to 4.2.0.19, clean install, no patches whatsoever.
STEPS TO REPRODUCE:
Open email app and click to open a link in an email or open a link from Jolla forums in Discourser app.
EXPECTED RESULT:
Link opens in jolla browser or I get a selection window to choose an app to open with.
ACTUAL RESULT:
Fernschreiber opens but cannot handle the link of course.
ADDITIONAL INFORMATION:
(Please ALWAYS attach relevant data such as logs, screenshots, etc…)
I find it useful to order the items so that the entry open-url.desktop (which is the default browser) is listed first, and all the others after that.
This determines the order of items in the open-with selection dialog.
You can also just delete that file, which should bring back all the default associations.
Yep, I can confirm it too. I have two phones with sailfishos and both have the same issue since I’ve update to SailfishOS 4.2: open-url.desktop is missing from $HOME/.local/share/applications and for that reason open url with sailfish browser is not possible.
Thanks everybody for your replies! Now it’s Jolla’s turn to find out how to fix this
I noticed now that also clicking the “Foreca” text (in Events view) to open weather details, the link goes to Fernschreiber…and of course the same thing from the Jolla weather app…“more details” link.
thanks for letting me know, so I guess there’s nothing to do ATM… (other than copying/pasting links manually… specially painful when you get links in sms where you can only copy the whole message)
You can fix it if you copy open-url.desktop to /home/[nemo or defaultuser]/.local/share/applications and run next command from Terminal (you must enable ‘Developer mode’ from Settings->Developer Tools to install Terminal):
AFAIK that was intentional with the latest update (only having .desktop files in /usr/share/applications).
However, some cheeky apps that drop their own http handlers in .local will then bork the system even more than usual.
Not sure… I have steered clear of these apps for this very reason.
On closer inspection, it does seem like i did actually have open-url.desktop in the .local (but it was the only file there).
So i tried removing it, and doing update-desktop-database $HOME/.local/share/applications/
and devel-su update-desktop-database /usr/share/applications/
Opening http(s) links still works fine for me, even after a reboot.
/usr/share/applications/sailfish-browser.desktop declares that it handles the relevant MimeTypes.
I did some testing this week with the same conclusion: if open-url.desktop isn’t in .local, I can’t open url, devel-su update-desktop-database /usr/share/applications/ didn’t work for me.
Others apps have open.desktop files in .local too, like fernschreiber, webcat or microtube, maybe this is the reason why it doesn’t work for me.
the browser appeared again in the selection menu. Unfortunately it disappeared after a short time -without rebooting- along with the newly created open-url.desktop file…
I performed every step again and this time around also did