CudaText icon indicating copy to clipboard operation
CudaText copied to clipboard

Dragging clipboard-text from clipboard-manager (or another app) into CudaText not possible

Open Stefanoko opened this issue 1 year ago • 14 comments

Something I noticed (not a problem, just an observation): I cannot drag stuff into Cuda, like say, URLs from a browser's address field, or clipboard-text from my clipboard-manager (CopyQ).

Tried it on both, Win7 and Win11.

Stefanoko avatar Mar 14 '23 10:03 Stefanoko

AFAIR, drag-drop (in Cud) is supported only for files from file-managers. I don't know how to handle other kinds of drop-data.

Alexey-T avatar Mar 14 '23 10:03 Alexey-T

Yes, I noticed. No problem when dragging whole files. Dragging from a browser's address bar, well — it's mainly a convenience. I tend to forget that it does not work like elsewhere, and so I go back for a copy&paste.

The clipboard manager is a different story. It were nice to Ctrl-select multiple entries and just drag them over. But like I said, not really a problem, I can use workarounds.

Stefanoko avatar Mar 14 '23 10:03 Stefanoko

Actually, it has nothing to do with CopyQ or browser address bars. Those are just examples. It is not possible to drag text from ANYWHERE except Cuda's own floating tabs. Example: Try dragging text from one editor into the next, say, from Akelpad to Sublime or Notepad. It's basic drag&drop functionality of Windows, it has nothing to do with CopyQ. So I think the new title may be misleading, it points into the wrong direction.

Stefanoko avatar Mar 15 '23 03:03 Stefanoko

I'd also love to see this be fixed (Win10/Win11).

When writing documentations I often need to drag text selections from the browser - or just links - into text files. I have to resort to Notepad to collect this data then copy paste it into Cuda.

Also dragging a text selection from one editor tab to another inside Cudo should be possible, too. That's certainly not a Windows only thing then.

thanks.

WebMechanic avatar May 07 '23 13:05 WebMechanic

Hello @dinkumoil . Do you have skills and time to implement this feature request, please?

Alexey-T avatar May 07 '23 14:05 Alexey-T

@Alexey-T

Sorry, I'm not able to implement this feature.

dinkumoil avatar May 08 '23 10:05 dinkumoil

@WebMechanic

Also dragging a text selection from one editor tab to another inside Cudo should be possible, too.

Drag-drop support between ui-tabs (when grouping-mode is used) is already here. From the WIki:

Drag-drop of selected text block:

  • Dragging inside single document: if Ctrl is pressed during the drop (you should press Ctrl after dragging is started), block will be copied (not moved) to the pointed position.
  • Dragging to a different document (see #Groups of tabs): if Ctrl is pressed during the drop, block will be moved (otherwise it will be copied).

Alexey-T avatar May 08 '23 11:05 Alexey-T

Drag-drop support between ui-tabs (when grouping-mode is used) is already here.

aha. Well. I don't use this grouping mode in Cuda 'cos I don't like the UX of it. I occasionally use split tabs. Other editors close empty tab/editor groups automatically if there's no editor left, which I prefer. In Cuda I have to explicitly close them.

I was hoping to just drag the text up to the other Tab label and it'll switch + activate that Tab like in other apps. I wouldn't mid to hold down a modifier key while dragging.

Thanks

WebMechanic avatar May 08 '23 11:05 WebMechanic

  • add: now it's possible to drag&drop text block from one ui-tab to another, without using 2+ groups: drag the block through the ui-tabs area

windows x64 + linux beta: http://uvviewsoft.com/c/

@veksha

Alexey-T avatar May 08 '23 13:05 Alexey-T

  • add: now it's possible to drag&drop text block from one ui-tab to another, without using 2+ groups: drag the block through the ui-tabs area

works for me, but i see no target mark when dropping text to another tab.

veksha avatar May 08 '23 19:05 veksha

@veksha Seems I added it now (in src only)

Alexey-T avatar May 08 '23 20:05 Alexey-T

@Alexey-T works! nice.

veksha avatar May 08 '23 20:05 veksha

also works for me. 👍🏻👏🏻

@Alexey-T I know you work fast, but please be more patient with feedback requests. There are different timezones and some ppl don't live in front of their computers and have working hours 😁

WebMechanic avatar May 09 '23 06:05 WebMechanic

no problem, you can test my betas when you have a free time for that.

Alexey-T avatar May 09 '23 09:05 Alexey-T