• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
bigmuscle

Aero Glass for Win8 RC4

2,631 posts in this topic

Actually, I quickly checked the code and it won't be so hard to make the glass working on Win8.1. The only big change (which influences my work) is complete migration of desktop rendering from DX10.1 to DX11 thus I need to rewrite my blur algorithm to Direct3D 11 API (which is very similar to 10.1). The biggest problem I see is the non-existence of glass safety zones which is the thing responsible for extending occluded regions by blur radius. It will make glitches (known from earlier versions of my utility) on the edges of the clip regions without glass safety zone.

Please let us know if there's anything specific you need. I have the Win8.1 x64 preview running, and can provide info/files/whatever privately.

Surprisingly, most every config tweak and 3rd party software package that works with Windows 8 (.0) seems to work okay with Windows 8.1, though there are occasional weirdnesses (for example, for some reason an auto-hidden Taskbar doesn't pull open if you put the cursor about where the ClassicShell Start button will appear). It seems Microsoft has conceded a few points - they've already configured several good things right out of the box that I advise people to configure.

But, who really thinks removing Windows Backup entirely was a good idea? It was encouraging to see them continue to offer it in Windows 8, and I might have expected a complete replacement by version 9, but removing it entirely in Windows 8.1? Ridiculous! I still need to be sure they haven't hidden it somewhere else.

I'm concerned about this "glass safety zones" thing you mention. Sounds like just more side effects from Microsoft migrating away from Aero Glass capability entirely, which spells long-term doom for just the kinds of things you're trying to do. Microsoft doesn't seem to have any smart folks working there any more, just mindless coders who follow the orders of drunken executives. :(

-Noel

Edited by NoelC
0

Share this post


Link to post
Share on other sites

Does this migration to DX11 mean that only cards capable of DX11 will be able to render blur on win8.1?

That is also a question i have (i know it is early to ask such question ;)

Because, all my old laptops which are on windows 8 does certainely not have DX11.

Edited by gontie
0

Share this post


Link to post
Share on other sites

Sorry for my newbie question and my English.

DWMHook only works on x32 systems for me. The line "AppInit_DLLs"="C:\AeroGlass\\DWMGlass.dll" from file LoadGlass__AppInit_DLLs.reg has been fixed for the next "AppInit_DLLs"="C:\\Portable\\MyDWM\\DWMGlass.dll" but it still does not work. Anyone have any ideas how to fix it? System files have been patched by UltraUX Theme Patcher.

Thanks!

Edited by energy
0

Share this post


Link to post
Share on other sites

[Please let us know if there's anything specific you need.

Thanks, however I will not care about the preview version now. I need to finish final release for Win8 first.

0

Share this post


Link to post
Share on other sites

Does this migration to DX11 mean that only cards capable of DX11 will be able to render blur on win8.1?

Nope, DX11 supports feature levels that ensure backward compatibility. And actually it is Direct2D (which is only user friendly API above D3D 11) used for desktop rendering in Win8.1. Win8 uses this API for Start screen/Store apps only.

0

Share this post


Link to post
Share on other sites

[Please let us know if there's anything specific you need.

Thanks, however I will not care about the preview version now. I need to finish final release for Win8 first.

amen to that - looking forward to it :D

0

Share this post


Link to post
Share on other sites

I just can say that achieving simple transparency in Win8.1 is much much easier than in Win8.

win81_transparency.jpg

0

Share this post


Link to post
Share on other sites

I just can say that achieving simple transparency in Win8.1 is much much easier than in Win8.

win81_transparency.jpg

Strange how the colorization now replaces the text glow.

0

Share this post


Link to post
Share on other sites

I just can say that achieving simple transparency in Win8.1 is much much easier than in Win8.

win81_transparency.jpg

Strange how the colorization now replaces the text glow.

Notice that the window "glass" has another glow effect (no glow effect at all, but different from ather wondows)? WTF?

Edited by CKyHC
0

Share this post


Link to post
Share on other sites

I just can say that achieving simple transparency in Win8.1 is much much easier than in Win8.

win81_transparency.jpg

Strange how the colorization now replaces the text glow.

Notice that the window "glass" has another glow effect (no glow effect at all, but different from ather wondows)? WTF?

Ribbon windows don't use the same glow effect as regular windows do. Text glow on the Ribbon is still possible, but no longer possible it seems on non-Ribbon windows. Adding back the properties and the glow image yields no results. That image just confirms it, instead of using the old glow image from the DWMWindow class in the msstyles it's drawing the colorization color behind the text instead.

0

Share this post


Link to post
Share on other sites

Apparently, Windows recently was refusing to start. I tried disabling this application from loading (apparently it was attempting to load itself into the wrong memory location) and everything was fine again. I saw an extra file more than normal, this time in addition to a debug log a dump log was left behind. Please fix this if possible. It may be rare, but if this is a bug then it can prevent Windows from starting. I suspect DWM.exe injected something nasty into Windows's memory, causing Explorer to fail to load. Whole computer locked up. Anyhow, if I'm onto something here are some logs.

https://www.dropbox.com/s/66xwujx7nrddi7e/minidump.dmp

https://www.dropbox.com/s/o92mngig2r430ex/debug.log

0

Share this post


Link to post
Share on other sites

Just to clarify a few things about the text. The solid blocks of color you see is NOT the text glow. It is a DWM optimization to improve font rendering performance by no longer alpha blending the text with the frame. It is instead rendered into an opaque texture of the same color as the theme color. I personally don't like this idea because it reduces the personalization capabilities of users with modded themes, since the background color of the winow now must exactly match the color of the theme as a solid block of color to work. I have no doubt that bigmuscle will work around this and maybe render font differently though.

The reason the "glass" window does not have this is because the ribbon UI renders its own non-client area.

The text glow will also not work on the windows with the new text rendering (I cant say about the ribbon windows, though)

Edited by inighthawki
0

Share this post


Link to post
Share on other sites

I am probably in the wrong place, but does the new Windowblinds work in Windows 8.1 preview?

0

Share this post


Link to post
Share on other sites

@PandaX

Will it be possible to use the areo.msstyle from windows 8, If/when UXStyle is released for Windows 8.1 and have the white text glow?

0

Share this post


Link to post
Share on other sites

@PandaX

Will it be possible to use the areo.msstyle from windows 8, If/when UXStyle is released for Windows 8.1 and have the white text glow?

No, please read my post a couple up.

0

Share this post


Link to post
Share on other sites

Hi inighthawki

Thanks, I got it now.

Ok, I am going back to windows 7 and there will be no more win8 or 8.1 themes from me.

Edited by Luke7
0

Share this post


Link to post
Share on other sites

Just to clarify a few things about the text. The solid blocks of color you see is NOT the text glow. It is a DWM optimization to improve font rendering performance by no longer alpha blending the text with the frame. It is instead rendered into an opaque texture of the same color as the theme color. I personally don't like this idea because it reduces the personalization capabilities of users with modded themes, since the background color of the winow now must exactly match the color of the theme as a solid block of color to work. I have no doubt that bigmuscle will work around this and maybe render font differently though.

The reason the "glass" window does not have this is because the ribbon UI renders its own non-client area.

The text glow will also not work on the windows with the new text rendering (I cant say about the ribbon windows, though)

I just noticed that the caption is rendered via pure GDI functions SetBkColor->SetTextColor->...->DrawText into intermediate texture. I think that returning glow effect won't be so complicated (DrawText hook etc.) but I'm not sure about the background. I guess that simple changing alpha channel of background will have no effect.

Apparently, Windows recently was refusing to start. I tried disabling this application from loading (apparently it was attempting to load itself into the wrong memory location) and everything was fine again. I saw an extra file more than normal, this time in addition to a debug log a dump log was left behind. Please fix this if possible. It may be rare, but if this is a bug then it can prevent Windows from starting. I suspect DWM.exe injected something nasty into Windows's memory, causing Explorer to fail to load. Whole computer locked up. Anyhow, if I'm onto something here are some logs.

https://www.dropbox.com/s/66xwujx7nrddi7e/minidump.dmp

https://www.dropbox.com/s/o92mngig2r430ex/debug.log

It seems you have windowsFX installed which is incompatible with this version of Aero Glass, because it injects into DWM too.

Edited by bigmuscle
0

Share this post


Link to post
Share on other sites

Just to clarify a few things about the text. The solid blocks of color you see is NOT the text glow. It is a DWM optimization to improve font rendering performance by no longer alpha blending the text with the frame. It is instead rendered into an opaque texture of the same color as the theme color. I personally don't like this idea because it reduces the personalization capabilities of users with modded themes, since the background color of the winow now must exactly match the color of the theme as a solid block of color to work. I have no doubt that bigmuscle will work around this and maybe render font differently though.

The reason the "glass" window does not have this is because the ribbon UI renders its own non-client area.

The text glow will also not work on the windows with the new text rendering (I cant say about the ribbon windows, though)

I just noticed that the caption is rendered via pure GDI functions SetBkColor->SetTextColor->...->DrawText into intermediate texture. I think that returning glow effect won't be so complicated (DrawText hook etc.) but I'm not sure about the background. I guess that simple changing alpha channel of background will have no effect.

Apparently, Windows recently was refusing to start. I tried disabling this application from loading (apparently it was attempting to load itself into the wrong memory location) and everything was fine again. I saw an extra file more than normal, this time in addition to a debug log a dump log was left behind. Please fix this if possible. It may be rare, but if this is a bug then it can prevent Windows from starting. I suspect DWM.exe injected something nasty into Windows's memory, causing Explorer to fail to load. Whole computer locked up. Anyhow, if I'm onto something here are some logs.

https://www.dropbox.com/s/66xwujx7nrddi7e/minidump.dmp

https://www.dropbox.com/s/o92mngig2r430ex/debug.log

It seems you have windowsFX installed which is incompatible with this version of Aero Glass, because it injects into DWM too.

Thanks. But that's strange since I believe I ran WindowFX before possibly alongside your Aero glass implementation with no issues. I could be wrong. Anyhow, looks like WindowFX will now be disabled. Worth getting Aero Glass back.

0

Share this post


Link to post
Share on other sites
I think that returning glow effect won't be so complicated (DrawText hook etc.)

I know you'd prefer to work toward a stable release for Windows 8 (.0) but just a quick question: Are you foreseeing any problem with restoring the drop shadow around windows? That, as supplied by an alternate resource file and injected via your tool, really helps make the Windows 8 desktop easier to use.

-Noel

0

Share this post


Link to post
Share on other sites

I must admit that I don't understand yoour question. Shadow can simply be restored by modifying theme resource but I guess that you mean something different.

0

Share this post


Link to post
Share on other sites

Yes, I mean via the theme resource.

What's not obvious is whether 8.1 is compositing something outside the border of the window, and an updated theme resource will create the shadow as it does with Windows 8. I guess you're saying you've seen that the drop shadow resource is indeed being composited.

I don't do "theming" as most folks do. The only modifications I've made (and which are sufficient IMO) are those through the theme resource loading you provide with Aero Glass for Win8:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]

"CustomThemeResource"="C:\\YourPath\\AlternateTheme.png"

-Noel

0

Share this post


Link to post
Share on other sites

i have an error when i import the key swatches.reg

show me the way to import this reg

post-376483-0-61802300-1372584510_thumb.

0

Share this post


Link to post
Share on other sites

NoelC: I didn't check more but it looks that Win8.1 windows still have a small shadow thus it should not be the problem to increase its intensity via theme resource.

Btw, I played a bit, it's a glitchy as hell but:

win81_glass.jpg

However, the testing versions will be available on invitation only.

0

Share this post


Link to post
Share on other sites

i have an error when i import the key swatches.reg

show me the way to import this reg

You should modify the permission [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Glass Colorization] before you import this registry file.

It's not recommend to import this file because it's in experiment.I tried to import the file and then I can't access Colors Control Panel.

If you want to import this file,I recommend you to back up [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Glass Colorization] first.

0

Share this post


Link to post
Share on other sites

NoelC: I didn't check more but it looks that Win8.1 windows still have a small shadow thus it should not be the problem to increase its intensity via theme resource.

Btw, I played a bit, it's a glitchy as hell but:

win81_glass.jpg

However, the testing versions will be available on invitation only.

I want this version ! No aero glass,no uxtheme patch,annoying Windows 8.1...

0

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.