leon icon indicating copy to clipboard operation
leon copied to clipboard

Adding "default browser" inside Leon for quick "open" action

Open serrq opened this issue 2 years ago • 7 comments

It needs of "exit browser" default setting. Because after I click the "open" button Leon must pass the cleaned URL to default browser.

serrq avatar Jun 04 '23 12:06 serrq

Hello @serrq,

I don't quite understand your feature request. If you have multiple browser installed, when clicking the "open" button there should be a share dialog where you can select the desired browser. Usually you can select between "open once" or "open always" (making this browser the default). This is the standard behaviour of Android and does not have anything to do with Leon. On more modern Android OS versions there is a dedicated system setting for the default browser which Leon will stick to. Again, this is just the standard behaviour when sending an Intent to the system.

svenjacobs avatar Jun 04 '23 17:06 svenjacobs

As for the default from the OS for the system browser I chose Leon, so every time I click on a url Leon intervenes, and it places itself on "Do nothing" because I chose this action.

But when I click on "open" nothing happens despite I have three browsers installed.

Is it a bug or is it what you expect your app to do?

serrq avatar Jun 04 '23 17:06 serrq

Is it a bug or is it what you expect your app to do?

Interesting. This is a bug. I will have a look into it.

svenjacobs avatar Jun 04 '23 18:06 svenjacobs

Android 13 OnePlus CPH2399 Leon 28 (fdroid)

serrq avatar Jun 04 '23 18:06 serrq

I think it’s a logical problem.

Let’s try to reason together: when the operating system asks me which browser I want it to be by default I choose Leon, but Leon never asked me which browser I want to match to the "open" button, so at most Leon can only call itself, because it is the default system browser (in my case).

Do you understand the problem where is it? Leon calls itself, instead it should ask me which browser I should use on the outgoing.

serrq avatar Jun 04 '23 18:06 serrq

Yes, I understand the problem. I just need to think about a solution 😉

svenjacobs avatar Jun 04 '23 18:06 svenjacobs

Being able to set Leon as the default browser would be super convenient. Leon would immediately sanitize the URL and transfer the intent to the actual browser (chosen by the user).

devnoname120 avatar Oct 10 '23 09:10 devnoname120