Jump to content

Windows 10 DEVELOPMENT


bigmuscle

Recommended Posts


That "Aero 7" theme by sagorpirbd seems a bit unpolished.  It has potential - I like that it gives controls visual style - but doesn't do nice things like return style to the Win 10 Taskbar, and has a few little style glitches/mistakes (squared corners of a few buttons that should be rounded, glyphs not centered in caption buttons, etc.).  I thought about trying to tweak the graphics in it a bit, but I've just gone back to standard Win 10 with my theme atlas replacement only.

 

A fully polished full theme replacement that "does it all" will no doubt appear.  People are already generating themes that are mostly working.  It's already clear that we can have a better looking / smoother working Win 10 UI than what Microsoft delivered.

 

Here's hoping Big Muscle can get FrameMargin working again.  :)

 

-Noel

The Taskbar and all other elemnts are XAML Based, there is no way to theme these elements without restoring the Win32 elements. No matter what you do with the msstyles and theme files, it will never change. You don't have to thank me.. thank Microsoft for the half assed UI.

 

By the way, the .layout file BM Provided with Win8rp atlas can be used with almost all old 8/8.1 theme atlas png textures to make them work with Win10 RTM/10240

http://www.msfn.org/board/topic/170233-aero-glass-themeatlas/

Edited by Mrox2
Link to comment
Share on other sites

 

 

There is definitely an issue with triple monitor setups.  Everything is just fine on screens 1 and 2, but everything displays artifacts on screen 3 in glass enabled areas when hovering over caption buttons etc...

If you need any debug info from me to diagnose the issue let me know.

 

 

Yeah, provide your debug.log. But I see it as difficult to catch because it seems that multiple monitors virtualization does not work in Win10 with VMWare. In Win8, I can simulate any number of monitors but it displays error message "Cannot save displays settings" in Win10.

 

 

Hm, I just tried making Win 10 full screen in VMware then choosing a view that puts it across all 3 monitors here, and it does work across the 3 monitors for me.  Kind of slow - really slow actually - in making the transition, but after 15 seconds or so the "device recognized" sound plays and all 3 monitors are controlled by Win 10.

 

I can reproduce the issue also I think...  If I hover my mouse over controls just below the title bar on my left monitor (Windows thinks that's monitor number 2 in my case) I can cause some minor visual glitches in the title bars.  To be honest they're so subtle I wouldn't have noticed them.  I don't seem to be able to make it happen on the central monitor or right monitor, just the left one.

 

AGGlitch.png

 

Here's the whole screen grab:

 

http://Noel.ProDigitalSoftware.com/ForumPosts/Win10/10240/ScreenGrab_08_04_2015_061706.png

 

The following log covers the time where I booted the VM into windowed mode at 1920 x 1200, then switched to full screen (2560 x 1600) then went to 3 monitor mode (4960 x 1600).  I don't seem to be able to log off/on in the VM and remain in 3 monitor mode (VMware limitation?), so I can't test a fresh startup at the final resolution.

 

[2015-08-04 05:39:22][0x544:0xAC8] Machine ID: ...

[2015-08-04 05:39:22][0x544:0xAC8] Checking key ... for ID ......

[2015-08-04 05:39:22][0x544:0xAC8] Hook (USER32.dll!DrawTextW from udwm.dll) installed

[2015-08-04 05:39:22][0x544:0xAC8] Hook (GDI32.dll!CreateBitmap from udwm.dll) installed

[2015-08-04 05:39:22][0x544:0xAC8] Hook (GDI32.dll!CreateRoundRectRgn from udwm.dll) installed

[2015-08-04 05:39:22][0x544:0xAC8] Aero Glass for Win8.1+ v1.3.2 DEBUG x64 correctly loaded (C:\AeroGlass\DWMGlass.dll).

[2015-08-04 05:39:22][0x544:0xAD0] DBGHELP: Symbol Search Path: .;SRV*C:\AeroGlass\symbols*http://msdl.microsoft.com/download/symbols

[2015-08-04 05:39:23][0x544:0xAD0] Loading settings (flags = 0x1) from HKEY 0x0000000000000000 for session #2

[2015-08-04 05:39:23][0x544:0xAD0] Settings reloaded

[2015-08-04 05:39:23][0x544:0xAD0] dwmcore.dll version 10.0.10240.16397

[2015-08-04 05:39:23][0x544:0xAD0] udwm.dll version 10.0.10240.16384

[2015-08-04 05:39:24][0x544:0xCA0] Allocating class CBlurEffect for D2D 0x0000000796156500

[2015-08-04 05:39:24][0x544:0xCA0] Allocating blur buffer 1920 x 1200 [pixelFormat: 87, 3] (D2D 0x0000000796156500)

[2015-08-04 05:39:24][0x544:0xCA0] Allocating class CReflection for D2D 0x0000000796156500

[2015-08-04 05:39:24][0x544:0xAD0] Symbols loaded from patterns: 0x7FF

[2015-08-04 05:39:24][0x544:0x360] Message 0x31A, wparam = 0, lparam = 0

[2015-08-04 05:39:24][0x544:0x360] Loading settings (flags = 0x4) from HKEY 0x0000000000000000 for session #2

[2015-08-04 05:39:24][0x544:0x360] Settings reloaded

[2015-08-04 05:39:24][0x544:0x360] Delayed hook (UxTheme.dll!GetThemeStream from udwm.dll) installed

[2015-08-04 05:39:24][0x544:0x360] Delayed hook (UxTheme.dll!GetThemeRect from udwm.dll) installed

[2015-08-04 05:39:24][0x544:0x360] Delayed hook (ext-ms-win-uxtheme-themes-l1-1-0.dll!GetThemeMargins from udwm.dll) installed

[2015-08-04 05:39:24][0x544:0x360] Hook (USER32.dll!SystemParametersInfoW from udwm.dll) installed

[2015-08-04 05:39:24][0x544:0x360] Hook (GDI32.dll!ExtCreateRegion from udwm.dll) installed

[2015-08-04 05:39:24][0x544:0x360] Atlas resource loading (custom: )

[2015-08-04 05:39:24][0x544:0x360] GetThemeStream 0,0,213

[2015-08-04 05:39:24][0x544:0x360] Message 0x320, wparam = 1157636154, lparam = 1

[2015-08-04 05:39:24][0x544:0xB3C] GetThemeStream 0,0,213

[2015-08-04 05:39:24][0x544:0x360] Loading settings (flags = 0x2) from HKEY 0x0000000000000000 for session #2

[2015-08-04 05:39:24][0x544:0xB3C] GetThemeStream 0,0,213

[2015-08-04 05:39:24][0x544:0xB3C] GetThemeStream 0,0,213

[2015-08-04 05:39:24][0x544:0x360] Settings reloaded

[2015-08-04 05:39:24][0x544:0x360] Message 0x320, wparam = 1157636154, lparam = 1

[2015-08-04 05:39:24][0x544:0x360] Loading settings (flags = 0x2) from HKEY 0x0000000000000000 for session #2

[2015-08-04 05:39:24][0x544:0x360] Settings reloaded

[2015-08-04 05:39:24][0x544:0x360] Message 0x15, wparam = 0, lparam = 0

[2015-08-04 05:39:24][0x544:0x360] Message 0x15, wparam = 0, lparam = 0

[2015-08-04 05:39:31][0x544:0x360] Message 0x1E, wparam = 0, lparam = 0

[2015-08-04 05:39:31][0x544:0x360] Message 0x2B1, wparam = 5, lparam = 2

[2015-08-04 05:39:31][0x544:0x360] Loading settings (flags = 0x1) from HKEY 0x0000000000000340 for session #2

[2015-08-04 05:39:31][0x544:0x360] Settings reloaded

[2015-08-04 05:39:31][0x544:0x360] Message 0x320, wparam = 553672191, lparam = 1

[2015-08-04 05:39:31][0x544:0x360] Loading settings (flags = 0x2) from HKEY 0x0000000000000340 for session #2

[2015-08-04 05:39:31][0x544:0x360] Settings reloaded

[2015-08-04 05:39:31][0x544:0x360] Message 0x31B, wparam = 0, lparam = 0

[2015-08-04 05:39:31][0x544:0x360] Message 0x31A, wparam = 3670018, lparam = 1

[2015-08-04 05:39:31][0x544:0x360] Loading settings (flags = 0x4) from HKEY 0x0000000000000340 for session #2

[2015-08-04 05:39:31][0x544:0x360] Settings reloaded

[2015-08-04 05:39:31][0x544:0x360] Atlas resource loading (custom: C:\AeroGlass\RoundedCornersBlueActive.png)

[2015-08-04 05:39:31][0x544:0x360] Failed to load custom atlas layout (0x2 - The system cannot find the file specified.), using system theme layout...

[2015-08-04 05:39:31][0x544:0x360] GetThemeStream 0,0,213

[2015-08-04 05:39:31][0x544:0xB3C] GetThemeStream 0,0,213

[2015-08-04 05:39:31][0x544:0x360] Message 0x31B, wparam = 3670018, lparam = 1

[2015-08-04 05:39:31][0x544:0xB3C] GetThemeStream 0,0,213

[2015-08-04 05:39:31][0x544:0x360] Message 0xC0AB, wparam = 4, lparam = 0

[2015-08-04 05:39:31][0x544:0xB3C] GetThemeStream 0,0,213

[2015-08-04 05:39:31][0x544:0x360] Message 0x15, wparam = 0, lparam = 0

[2015-08-04 05:39:31][0x544:0x360] Message 0x320, wparam = 553672191, lparam = 1

[2015-08-04 05:39:31][0x544:0x360] Loading settings (flags = 0x2) from HKEY 0x0000000000000340 for session #2

[2015-08-04 05:39:31][0x544:0x360] Settings reloaded

[2015-08-04 05:39:31][0x544:0x360] Message 0x15, wparam = 0, lparam = 0

[2015-08-04 05:39:31][0x544:0x360] Message 0x1A, wparam = 0, lparam = 32551860376

[2015-08-04 05:39:31][0x544:0x360] Message 0x1A, wparam = 0, lparam = 32551860376

[2015-08-04 05:39:32][0x544:0x360] Message 0x1A, wparam = 24, lparam = 32551860376

[2015-08-04 05:39:32][0x544:0x360] Message 0xC0E6, wparam = 0, lparam = 0

[2015-08-04 05:39:32][0x544:0x360] Message 0xC0AC, wparam = 0, lparam = 0

[2015-08-04 05:39:33][0x544:0xCA0] Allocating class CGlassSafetyZoneLayer for D2D 0x0000000796156500

[2015-08-04 05:39:33][0x544:0xCA0] Allocating glass safety zone 1920 x 18 (D2D 0x0000000796156500)

[2015-08-04 05:39:33][0x544:0xCA0] Allocating glass safety zone 18 x 1200 (D2D 0x0000000796156500)

[2015-08-04 05:39:33][0x544:0xCA0] Allocating glass safety zone 18 x 1200 (D2D 0x0000000796156500)

[2015-08-04 05:39:33][0x544:0xCA0] Allocating glass safety zone 1920 x 18 (D2D 0x0000000796156500)

[2015-08-04 05:39:46][0x544:0xCA0] Allocating blur buffer 683 x 41 [pixelFormat: 87, 1] (D2D 0x0000000796156500)

[2015-08-04 05:39:56][0x544:0xCA0] Allocating blur buffer 1694 x 485 [pixelFormat: 87, 1] (D2D 0x0000000796156500)

[2015-08-04 05:39:56][0x544:0x360] Message 0xC1D2, wparam = 0, lparam = 0

[2015-08-04 05:53:34][0x544:0x360] Message 0x7E, wparam = 32, lparam = 104860160

[2015-08-04 05:53:34][0x544:0x360] Message 0x46, wparam = 0, lparam = 32551860336

[2015-08-04 05:53:34][0x544:0x360] Message 0x83, wparam = 1, lparam = 32551860288

[2015-08-04 05:53:34][0x544:0x360] Message 0x47, wparam = 0, lparam = 32551860336

[2015-08-04 05:53:37][0x544:0x360] Message 0x3, wparam = 0, lparam = 2197848832

[2015-08-04 05:53:38][0x544:0x360] Message 0x1A, wparam = 24, lparam = 32551860376

[2015-08-04 05:53:39][0x544:0xCA0] Allocating glass safety zone 2560 x 18 (D2D 0x0000000796156500)

[2015-08-04 05:53:39][0x544:0xCA0] Allocating glass safety zone 18 x 1600 (D2D 0x0000000796156500)

[2015-08-04 05:53:39][0x544:0xCA0] Allocating glass safety zone 18 x 1600 (D2D 0x0000000796156500)

[2015-08-04 05:53:39][0x544:0xCA0] Allocating glass safety zone 2560 x 18 (D2D 0x0000000796156500)

[2015-08-04 05:53:52][0x544:0x360] Message 0x7E, wparam = 32, lparam = 104860160

[2015-08-04 05:53:52][0x544:0x360] Message 0x7E, wparam = 32, lparam = 104860160

[2015-08-04 05:53:52][0x544:0x360] Message 0x7E, wparam = 32, lparam = 104860160

[2015-08-04 05:53:56][0x544:0x360] Message 0x1A, wparam = 24, lparam = 32551860376

[2015-08-04 05:53:56][0x544:0x360] Message 0x219, wparam = 7, lparam = 0

[2015-08-04 05:54:00][0x544:0x360] Message 0x219, wparam = 7, lparam = 0

[2015-08-04 05:54:16][0x544:0xCA0] Allocating blur buffer 1694 x 996 [pixelFormat: 87, 1] (D2D 0x0000000796156500)

[2015-08-04 06:00:10][0x544:0xCA0] Allocating blur buffer 1694 x 1073 [pixelFormat: 87, 1] (D2D 0x0000000796156500)

[2015-08-04 06:03:01][0x544:0xCA0] Allocating blur buffer 1699 x 1073 [pixelFormat: 87, 1] (D2D 0x0000000796156500)

[2015-08-04 06:03:01][0x544:0x360] Message 0xC1D2, wparam = 0, lparam = 0

[2015-08-04 06:03:10][0x544:0x360] Message 0xC1D2, wparam = 0, lparam = 0

[2015-08-04 06:05:39][0x544:0x360] Message 0xC252, wparam = 269484032, lparam = 1

[2015-08-04 06:05:39][0x544:0x360] Message 0xC252, wparam = 269484032, lparam = 2

[2015-08-04 06:05:40][0x544:0x360] Message 0xC249, wparam = 0, lparam = 0

[2015-08-04 06:06:01][0x544:0x360] Message 0xC2A7, wparam = 2, lparam = 0

[2015-08-04 06:06:09][0x544:0x360] Message 0xC1D2, wparam = 0, lparam = 0

[2015-08-04 06:06:18][0x544:0x360] Message 0xC2A7, wparam = 2, lparam = 0

[2015-08-04 06:07:54][0x544:0x360] Message 0xC252, wparam = 269484032, lparam = 1

[2015-08-04 06:07:55][0x544:0x360] Message 0xC252, wparam = 269484032, lparam = 2

[2015-08-04 06:07:55][0x544:0x360] Message 0xC249, wparam = 0, lparam = 0

[2015-08-04 06:09:17][0x544:0xCA0] Allocating class CBlurEffect for D2D 0x00000007961C2060

[2015-08-04 06:09:17][0x544:0xCA0] Allocating blur buffer 180 x 16 [pixelFormat: 87, 3] (D2D 0x00000007961C2060)

[2015-08-04 06:09:17][0x544:0xCA0] Allocating class CReflection for D2D 0x00000007961C2060

[2015-08-04 06:09:17][0x544:0xCA0] Allocating blur buffer 1055 x 49 [pixelFormat: 87, 3] (D2D 0x00000007961C2060)

[2015-08-04 06:09:18][0x544:0xCA0] Allocating blur buffer 1621 x 49 [pixelFormat: 87, 3] (D2D 0x00000007961C2060)

[2015-08-04 06:09:18][0x544:0xCA0] Allocating blur buffer 1621 x 67 [pixelFormat: 87, 3] (D2D 0x00000007961C2060)

[2015-08-04 06:10:09][0x544:0xCA0] Deallocating class CBlurEffect for D2D 0x00000007961C2060

[2015-08-04 06:10:09][0x544:0xCA0] Deallocating class CReflection for D2D 0x00000007961C2060

[2015-08-04 06:10:16][0x544:0x360] Message 0xC2A7, wparam = 2, lparam = 0

 

No messages at all are logged at the time the glitches show.

 

-Noel

Link to comment
Share on other sites

 

 

 

Here's hoping Big Muscle can get FrameMargin working again.  :)

 

-Noel

 

What about it is not working?

 

All of it.  The FrameMargin registry setting doesn't do anything in the current test version of Aero Glass.  My theme atlas adds a couple of pixels to the drop shadow resources to create the appearance of a light edge and slightly rounded corners, but there's no additional border thickness like there was in the prior (outdated) test build of Aero Glass.  You can see what I see in the screen grab I posted above.  Not something I can't live with, but IMO a couple of pixels more would look better and be easier to use.

 

This is what I've been trying:

 

Windows Registry Editor Version 5.00

 

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM]

"FrameMargin"=dword:00000002

 

-Noel

Edited by NoelC
Link to comment
Share on other sites

It will be glass safety zone problem. Any special steps to simulate multiple monitors in VMWare? In Win8, I just selected "3 monitors" in machine settings and then selected "Connect on VGA" in control panel. The same procedure results in "Cannot save display settings" error on Win10.

Link to comment
Share on other sites

 

That "Aero 7" theme by sagorpirbd seems a bit unpolished.  It has potential - I like that it gives controls visual style - but doesn't do nice things like return style to the Win 10 Taskbar, and has a few little style glitches/mistakes (squared corners of a few buttons that should be rounded, glyphs not centered in caption buttons, etc.).  I thought about trying to tweak the graphics in it a bit, but I've just gone back to standard Win 10 with my theme atlas replacement only.

 

A fully polished full theme replacement that "does it all" will no doubt appear.  People are already generating themes that are mostly working.  It's already clear that we can have a better looking / smoother working Win 10 UI than what Microsoft delivered.

 

Here's hoping Big Muscle can get FrameMargin working again.  :)

 

-Noel

The Taskbar and all other elemnts are XAML Based, there is no way to theme these elements without restoring the Win32 elements. No matter what you do with the msstyles and theme files, it will never change. You don't have to thank me.. thank Microsoft for the half assed UI.

 

By the way, the .layout file BM Provided with Win8rp atlas can be used with all old 8/8.1 theme atlas png textures to make them work with Win10 RT/10240

http://www.msfn.org/board/topic/170233-aero-glass-themeatlas/

 

I'm not fussed how the taskbar and so looks as long as it blurred. I like the Windows 10 theme with Aeroglass

Link to comment
Share on other sites

It will be glass safety zone problem. Any special steps to simulate multiple monitors in VMWare? In Win8, I just selected "3 monitors" in machine settings and then selected "Connect on VGA" in control panel. The same procedure results in "Cannot save display settings" error on Win10.

 

What I found works is to first boot the guest VM into windowed mode, then choose the full-screen button at the top:

 

VMWareFullScreen.png

 

Then once the VM is in full-screen mode, I choose the all monitors layout:

 

VMWareChooseLayout.png

 

It goes black for maybe 10 or 15 seconds, then finally works.  I'm on VMware workstation 11.1.2 build-2780323.  There was a time, around build 10074 I think, where it failed the 3 monitor layout switch, but then it started working in the 10100s somewhere as I recall.

 

You probably actually have to have 3 monitors to do the above.  I haven't tried simulating it.

 

-Noel

Edited by NoelC
Link to comment
Share on other sites

It will be glass safety zone problem.

 

By the way, if you can't get a multi-monitor simulation going, I'll be more than happy to run a specially instrumented build for you.  Whatever you need.

 

-Noel

Link to comment
Share on other sites

You probably actually have to have 3 monitors to do the above.  I haven't tried simulating it.

Ah, I could fake multiple monitors in Win8.x just by setting the number in virtual machine settings. This does not work in Win10. According to your debug.log, it seems that only first 2560px is detected and thus smaller glass safety zones used. It results in glitches on anything beyond 2560px.

Also, I'm afraid that making FrameMargin won't be possible. It is much more difficult to implement on 32-bit so I thought I could add it as x64-only feature, but it seems that setting any margin completely breaks AeroSnap feature.

Link to comment
Share on other sites

Because it is different file. Compiler/optimizer can just inline some functions, change call conventions etc. so the technique "replace this function with my own implementation" cannot be easily used.

Link to comment
Share on other sites

 

You probably actually have to have 3 monitors to do the above.  I haven't tried simulating it.

Ah, I could fake multiple monitors in Win8.x just by setting the number in virtual machine settings. This does not work in Win10. According to your debug.log, it seems that only first 2560px is detected and thus smaller glass safety zones used. It results in glitches on anything beyond 2560px.

Also, I'm afraid that making FrameMargin won't be possible. It is much more difficult to implement on 32-bit so I thought I could add it as x64-only feature, but it seems that setting any margin completely breaks AeroSnap feature.

 

 

Looks like there are 3 glass safety zones allocated, each the width of my 3 monitors (2560 x 1600 is the center one, the ones on the sides are 1200 x 1600 as they are turned up sideways).  Since it's a desktop that spans 3 monitors, are you saying it should be allocating a glass safety zone of 4960 pixels width (i.e., 1200 + 2560 + 1200)?  Seems like all you'll have to do is add up the dimensions, then.

 

Regarding FrameMargin, that's a shame, though I understand completely.  I've been looking over generated code lately in the process of optimizing my own products.  And it changes.  I've seen differences in VS 2015, for example, as compared to VS 2013.  I wonder what version of Visual Studio Microsoft compiles Windows with.

 

As one who never, ever uses any snap feature I'd still love to have "experimental" FrameMargin support, but I'll understand if you feel it's unsupportable.  Sooner or later a full theme implementation will come along that's well-polished, and probably that will restore borders more thoroughly.

 

-Noel

Edited by NoelC
Link to comment
Share on other sites

 

 

You probably actually have to have 3 monitors to do the above.  I haven't tried simulating it.

Ah, I could fake multiple monitors in Win8.x just by setting the number in virtual machine settings. This does not work in Win10. According to your debug.log, it seems that only first 2560px is detected and thus smaller glass safety zones used. It results in glitches on anything beyond 2560px.

Also, I'm afraid that making FrameMargin won't be possible. It is much more difficult to implement on 32-bit so I thought I could add it as x64-only feature, but it seems that setting any margin completely breaks AeroSnap feature.

 

 

Looks like there are 3 glass safety zones allocated, each the width of my 3 monitors (2560 x 1600 is the center one, the ones on the sides are 1200 x 1600 as they are turned up sideways).  Since it's a desktop that spans 3 monitors, are you saying it should be allocating a glass safety zone of 4960 pixels width (i.e., 1200 + 2560 + 1200)?  Seems like all you'll have to do is add up the dimensions, then.

 

Regarding FrameMargin, that's a shame, though I understand completely.  I've been looking over generated code lately in the process of optimizing my own products.  And it changes.  I've seen differences in VS 2015, for example, as compared to VS 2013.  I wonder what version of Visual Studio Microsoft compiles Windows with.

 

As one who never, ever uses any snap feature I'd still love to have "experimental" FrameMargin support, but I'll understand if you feel it's unsupportable.  Sooner or later a full theme implementation will come along that's well-polished, and probably that will restore borders more thoroughly.

 

-Noel

 

You can restore theme borders without FrameMargin. In this new version of Aero Glass, bigmuscle implemented a layout file (you'd have your atlas.png and this new atlas.png.layout) that supports adding an actual border back. An example of this is in the win8cp atlas provided by BM.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...