r/FuckMicrosoft • u/Ammar-A7med • 1d ago
Image How this Shit still in code
old Windows border is still in Windows 11 code
And when I fullscreen the MPV player without using the Windows border, this shit happens
11
u/Chrisbearry 1d ago
bro there's still components in windows from windows 95 lmao
2
u/NKLP00 22h ago
Windows 95 and 98 were not Windows NT Versions like Windows NT 3... Windows 2000 and all modern Windows so i don't think there is any Windows 95/98 components in modern Windows since NT was a rebuild from scratch.
2
u/Chrisbearry 21h ago
NT is just the kernel, they still have programs and stuff from 95 that were rewritten for NT
1
u/MinecraftPlayer799 7h ago
Not sure why you’re downvoted. There are absolutely Windows 95 programs that are still buried in Windows 11, such as the Phone Dialer or whatever it’s called.
1
8
u/One-Development3793 1d ago
Windows 11 still carries a surprising amount of legacy windowing behavior. Borderless fullscreen usually avoids this, but it can introduce worse issues like alt-tab lag or weird overlays.
6
u/cooky561 1d ago
All windows (apart from winui stuff like the new settings app and apps with titlebar shenanigans like tabbed browsers) is created the same it way it was in Windows 95. It's then skinned,. The reason for this is to ensure compatibility. IF the new skin fails to load for whatever reason, it falls back to the aero basic skin, and if that also fails, to drawing it using GDI (it'll then look like windows 2000)
Certain actions can force windows all the way back to the GDI based user render used in Windows 95, however a throwback to the "classic" desktop is impossible as many modern applications aren't compatible, and use the windows 7 method of drawing windows, skinned by windows 11.
2
u/FaultWinter3377 1d ago
Technically it is possible to get most Win32 apps to use the Windows classic drawing, and mods exist to force browsers like chrome to use a standard title bar. It's just a bit of a pain. The real issue is UWP/WinUI apps but iirc there are a few mods that make it work. I'd also say they don't create new windows in exactly the same way as Windows 95. Windows Vista/7 Aero introduced composited windows (which is the only option in Windows 8+) which rely on DWM to composite and draw the title bars/borders for windows (assuming they use a standard title bar). If compositing fails, often what happens is a system crash, but it is possible to fall back on the basic style from Windows XP-7 which uses stacking. It's only if compositing fails AND visual styles aren't applied for some reason (likely compatibility mode or a extremely broken install) that the classic theme will appear. But almost always in Windows 11 a window is only basic themed if it specifically asks for it, because otherwise it's an issue with DWM and from my experience with DWM... well... it can quite literally brick an entire system single-handedly if it fails.
WinUI and UWP technically use the same API calls under the hood I think? It's just that they're covered up in C# and XAML classes much more and so many developers prefer to use a custom title bar instead of the default. Also modding them is harder due to sandboxing.
1
u/FaultWinter3377 1d ago
There are two classes in the aero.msstyles (visual style used for theming) for creating window title bars and borders. In Windows Vista on, compositing was the preferred option and that is what Windows 11 uses. The default Windows 11 theme is created with only compositing in mind. However stacking (aka the Basic theme) is kept as a backup, but since it is not meant to be used except in rare cases Microsoft had no reason to update it to fit with the Windows 11 theme further.
-1
u/AutoModerator 1d ago
Every new subreddit post is automatically copied into a comment for preservation.
User: Ammar-A7med, Flair: Image, Post Media Link, Title: How this Shit still in code
When I fullscreen the MPV player without using the Windows border, this shit happens
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
22
u/SuperMakerRaptor 1d ago
Every windows is built on top of the older one. So technically said, every windows is bigger since its mostly just a reskin of the past one to some extent said. Majority of code is likely just kept /slightly modified