TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Is there a maximum size for Windows clipboard data?

269 pointsby kencauseyalmost 3 years ago

16 comments

bombcaralmost 3 years ago
&gt; over 300,000 rows<p>Any process you ever enable in code will be pushed to limits you never dreamed possible. This is exactly where discoverability can come into play - someone starts by copying 50 rows and using that to get their job done, and may never realize there are other ways (CSV export, etc).<p>If code can &quot;recognize&quot; when something like this is being done and provide documentation on other ways, it can help people learn new methods.
评论 #31668237 未加载
评论 #31668659 未加载
评论 #31675095 未加载
评论 #31671694 未加载
评论 #31669050 未加载
评论 #31673359 未加载
评论 #31668727 未加载
评论 #31675376 未加载
sprremixalmost 3 years ago
&gt; This is known as clipboard delay-rendering<p>Aha, so that&#x27;s why Word[1] just explicitly asked me if I want to save the current copied image before quitting. It&#x27;s probably asking before loading something big into memory?.<p>[1] <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;sNfE3Be.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;sNfE3Be.png</a>
评论 #31677337 未加载
评论 #31676181 未加载
adenverdalmost 3 years ago
Side note&#x2F;feel good moment: the author Raymond Chen is an OG beyond-super-engineer at Microsoft, and is an incredible person to work with. He assisted me with my intern project many years ago, and was amazingly eager to share his wealth of experience with a green-eared intern from outside his org.<p>Thanks Raymond! I decided to go the startup route instead of returning to MSFT, but you were an inspiration all the same.
评论 #31678188 未加载
dragontameralmost 3 years ago
The Windows Clipboard, for all of its problems, remains one of the easiest program-to-program communication methods to use in modern GUIs.<p>I can take a screenshot of my Firefox with &quot;PrtScn&quot; button (moving a bitmap of the page into the Clipboard), paste it into Microsoft Paint, edit it a bit, and then copy&#x2F;paste that into my Discord chat screen for commentary.<p>--------<p>Yes, Linux &#x2F; *Nix users have pipes and great text processing tools. Yes, Powershell has interesting objects that can be passed round. But practically speaking? Most of my &quot;inter-process communications&quot; is over this silly &quot;Clipboard&quot; Windows has, and it works way better than it probably should.
评论 #31669148 未加载
评论 #31672171 未加载
评论 #31669225 未加载
评论 #31669360 未加载
评论 #31671211 未加载
评论 #31669677 未加载
评论 #31669727 未加载
评论 #31669416 未加载
评论 #31675721 未加载
评论 #31670766 未加载
评论 #31671847 未加载
评论 #31677015 未加载
评论 #31672160 未加载
评论 #31670160 未加载
评论 #31670127 未加载
评论 #31670604 未加载
评论 #31671364 未加载
theandrewbaileyalmost 3 years ago
The Old New Thing is such a treasure of insights into how Windows works (or used to work).
评论 #31669354 未加载
评论 #31668611 未加载
评论 #31671818 未加载
EFruitalmost 3 years ago
Raymond&#x27;s blog always hits a note of morbid fascination. At times it almost feels like schadenfreude. &quot;Neat, but thank God I didn&#x27;t have to be the one that wrote&#x2F;discovered that.&quot;
asciimovalmost 3 years ago
The Old New Thing and Dave&#x27;s Garage (on youtube) have helped me develop an appreciation for the decisions made in Windows development, kinda wish we had this kind of stuff from the Mac and Linux side of things.
Kiptersalmost 3 years ago
I must admit, just by reading the title and the domain on HN&#x27;s homepage I was dead sure it was a Raymond Chen post
ErikAugustalmost 3 years ago
Wouldn’t it be nice if it threw an error, and didn’t just return NULL?
评论 #31670072 未加载
评论 #31677094 未加载
评论 #31669145 未加载
jeffwaskalmost 3 years ago
The world is run by one giant excel spreadsheet
评论 #31670007 未加载
评论 #31674020 未加载
SquareWheelalmost 3 years ago
Follow up post: &quot;How can I wait more than 30 seconds for a delay-rendered clipboard format to become rendered?&quot;<p><a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;oldnewthing&#x2F;20220609-00&#x2F;?p=106731" rel="nofollow">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;oldnewthing&#x2F;20220609-00&#x2F;?p=10...</a>
867-5309almost 3 years ago
I find the size always seems to run run parallel with my patience at that given moment
capablewebalmost 3 years ago
&gt; Next time, we’ll see what we can do to extend this timeout.<p>That, somehow, seems like the wrong conclusion. Why not try to solve the problem of Excel taking longer than 30 seconds to export a RTF table?
评论 #31668266 未加载
评论 #31668409 未加载
评论 #31677468 未加载
nice_bytealmost 3 years ago
I&#x27;m actually quite surprised that it takes <i>over 30 seconds</i> to go through only 300000 items and generate some text with them. Unless the story is from ancient times, that is.
评论 #31673580 未加载
评论 #31673452 未加载
评论 #31674072 未加载
dataflowalmost 3 years ago
&gt; Next time, we’ll see what we can do to extend this timeout.<p>I guess I&#x27;m impatient... how does one go about this?
评论 #31669153 未加载
评论 #31672457 未加载
jayd16almost 3 years ago
tl;dr: Yes, but its measured in seconds.<p>wild.