Now that computers have more than 4MB of memory, can we get seconds on taskbar?
devblogs.microsoft.com
devblogs.microsoft.com
See, this is why Windows users can't have nice things.
Every last "terminal" would be displaying identically the same seconds pixels, but Microsoft would render them a hundred times over.
They also don't blink their cursor for the same dumb reason (rather than because blinking the cursor is itself dumb).
So, it only needs to be rendered once, and then blitted in. Or, you can pre-render ten digits, and blit them up as needed.
Playing Windows Engineer's advocate for a moment:
Yes, you could potentially render out the pixels in some shared buffer, and make that buffer available to every session, or perhaps copy it 100x.
That's data crossing security boundaries, so could perhaps be a vector for compromising a session.
Then there's the consideration for people with different font sizes for UI - say someone who needs large fonts or high contrast modes.
Don't forget different Region settings. Not everyone's dates and times are formatted the same.
Also different taskbar configurations - maybe they've got the taskbar snapped left/right, or have the taskbar height set differently.
You've rendered this pixel buffer, but Session N's UI thread has locked up because Bob is using this application written by a work-experience kid 10 years ago, and it uses the UI thread to do CPU intensive or IO work. So, while it's waiting for a response from a server on the other end of a congested ISDN line on another continent, it blocks everything on the UI from updating.
So now the central time rendering session might have to wait, causing everyone's time to stop updating, at best, or at worst, completely lock up.
Most of these things have solutions, I guess - but I'd say the MS engineers decided "Yeah, nah" on that.
In any case, they could each render the ten digits, or even 61 digit pairs, ahead of time, and blit them into place as needed.
But what keeps Windows users from having nice things is that they all, without exception, depend on the whims of those MS engineers (not to say hacks) who get to decide, "Yeah, nah" on their behalf.
I would probably not display seconds anyway even if I had a choice, but this explanation seems strange.
Windows already has mechanism for streamlining the visuals when the desktop runs through RDP and updating one small rectangle on the real screen once every second costs basically no resources at all, especially considering the typical Windows use case where everything runs through multiple layers of virtualizations while the virusscanner is wasting as many resources as it can get away with.
The power savings available in very low latency sleep states has improved a great deal in CPUs (even desktop and server ones since power saving ~= performance with DVFS and turbo modes). Such that 60s should be well beyond the knee of the curve. A few seconds possibly gets you the vast majority of saving (I'm less sure about PCI/GPU implications).
That said if it's an aspirational goal that's great. But I'm very surprised that windows would not have a lot of periodic activity at intervals below 60s. Even when you're talking about an unrealistic system that has no network connection or activity.
https://www.groovypost.com/howto/make-the-windows-10-clock-d...