cassidyjames / ephemeral

A private-by-default, always-incognito browser for elementary OS
https://cassidyjames.com
GNU General Public License v3.0
154 stars 22 forks source link

Open from clipboard #277

Closed meisenzahl closed 3 years ago

meisenzahl commented 3 years ago

Sometimes I copy a link to the clipboard because it is not recognized as a link in the application. This pull request adds the action to open a link from the clipboard.

https://user-images.githubusercontent.com/10796736/110685942-18e0ae00-81df-11eb-909d-74e5c25310c0.mp4

cassidyjames commented 3 years ago

Thanks!

cassidyjames commented 3 years ago

@meisenzahl I had to revert this for now as it seemed to break opening links at all, and I didn't review it closely enough to understand why. :sweat_smile: I am still open to this feature, but I have to test it more thoroughly.

meisenzahl commented 3 years ago

I'm really sorry for breaking the previous behavior.

Note that this flag only affects the default implementation of local_command_line, and has no effect if g_application_handles_command_line is given.

https://valadoc.org/gio-2.0/GLib.ApplicationFlags.HANDLES_OPEN.html

I will try to fix this.