-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a Sharing Portal #49
Comments
Just writing my thought: |
I believe the best place to discuss this is in flatpak/xdg-desktop-portal#12, an cross-desktop portal means that applications won't need to check if it's running inside elementary to use it.
@tintou, you say the Vala/C API or D-Bus API? For the DBus API, what i had in mind was something like the OpenURI Portal:
and a new method in the AppChooser portal:
then applications would implement an
the actions would be activated via the For the Vala/C API, we cloud implement it in an helper object: [DBus (name = "io.elementary.Share")]
public sealed class Granite.Share : Object {
public uint register_action (string action_name, string mime, string title, Icon? icon);
public void unregister_action (uint id);
} and/or undeprecate the [DBus (name = "io.elementary.Share")]
public class Granite.Application : Gtk.Application {
public void export_action (string action_name, string mime, string title, Icon? icon);
public void unexport_action (string action_name);
} batch register/export and unregister/unexport methods could be provided if needed. |
Just wanted to note in addition to the design discussion on the Granite ActionSheet issue that this is a pretty convenient and smart feature that would be nice. Generating a QR code for any URL passed into the sharing portal: https://mastodon.social/@sil/111353440431438250 |
Problem
This was discussed over email with @marbetschar.
I'm explaining this using an example. Lets say someone is reading an article on some app, say Communique and wants to save that article as a reminder in elementary Tasks. Currently, there is no way for Communique to save a reminder to Tasks. The user will have to manually open Tasks and create the task themselves and save it to a project.
Other apps can also benefit from this functionality.
Proposal
Implement some sort of Sharing Portal which is capable of receiving different types of information and forwarding that to the respective responsible apps.
Prior Art (Optional)
macOS
iOS
The text was updated successfully, but these errors were encountered: