Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.49k stars 170 forks source link

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

Open Stefanoko opened 1 year ago

Stefanoko commented 1 year ago

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.

Alexey-T commented 1 year ago

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.

Stefanoko commented 1 year ago

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 commented 1 year ago

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.

WebMechanic commented 1 year ago

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.

Alexey-T commented 1 year ago

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

dinkumoil commented 1 year ago

@Alexey-T

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

Alexey-T commented 1 year ago

@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:

WebMechanic commented 1 year ago

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

Alexey-T commented 1 year ago

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

@veksha

veksha commented 1 year ago
  • 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.

Alexey-T commented 1 year ago

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

veksha commented 1 year ago

@Alexey-T works! nice.

WebMechanic commented 1 year ago

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 😁

Alexey-T commented 1 year ago

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