TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why did Windows 7 log on slower for months if you had a solid color background?

507 点作者 zdw16 天前

27 条评论

vlowrian15 天前
As someone who prefers a solid color background, I’m always surprised by how often this simple preference leads me into bizarre rabbit holes.<p>Some additional examples beyond the OP:<p>- In the latest macOS, trying to set a custom solid color background just gives you a blinding white screen (see: <a href="https:&#x2F;&#x2F;discussions.apple.com&#x2F;thread&#x2F;256029958?sortBy=rank" rel="nofollow">https:&#x2F;&#x2F;discussions.apple.com&#x2F;thread&#x2F;256029958?sortBy=rank</a>).<p>- GNOME removed all UI controls for setting solid color backgrounds, but still technically supports it if you manually set a bunch of config keys — which seem to randomly change between versions (see: <a href="https:&#x2F;&#x2F;www.tc3.dev&#x2F;posts&#x2F;2021-09-04-gnome-3-solid-color-background&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.tc3.dev&#x2F;posts&#x2F;2021-09-04-gnome-3-solid-color-bac...</a>).<p>The pattern here seems pretty clear: a half-baked feature kept alive for niche users, rather than either properly supporting or cleanly deprecating it. Personally, I’d love to simply set an RGB value without needing to generate a custom image. But given the state of things, I’d rather have one solid, well-maintained wallpaper system than flaky background color logic that’s barely hanging on.
评论 #43831164 未加载
评论 #43830881 未加载
评论 #43830888 未加载
评论 #43834592 未加载
评论 #43832259 未加载
评论 #43832371 未加载
评论 #43836210 未加载
评论 #43833287 未加载
评论 #43835876 未加载
评论 #43836854 未加载
评论 #43835692 未加载
评论 #43837889 未加载
评论 #43835468 未加载
评论 #43829285 未加载
评论 #43829312 未加载
necovek16 天前
It&#x27;s funny to see this: after avoiding the Windows world for the last 25 years, back in the corporate world in the last few, I see this pattern with Microsoft tools all the time.<p>Teams not loading due to security issues, but notifications coming through with full content of messages. Ability to type a handful of words in cloud version of Word (or paste full documents) before security check catches up and requires me to set up a sensitivity label. Etc.<p>It mostly tells me about MS doing very bad software architecture for web apps, though apparently the desktop apps are not immune to it either.
评论 #43828710 未加载
评论 #43830161 未加载
评论 #43829707 未加载
analog3116 天前
This relates to something that might have started around that time: The practice of displaying the splash screen for a finite time period, then showing the user environment <i>before the software was fully started</i>. It was suspected that both OS&#x27;s and apps were doing this, because people notice when &quot;the app takes too long to load.&quot;<p>Now you have to guess whether the software has really loaded or not before you start using it.
评论 #43828508 未加载
评论 #43828900 未加载
评论 #43828869 未加载
评论 #43828493 未加载
90s_dev16 天前
&gt; Also, I tend to stick with default configurations because it makes bug filing easier.<p>I&#x27;ve learned to use default configurations pretty much everywhere. It&#x27;s far too much of a hassle to maintain customizations, so it&#x27;s easiest to just not care. The exception is my ~50 lines of VS Code settings I have sync&#x27;d in a mysterious file somewhere that I&#x27;ve never seen, presumably on github&#x27;s servers, but not anywhere I can see?
评论 #43828424 未加载
评论 #43828360 未加载
评论 #43828491 未加载
评论 #43829023 未加载
评论 #43828226 未加载
评论 #43828510 未加载
sightofcorbie16 天前
“Comfort food”. That’s so funny. I still use motif window manager with steelblue4 desktop and wheat xterm background since aix into Linux. That was my first default in 1989 college and nothing has improved since. (Gnome, kde and the like make me want to upchuck).
评论 #43828765 未加载
评论 #43828192 未加载
评论 #43829772 未加载
评论 #43828185 未加载
评论 #43828260 未加载
1vuio0pswjnm715 天前
Many, many years ago, when I still used Windows recreationally, I used to edit the value of a specific Windows registry key, replacing &quot;explorer.exe&quot; with &quot;cmd.exe&quot;. This would prevent Windows from runningg explorer.exe and launching the &quot;desktop&quot; with wallpaper, icons, etc. This produced what seemed more like a UNIX window manager, a solid backgground, where each window is a Microsoft cmd.exe shell, a classic Windows black box with a blue bar across the top and thin grey borders. I could then launch applications, such as the ones in the C:\windows\system32 folder from a command prompt, e.g., taskmgr.exe. For me, this made Windows feel much faster and more robust that when using explorer.exe. Certainly it was lighter weight.<p>More recently, long after I stopped using Windows but still many years ago, I was reading an article about Arthur Whitney. It had a photo which seemd to be at home, maybe in a furnished garage, and in the background was a desktop computer running Windows. The only window open was a cmd.exe. I am not suggesting anything. It is just something I always remember.<p>Perusing some recent Microsoft documentation I noticed this:<p><a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;configuration&#x2F;shell-launcher&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;configuration&#x2F;shel...</a>
评论 #43833913 未加载
josephg15 天前
To me, this falls in the category of bugs I think of as &quot;systemic bugs&quot; or &quot;type bugs&quot;. If login components were passed a token, then you could make the token&#x27;s destructor automatically flag that the process is done. Then this bug would be more-or-less impossible to write.<p>Because they made it a runtime thing - &quot;components just have to remember to do this&quot;, the code structure itself affords this bug.<p>There was a similar bug at facebook years ago where the user&#x27;s notification count would say you had notifications - and you click it, and there aren&#x27;t any notifications. The count was updated by a different code path than the code which inserted notifications in the list, and they got out of sync. They changed the code so both the notification count &amp; list were managed by the same part of the system, and the all instances of the bug went away forever.
评论 #43829980 未加载
pdpi16 天前
A bit meta, but I&#x27;ve come to look forward to the &quot;Why did &lt;bizarre behaviour&gt; happen with &lt;windows version&gt;&quot; headlines that herald a Raymond Chen post. These are always fascinating.
评论 #43830809 未加载
alex-mohr16 天前
The code in question reminds me a lot of my favorite Kubernetes bug:<p><pre><code> if (request.authenticationData) { ok := validate(etc); if (!ok) { return authenticationFailure; } } </code></pre> Turns out the same meme spans decades.
评论 #43830103 未加载
评论 #43829171 未加载
评论 #43829197 未加载
est15 天前
Offtopic I really liked the auto-refreshing &quot;Windows Spotlight&quot; wallpaper on logon screen. I even wrote a script to sync it as my desktop wallpaper.<p>But on my Win10 it stopped working idk why, so I wrote a script to download Bing Image of the Day instead: <a href="https:&#x2F;&#x2F;blog.est.im&#x2F;2025&#x2F;stdout-03" rel="nofollow">https:&#x2F;&#x2F;blog.est.im&#x2F;2025&#x2F;stdout-03</a>
评论 #43829887 未加载
评论 #43829740 未加载
评论 #43830203 未加载
phkahler15 天前
This is the kind of problem that <i>can</i> be prevented by using &quot;better&quot; coding patterns. Not to say it <i>will</i> be prevented, but that some ways people like to structure code are more prone to these kinds of bugs. I quoted the word &quot;better&quot; because I work with a competent but less experienced guy that tends to write more complex code, or what some claim is just a different <i>style</i> than I would prefer. I make claims that &quot;this way is better&quot; and it&#x27;s often very difficult to articulate <i>why</i> it&#x27;s better. Sometimes I am convincing, other times not... I&#x27;m not immune to these kinds of bugs either, but I shudder to think I might one day inherit this other guys code and a collection of these weird bugs.
评论 #43832581 未加载
shriracha16 天前
Great read. Raymond Chen&#x27;s blog is absolutely legendary.
评论 #43830820 未加载
bluedino15 天前
Machines were often so slow back then, 30 second logins were &#x27;normal&#x27; (or maybe even quick), especially once you load a bunch of crap like AV and other enterprise crap.<p>If I had dollar for every minute of my life I spent troubleshooting random group policy quirks during my previous life as a sysadmin...<p>&gt; Personally, I use a solid color background. It was the default in Windows 95,¹ and I’ve stuck with that bluish-green background color ever since.<p>My thoughts exactly, but I think it goes back to the Mac LC&#x27;s we used in a school computer lab, and the palette of colors you could have with 16-bit graphics was so vast compared to the 16 <i>color</i> PC&#x27;s I was used to.<p>Plus, you always have so much stuff open you&#x27;re never going to see your wallpaper anyway. That&#x27;s what screensaver are (were) for that rotate through a folder full of images.
评论 #43833937 未加载
elzbardico15 天前
When I think about it, if I hadn&#x27;t lived this time, I would find it pretty hard to believe we had full-featured desktop environments in machines with paltry 8MB of memory and 50Mhz CPUs, and not only that, but we even indulged in the luxury of having bitmaps as wallpapers.
Nition16 天前
I&#x27;ve noticed a current problem in Win 11 where if you start your PC with the monitor off, let it get to the login screen, then turn the monitor on, you get a terribly low-res version of your login window background. I suspect it&#x27;s taking some fallback default resolution like 800x600 and serving up an &quot;optimised&quot; version of the background for that res, then not updating it.
herbst15 天前
I&#x27;ve spent a few hours reading and installing random software I never heard of before to get my windows machine into the basic state of &quot;I can boot it without getting heavily triggered&quot;<p>- Half of each boot time was wasted for a copilot 360 dialog. On every fucking boot, no copilot no office installed. Or rather copilot installed itself without notice and started to spam me<p>- In several places the OS would show me &quot;news&quot; like death messages, war updates and economy details. Definitely far from a productive environment and honestly heavily triggering, I don&#x27;t read news anywhere but my PC is full of it and there is no option to disable? What about kids?<p>- I have updates or a broken system about every second time I boot the PC. I know it&#x27;s because I just cut the power, but I hate when it asks 3 times if I want to actually shut down (and then still breaks it, or never actually shuts down)<p>- I constantly end up in a variety of login screens that want me to login to an Microsoft account I don&#x27;t have and want<p>- There are soooo many ads. I&#x27;ve been on Linux for years, instead of traditional TV I almost always stream with ad blocker. The country I live in isn&#x27;t plastered with Ads either. But this shithole of operating system is. It literally pops up ad notification above apps on default.<p>If anyone wonders most problems where solved with &quot;ShutUp10&quot; others with chatGpt and regedit. It was actually pretty hard when you have no idea about this OS and it&#x27;s dark patterns.<p>On my Linux machines I don&#x27;t even change the wallpaper, but windows defaults are unbearable and upright productivity killers
评论 #43834282 未加载
评论 #43831678 未加载
djoldman15 天前
This is the kind of thing that leads technical folks like me to do absurd things, like creating a 1x1 pixel jpg&#x2F;png of the color they want just to be put into the normal-and-thus-tested-and-maintained parts of code.
matejn15 天前
On my Windows 10 work machine, solid color backgrounds sometimes get reset to black after connecting to it via RDP. I &quot;fixed&quot; it by creating a solid color .png and using it as a background picture ...
评论 #43829828 未加载
vlovich12315 天前
This is a structural problem in the code. The passed in handle to `DesktopIconsReady` should auto Report as soon as it&#x27;s dropped. That completely obviates any of the problems of conditional logic.
zombot15 天前
If-Then Considered Harmful.<p>Seeing how that complicated if-then logic is just too stiff a challenge to your average developer, we should probably just dispense with it.
jacobgorm15 天前
Or why your software should never use arbitrary timeouts. Without the 30s timeout this bug would have been caught and fixed before release.
评论 #43830595 未加载
评论 #43830932 未加载
danadam15 天前
I use a picture with a solid color because with pictures the text under the icons is white with a black shadow. The &quot;Solid color&quot; option (instead of &quot;Picture&quot;) chooses either white or black font color and there is no shadow and I don&#x27;t like it.
jayd1615 天前
Load curtains can be pretty annoying if you handle them like this.<p>One pattern I&#x27;ve had success with is using handles they need to be returned. If you never grab a handle you don&#x27;t have to worry about returning it. Seems to work better than the fire and wait for side effects approach.
emmelaich15 天前
I really love the last paragraph. I tell this to people fiddling with their system all the time.<p>Typical response is &quot;Well it should just work anyway!&quot;. Which is theoretically true -- the worst kind of true.
redbell15 天前
As a software developer, I’ve occasionally felt ashamed when it takes me hours—or even days—to fix a stubborn bug. But whenever I see that even big tech companies struggle with similar issues, I regain confidence in myself. After all, this is what being a software engineer often looks like: wrestling with unpredictable behavior until something finally clicks.<p>Just yesterday, I ran into a bizarre bug on Windows where the mouse cursor would move every time I pressed the arrow keys—almost like I was controlling the mouse with the keyboard. It drove me nuts. I checked all the usual mouse and keyboard settings, but everything looked normal. At one point, I even wondered if my machine had been infected by a <i>virus</i>.<p>Desperate, I Googled <i>&quot;mouse pointer moving on arrow keys&quot;</i>. The first result had only one answer, which blamed... Microsoft Paint. I was skeptical—<i>Paint</i>? Really? That couldn’t possibly be it. Still, with no other leads, I gave it a shot. As it turned out, I did have Paint open in another Desktop View, where I’d been cropping a screenshot. The moment I closed it, the problem vanished. Instantly.<p>I still can’t believe that was the cause—and I’m a little embarrassed to admit it, even though no one was around to see it.<p>_____________________<p>1. <a href="https:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;1467313&#x2F;mouse-pointer-moving-on-arrow-keys-pressed-in-windows" rel="nofollow">https:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;1467313&#x2F;mouse-pointer-moving...</a>
评论 #43830337 未加载
nubinetwork15 天前
I could swear that this also affected Windows 10...
geocar15 天前
You guys see your desktop background?