-
-
Notifications
You must be signed in to change notification settings - Fork 198
Drag and Drop from ksnip to other applications #377
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
Comments
We support already drag and drop into ksnip, this would probably complete the drag and drop logic. I'll plan that for the next major release. |
Great! Looking forward to it |
Just added you as a sponsored via "imidigitaldev", this issue would be super interesting for my colleagues and me :) |
@amenk thanks, much appreciated :) I have planned this feature for the next minor release. Currently I'm finishing up some bugs for the |
I've been thinking about this one today and we might have a usability problem or at least I don't know how shutter resolved it. The image is show in the annotator and in the annotator there is always a tool select, either the Select or some Annotation tool. Left click and move with the Select tool draws a region for selecting items below it and with any other annotation tool we draw the tool. So how should we detect a drag? |
In shutter it's a two step procedure to edit a screenshot, that's why in the viewing step you can drag. Maybe dragging could work from the screenshot name tab or a specific icon or area for dragging could be added there? |
Yes, everywhere except the annotation area should not be a problem but what I'm afraid is that probably everyone is going to drag from the annotation area and only few would know that you can drag from the tab for example. But yes, might be a starting point. |
The tabs are already dragable (for reordering), so it would be easy to find out if they are also drag'n'drop-able to another application. But somehow this can work only if autosave is on I guess? Or does it make sense save just before dropping into another application? I believe this could be surprising for users. Of course there could be a warning message when dragging-out and it's not yet saved. Maybe with the option to turn autosave one from there. It would also be okay with me to hit save and then use the drag'n'drop. I usually use sequential naming "testing-step-##", so I might not always want to switch on auto save. |
It doesn't have to be saved, it's basically the same as copying the image, we create a QImage from the current annotator content and copy it to the QDrag, which is basically a glorified clipboard https://doc.qt.io/qt-5/dnd.html#dragging But that's maybe a problem with drag&drop of the tab, maybe the Tab, that are a Qt component capture the drag event for them and don't hand it over to us. We'll when we get to the implementation. |
In shutter we drag'n'drop the files to our issue tracker's upload field, so that would be more like a file drag I guess |
You sure that your issue tracker doesn't support pasting an image from clipboard directly without the image being saved? I use it very often, Github supports it, Jira, Confluence, Outlook, MS Teams and so on. I can't remember any case where it didn't work. I usually never save images that I take with ksnip, I just take them, annotate and then copy and paste it somewhere and close ksnip. |
We use Easyredmine... It does support It somehow, but not as well as GitHub. Also it would be nice to benefit of the sequential naming features of ksnip in this case, i.e..filenames would get lost with the copy-paste approach. It's all not a must, but that is our current workflow with shutter. Maybe we find a better one with ksnip. |
Monosnap has a dedicated button for drag & drop on the far right side. Maybe adding similar button next to |
Is it a button or a region? Yet another option could be using different mouse buttons, like mouse right click or middle click or combination of buttons (left + right). |
It's a button, only downside to having it on the right side was that you could not click on it when it's full screen π Thank you for taking this feature into consideration! Most of the time copy is enough, but sometimes drag & drop is really useful. I think that button close to the zoom would work nicely. Add a Or maybe it's possible to add small drag & drop icon in the tab maybe? For example on the left side of the file name. |
In the tab might be again confusing because you can drag the tab too. It's not an easy task to find the right solution. We have some time to think more about this feature, I will probably not work on it before I finish |
I think I will soon start working on this feature and currently my thinking about this feature is following:
For me doable solutions are:
I personally favor currently solution 1. because it can quickly be implemented. Solution 3. might be nice too but it is probably going to be a PITA to make it work with different screen scaling settings. What you guys think @amenk @MegaV0lt @ljubadr ? |
I prefer, but 1. maybe left + modifier (shift) ? left + right might be a bit hard to reach and not all mice have middle buttons |
Good point, left click plus modifier might work just nice. Need to check what is free. |
|
This is now implemented with |
Works well - thank you :-) |
This ended up implementing another function too: duplicate screenshots Just drag the image to another tab and you're done. |
Tested 1.9.0 drag&drop update on Ubuntu 20.04 and it works well. Thanks @DamirPorobic π |
Just wanted to say thanks for this feature π |
@aseques you're welcome :) @fabianski7 you were able to do it before too, with |
When taking screenshot it apears in the ksnipwindow and also gets saved on disk when enabled in config.
A missing feature is that it is not possible to use mouse to drag and drop the current screenshot to browser or messenger. this feature woud be nich and i miss it because i com from shutter that is now unsuprtet by my disrto.
Please add "Drag&Drop" from ksnip window to others.
The text was updated successfully, but these errors were encountered: