Skip to content
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

feature: Show the icon of an app where the entity comes from #11

Closed
marcinjahn opened this issue Aug 27, 2022 · 4 comments
Closed

feature: Show the icon of an app where the entity comes from #11

marcinjahn opened this issue Aug 27, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@marcinjahn
Copy link

It would be nice to see a small icon of an app where a given copied item comes from. It would help to distinguish the items on the list a bit.

Feature inspired by https://onmyway133.com/pastepal/.

@marcinjahn
Copy link
Author

I'm not sure if that's even possible, do the copied items have an information about the source where they come from?

@rmnscnce
Copy link

In reply to @marcinjahn:

do the copied items have an information about the source where they come from

No, but it's straightforward to implement using the Shell API by querying the active window information when the copy request was done and then appending it into the ClipboardContent object. Sure, it will slow down the process but it should be negligible (it's probably how PastePal does it on macOS as well -- same concept with a different implementation detail).

@oae
Copy link
Owner

oae commented Aug 29, 2022

Thank you for the suggestion. I will look into it.

@oae oae added the enhancement New feature or request label Sep 3, 2022
@oae
Copy link
Owner

oae commented Sep 12, 2022

As I checked, gnome-shell clipboard API doesn't expose the owner of the clipboard. Only relying on the focused window can be inconsistent. So I will not be implementing this feature.

@oae oae closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants