glance icon indicating copy to clipboard operation
glance copied to clipboard

Text selection

Open samuelmeuli opened this issue 4 years ago • 4 comments

Users might want to select and copy text in Quick Look previews.

Requested on Reddit.

samuelmeuli avatar May 18 '20 12:05 samuelmeuli

This isn't possible in macOS's default previews. It used to be possible to enable it, though. Would've been nice if Glance could've read that setting to determine its behavior.

samuelmeuli avatar May 18 '20 12:05 samuelmeuli

Yes, lack of the ability to copy text is one of the most annoying default previews restriction. I hope Glance will be able to copy text to the clipboard.

VKondakoff avatar May 18 '20 12:05 VKondakoff

Until now, Glance's behavior was that text can be selected, but not copied. Pressing ⌘ + C copies the file name instead of the selection. I haven't yet figured out how to allow copying text inside Quick Look and have my doubts that it's even possible.

To avoid confusion, I've disabled text selection for now (c274bae). If anyone with experience in macOS development knows if copying can be enabled, I'd be happy to hear their thoughts :)

samuelmeuli avatar May 22 '20 14:05 samuelmeuli

I don't think interaction with the quicklook content is intended behavior, as it really should just be a quick-look. Not a quick-edit. Nevertheless, awesome plugin, really enjoying my productivity boost!

mrousavy avatar Oct 16 '20 09:10 mrousavy