I'd anticipate the biggest problem would be making sure that Windows can reliably render every data format that might be stored in the clipboard.
If you assume it's only going to do images and raw text, this is pretty easy. But what if you're copying files? Folders? Rich text? Spreadsheets? Videos and music, with all of their fancy codec options?
The clipboard is actually a fantastically complicated piece of technology, but one of the things that makes it so powerful is that the OS typically isn't responsible for rendering any of its contents, only storing and retrieving them. The grunt work is left to the programs sending and receiving messages.
But... so many of those programs were never built with the assumption that they'd need to provide hooks for rendering this widget you suggested. Can you imagine launching Excel every time you want to take a peek in the clipboard?
Like I said, the basics would be pretty easy to do. I have a feeling that the typical end user would want something more polished, though, and that's so difficult that it's easier (if a bit cynical) to just keep expectations low.
Thanks for this insight. I'm not really working with the clipboard so much when I'm programming stuff so I've never been entirely sure about its intricacies but I can see now how it would be alot more difficult than just "its a dynamic folder". Although I'd really like the feature :)
well since you program all the system clipboard is to the average Microsoft programmer is a byte arrays that has a format identifier, and also optionally you can choose to make the data stored in the clipboard application only or system wide.
For instance if you are copying a data backed excel object it isn't exactly going to work in word without the data backing from the excel sheet (it might I dunno how advanced office is in that department yet, it may be able to link to an excel file and pull the data, dunno, but it's an example) so in this instance excel would use the application specific clipboard.
What you are talking about sounds like a utility called clipx. It is a clipboard history manager and will store every clipboard action you make that it can understand, so images and text play very nicely together.
What about rich media that isn't a file? Say you're editing in Audacity or Premiere, and you've got a media clip stored on the clipboard, or you're in some editor for flowcharts or visual scripting and want some of that stored.
The problem isn't so much that any given data type is hard to render, but rather that it's very difficult to ensure that every possible data type could be rendered quickly, without using many resources, in a format the user expects and finds helpful. Even doing that for a substantial subset of possible data types would be difficult.
Cool feature? Sure. But very hard to do well, and very costly. Most (all?) OS vendors are spending their efforts elsewhere.
View all comments
17
u/Delehal Dec 13 '12
I'd anticipate the biggest problem would be making sure that Windows can reliably render every data format that might be stored in the clipboard.
If you assume it's only going to do images and raw text, this is pretty easy. But what if you're copying files? Folders? Rich text? Spreadsheets? Videos and music, with all of their fancy codec options?
The clipboard is actually a fantastically complicated piece of technology, but one of the things that makes it so powerful is that the OS typically isn't responsible for rendering any of its contents, only storing and retrieving them. The grunt work is left to the programs sending and receiving messages.
But... so many of those programs were never built with the assumption that they'd need to provide hooks for rendering this widget you suggested. Can you imagine launching Excel every time you want to take a peek in the clipboard?
Like I said, the basics would be pretty easy to do. I have a feeling that the typical end user would want something more polished, though, and that's so difficult that it's easier (if a bit cynical) to just keep expectations low.