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

Delete formats in CopyQ Item Content window #74

Closed
scottkosty opened this issue Jul 8, 2013 · 5 comments
Closed

Delete formats in CopyQ Item Content window #74

scottkosty opened this issue Jul 8, 2013 · 5 comments
Labels
feature New feature request
Milestone

Comments

@scottkosty
Copy link
Collaborator

When pasting in applications, how the paste works often depends on what MIME types are available on the clipboard. Sometimes I would like to delete a MIME type in order to encourage another one to be taken. This recently came up here, for example (not necessary to read, I just wanted to provide a real use case):
http://comments.gmane.org/gmane.editors.lyx.devel/147539

In the CopyQ Item Content window, I would personally find it useful to be able to click on a format and press the delete button, or right-click and select delete.

I'm not convinced this would be useful to many people though. If that is your feeling too, then please close this issue.

@hluk
Copy link
Owner

hluk commented Jul 9, 2013

Sounds good.

I'd also modify command remove [ROWS...] so you can use it to remove data from clipboard or items as remove text/html 0 1 2 to remove HTML from first three items or remove text/html text/plain to remove both HTML and plaint text from clipboard.

Looking at the LyX issue I can say that I have similar problems with Chromium web browser. Why the hell would I want to copy HTML using "copy image"? Such images won't be even displayed in CopyQ.

@scottkosty
Copy link
Collaborator Author

Good ideas. I would find this useful.

@scottkosty
Copy link
Collaborator Author

And I agree about the HTML thing. I find that strange. I think this is a good example of some programs trying to do too much. Or it's yet another example of me not understanding things.

@hluk
Copy link
Owner

hluk commented Feb 6, 2014

Fixed: e55fef7

I've just added "Delete" action to "Show Clipboard Content" (Ctrl+Shift+C) and "Show Content..." (F4) dialogs to remove MIME from clipboard and from items.

I didn't modify the remove command -- I'm not so sure about the usefulness of removing formats in that way. It would be nicer if user can modify items through script like item1 = item(1); item.remove("text/html"); item.add("application/x-copyq-item-notes", "Random note"). But that would be some bigger task.

@hluk hluk closed this as completed Feb 6, 2014
@scottkosty
Copy link
Collaborator Author

Sounds good. Thanks Lukáš.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants