TrianguloY / UrlChecker

Android app by TrianguloY: URLCheck
Other
878 stars 52 forks source link

Change order of browsers in Open With module #347

Open greaterthanstar opened 5 months ago

greaterthanstar commented 5 months ago

Describe a related problem (optional)

frustrated that I have to select my preferred browser every time from the list.

Describe your suggested feature

love this app! just one request... Could you allow us to change the order of the browsers in the Open With list so we could have our preferred browser on top? I like Firefox and have it as my default browser, but Chrome is always first in the list.

Alternatively, add an option that says like "put last used browser pick on top" which would mean when you select a certain browser from the list, it becomes the top (default) pick.

Describe alternatives you've considered for your suggested feature

No response

Other details

No response

Acknowledgements

TrianguloY commented 5 months ago

It already does. Do you have by any chance the option 'Sort differently domains independently' enabled from the open&share module settings? If you do, disabling it should fix your problem. If you don't...then that's a strange bug.

You can find a bit more info about the sorting here, but it should work like you request: first time the order will be just what the device returns first, probably chrome, but afterwards the order will be based on your last chosen app.

ihatemakinganaccount commented 5 months ago

@TrianguloY I came here to see if anybody else has reported the same thing. Actually had the same issue. I had the feature you mention disabled. So I enabled it and then re-disabled it. And now it seems to remember the browser.

TrianguloY commented 5 months ago

Enabling/then/disabling solved the issue? That's really strange, it should not really matter...I'll try to investigate. Thanks for the info! (and a 'fix' for other users!)

ihatemakinganaccount commented 5 months ago

@TrianguloY kinda. I realise now that the selection is stuck on one browser again. But now it's my preferred one now so I don't mind :)

So I guess after enable/disable it just remembers one change? Or just for a while. Didn't test it further since I like how it is now and I don't want to break it.

Btw I have 6 browsers + URLC + other apps that can react to specific links (like image extensions) so maybe it's just the amount of options that confuses the app. Again, the workaround works ok for me, please don't break it :))

TrianguloY commented 5 months ago

Oh, I'll try not to, although I would like to know why it does that...

The current logic for the ordering is described more or less here if you are curious.

TheItsNameless commented 4 months ago

Hello!

I got the same problem, the app always picks chrome for opening links, even though Firefox is already listed on top. I tried disabling the above-mentioned option, but it still does not work. Neither did resetting the app...

It's really frustrating because I need chrome for some usages but want default links to always open with firefox...

EDIT: I now realised that the algorithm has to be "trained" by selecting the app not just once but multiple times to make it preferred. I think this is a bit confusing, there may be a need to clarify this somewhere in the app settings.