|
Post by ihatemetro on Aug 5, 2020 15:46:47 GMT -8
I suspect that AutoHotKey is to blame for that - I wrote a quick test in C# based on the exact same method, and the problem almost never appeared... Just installed VS 2019 and made a C# version, which is super faster than the ahk version.
Btw, is there anyone who knows where this icon is located?
This makes Windows look better and better to switch back to after my hibernation in Linux. Thanks for this program, it works great. I tested it in a virtual machine and it works almost flawlessly.
Some features that might improve it: - An "Apply" button: Currently, all Settings reset after every application start. - A "Hide" button in both the context menu and the settings dialog: Currently, after you open the settings dialog, there is no way to minimize it back to the tray again. Clicking on close and the X button just closes the application. - "Autostart on startup" feature: Self-explanatory. It should start as a scheduled task similar to Aero Glass where it runs as admin to apply the basic frames to all applications. It can be turned off or on.
- Possibly a function that makes certain applications think DWM is disabled: it would be near impossible, but it should only be applied to applications that use DwmExtendFrameintoClientArea, as well as excluding certain applications from it if the applications don't work. - If the fourth function doesn't work, maybe hook into DWM and redirect calls to DwnUnExtendFrame to your program, where it will somehow turn the black area into the basic silver. - UAC dialogs in Windows 8 to Windows 10 1607: They are not skinned. Maybe add a function to skin SYSTEM account windows, as well as TrustedInstaller windows. - UWP apps like Settings in early versions of Windows 10: Thy look like the standard Windows titlebars. Aero Glass has found a way to skin those; maybe you can somehow skin them to have the Basic theme while keeping the app itself intact. - Firefox in Windows 8.1 doesn't want to skin to Basic theme for some reason? even with "exclude all Windows with Extended Client Area" unchecked. It's probably a bug.
BTW, the "basic theme" icon is in themeui.dll in Windows 7, under the bitmap folder in Resource Hacker, resource 603:1033. You may have to convert it to icon, though; it's a bitmap.
|
|
Ingan121
Sophomore Member
Posts: 104
OS: Windows 10 22H2
Theme: Arc dark
CPU: AMD Ryzen 7 1700 Eight-Core Processor
RAM: 32GB
GPU: NVIDIA GeForce GTX 1050 Ti
Computer Make/Model: VPS-ish thingy (ComViewers)
|
Post by Ingan121 on Aug 7, 2020 7:29:54 GMT -8
Just installed VS 2019 and made a C# version, which is super faster than the ahk version.
Btw, is there anyone who knows where this icon is located?
This makes Windows look better and better to switch back to after my hibernation in Linux. Thanks for this program, it works great. I tested it in a virtual machine and it works almost flawlessly.
Some features that might improve it: - An "Apply" button: Currently, all Settings reset after every application start. - A "Hide" button in both the context menu and the settings dialog: Currently, after you open the settings dialog, there is no way to minimize it back to the tray again. Clicking on close and the X button just closes the application. - "Autostart on startup" feature: Self-explanatory. It should start as a scheduled task similar to Aero Glass where it runs as admin to apply the basic frames to all applications. It can be turned off or on.
- Possibly a function that makes certain applications think DWM is disabled: it would be near impossible, but it should only be applied to applications that use DwmExtendFrameintoClientArea, as well as excluding certain applications from it if the applications don't work. - If the fourth function doesn't work, maybe hook into DWM and redirect calls to DwnUnExtendFrame to your program, where it will somehow turn the black area into the basic silver. - UAC dialogs in Windows 8 to Windows 10 1607: They are not skinned. Maybe add a function to skin SYSTEM account windows, as well as TrustedInstaller windows. - UWP apps like Settings in early versions of Windows 10: Thy look like the standard Windows titlebars. Aero Glass has found a way to skin those; maybe you can somehow skin them to have the Basic theme while keeping the app itself intact. - Firefox in Windows 8.1 doesn't want to skin to Basic theme for some reason? even with "exclude all Windows with Extended Client Area" unchecked. It's probably a bug.
BTW, the "basic theme" icon is in themeui.dll in Windows 7, under the bitmap folder in Resource Hacker, resource 603:1033. You may have to convert it to icon, though; it's a bitmap.
Which version are you using? Every version except v0.1 should just hide on clicking the X button (unless /donthide argument was given.) - An "Apply" button: I'm planning to implement it by searching all the available windows and applying the theme to them. - "Autostart on startup" feature: Thanks, I will add it on the next update. You can just place the shortcut of it to %appdata%\Microsoft\Windows\Start Menu\Programs\Startup or use task scheduler to automatically start on startup currently. - Making apps to think DWM is disabled: Splitwirez gave me the advice to use the Detours library, but I have to investigate this further, as it doesn't seem easy for me. You can use the method mentioned in the "Firefox patch" in this thread alternatively. - DwmUnExtendFrame redirection: Too hard for me currently - UAC dialogs: You can use PsExec to run it as SYSTEM. (psexec -dis path\to\bt2.exe for without secure desktop; psexec -dsx for with secure desktop) I currently don't have plans to add the "run as system" function directly to my program as it involves making a Windows service AFAIK. - UWP title bars: Because of how UWP apps are drawn, the real basic title bar cannot be applied to the UWP apps directly afaik. So I have to make a new title bar looking like the basic title bar from scratch, which is too hard for me currently. - Firefox in 8.1: Does it not change at all? Or it has some changes like some areas of the title bar turning black? If it doesn't change at all, try clicking any other window then click FF again. If it still doesn't change, please send the log of BT2 to me. (Enable logging, start Firefox, click "Open log file" button then copy and paste them all here or the GitHub issues page.) Thanks for the icon location information btw.
|
|
|
Post by ihatemetro on Aug 7, 2020 8:44:44 GMT -8
This makes Windows look better and better to switch back to after my hibernation in Linux. Thanks for this program, it works great. I tested it in a virtual machine and it works almost flawlessly.
Some features that might improve it: - An "Apply" button: Currently, all Settings reset after every application start. - A "Hide" button in both the context menu and the settings dialog: Currently, after you open the settings dialog, there is no way to minimize it back to the tray again. Clicking on close and the X button just closes the application. - "Autostart on startup" feature: Self-explanatory. It should start as a scheduled task similar to Aero Glass where it runs as admin to apply the basic frames to all applications. It can be turned off or on.
- Possibly a function that makes certain applications think DWM is disabled: it would be near impossible, but it should only be applied to applications that use DwmExtendFrameintoClientArea, as well as excluding certain applications from it if the applications don't work. - If the fourth function doesn't work, maybe hook into DWM and redirect calls to DwnUnExtendFrame to your program, where it will somehow turn the black area into the basic silver. - UAC dialogs in Windows 8 to Windows 10 1607: They are not skinned. Maybe add a function to skin SYSTEM account windows, as well as TrustedInstaller windows. - UWP apps like Settings in early versions of Windows 10: Thy look like the standard Windows titlebars. Aero Glass has found a way to skin those; maybe you can somehow skin them to have the Basic theme while keeping the app itself intact. - Firefox in Windows 8.1 doesn't want to skin to Basic theme for some reason? even with "exclude all Windows with Extended Client Area" unchecked. It's probably a bug.
BTW, the "basic theme" icon is in themeui.dll in Windows 7, under the bitmap folder in Resource Hacker, resource 603:1033. You may have to convert it to icon, though; it's a bitmap.
Which version are you using? Every version except v0.1 should just hide on clicking the X button (unless /donthide argument was given.) - An "Apply" button: I'm planning to implement it by searching all the available windows and applying the theme to them. - "Autostart on startup" feature: Thanks, I will add it on the next update. You can just place the shortcut of it to %appdata%\Microsoft\Windows\Start Menu\Programs\Startup or use task scheduler to automatically start on startup currently. - Making apps to think DWM is disabled: Splitwirez gave me the advice to use the Detours library, but I have to investigate this further, as it doesn't seem easy for me. You can use the method mentioned in the "Firefox patch" in this thread alternatively. - DwmUnExtendFrame redirection: Too hard for me currently - UAC dialogs: You can use PsExec to run it as SYSTEM. (psexec -dis path\to\bt2.exe for without secure desktop; psexec -dsx for with secure desktop) I currently don't have plans to add the "run as system" function directly to my program as it involves making a Windows service AFAIK. - UWP title bars: Because of how UWP apps are drawn, the real basic title bar cannot be applied to the UWP apps directly afaik. So I have to make a new title bar looking like the basic title bar from scratch, which is too hard for me currently. - Firefox in 8.1: Does it not change at all? Or it has some changes like some areas of the title bar turning black? If it doesn't change at all, try clicking any other window then click FF again. If it still doesn't change, please send the log of BT2 to me. (Enable logging, start Firefox, click "Open log file" button then copy and paste them all here or the GitHub issues page.) Thanks for the icon location information btw. NVM about the "Hide" button; I probably never saw the tray icon after clicking the X or just didn't pay attention to the tray.
The "Apply" button should save the settings in either the Registry (under HKEY_CURRENT_USER if not run as admin or the user does not want to make the changes universal, HKEY_LOCAL_MACHINE if run as admin and the user wants to make the changes universal) or under AppData. Maybe also save configuration to an ini file in the current directory that BasicThemer2 is running in to make it portable, if the user chooses to.
For the startup feature, I have some template Scheduled Tasks. They all start in C:\Basic and have a username of Johnny Banana (not my real name) and one computer name (DESKTOP-xxxxxxx), so they have to be modified somehow for different computer configurations. There are two, one for TrustedInstaller/UAC dialogs/login screen and one for current user that has to be duplicated for every user that uses the Basic Themer. They all run as admin without having UAC Prompts. If the user doesn't want to have admin applications be themed, just add a shortcut to it for the startup folder. They are in XML format, they all are from the "export" function in Task Scheduler. As for the Firefox in Windows 8.1, I have attached the log file, and the Firefox window only gets themed when I click any other window or the desktop and clicking back, like the solution you mentioned. It resets when I maximize or restore the window. I also have 125% scaling on the VM, so that might be part of the problem. There are also other applications clogging the log file, so just search for Firefox. Anyways, this application is really good, thanks for it. I might switch back to Windows, finally the big buttons in the title bar can be disabled and replaced without having to use the Classic Theme or disable DWM. I also like the Basic theme's style, too, so that's another reason.
Edit: For some odd reason, attachments unattached themselves when I wanted to create this reply, so I had to reattach them.
Edit 2: Maybe make it faster, as I've noticed in .msi installers and I think the Firefox download prompt the normal DWM window frames show for a split second before the Basic Theme is applied. Also, is there even a way to make Not-responding applications use the Basic Theme? They just have the standard DWM frames. This problem plagues the Classic Theme as well, so probably a solution for this would also benefit the Classic Theme as well.
Edit 3: I have also tested importing my Basic Theme for TrustedInstaller task and found out that it's systemwide on Windows 8.1 for whatever reason, while it wasn't systemwide on Windows 10.
Edit 4: Just found out that Sandboxie requires you to put in your personal information in order to download it: Seriously? I don't even live in the US, and it's still asking me for ZIP Code. Plus, I don't want to send my personal information over to some weird company that will probably sell it to advertisers. Is there even any way to compile it? Or can people provide a download? If all else fails I'm just going to either set up Windows Sandbox (I have 1903 so it should work), or set up a VM.
Edit 5: Nevermind, checked the wrong download, I used the Softonic one and it worked, yay.
Edit 6: After patching IE, I only find Internet Explorer's executable, and I cannot find dwmapi.dll and dwm_rdr.dll. There is a download for those, but web archive breaks when I try to login to download the one with the batch file or the one with dwm_rdr.dll and the current update of it does not have dwm_rdr.dll or the batch file. Is it this hard to find a solution for the damn extended glass titlebars?
|
|
gcomputzide
Sophomore Member
As gcomputing goes on, it comes to the zide.
Posts: 150
OS: Windows 10 1909
Theme: Classic Theme (Winamp 3.0)
CPU: Asus K53E: Intel(R) Pentium(R) CPU B950 @ 2.10GHz
RAM: AMD 8 GB, QUMO 4 GB
GPU: Asus K53E: Intel HD Graphics 3000
|
Post by gcomputzide on Aug 18, 2020 0:33:24 GMT -8
i just realized that without dwm if you delete the random files. then it didn't work.
|
|
Ingan121
Sophomore Member
Posts: 104
OS: Windows 10 22H2
Theme: Arc dark
CPU: AMD Ryzen 7 1700 Eight-Core Processor
RAM: 32GB
GPU: NVIDIA GeForce GTX 1050 Ti
Computer Make/Model: VPS-ish thingy (ComViewers)
|
Post by Ingan121 on Aug 19, 2020 19:28:45 GMT -8
i just realized that without dwm if you delete the random files. then it didn't work. It won't have any effect when DWM is disabled.
|
|
gcomputzide
Sophomore Member
As gcomputing goes on, it comes to the zide.
Posts: 150
OS: Windows 10 1909
Theme: Classic Theme (Winamp 3.0)
CPU: Asus K53E: Intel(R) Pentium(R) CPU B950 @ 2.10GHz
RAM: AMD 8 GB, QUMO 4 GB
GPU: Asus K53E: Intel HD Graphics 3000
|
Post by gcomputzide on Aug 21, 2020 2:36:43 GMT -8
oh
|
|
|
Post by shadowblitz16 on Aug 29, 2020 14:29:26 GMT -8
does this work on window 10 enterprise ltsc 1809?
|
|
|
Post by ihatemetro on Aug 29, 2020 14:30:38 GMT -8
does this work on window 10 enterprise ltsc 1809? Of course it does, it works on any version of Windows starting from Vista.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 1, 2020 18:22:22 GMT -8
Just created an account to say that I absolutely love the work you are doing. I want to get rid of the stupid Metro/Modern UI from Windows 10 as well and testing out the program, the results are spectacular thus far. I barely know anything about the technical aspects of what you are doing, but it's definitely something I can get behind. From the testing on the programs I have installed on my computer, it seems like any program that has any sort of custom window drawings that relies on what I perceive as DWM has this issue, which I can see you know. On my computer, I run Windows 10 Pro Build 2004 (19041.450). Most Microsoft Office 2007 and 2010 programs have issues with drawing correct titlebars like explorer.exe without OldNewExplorer. If you are accepting donations, I would love to pitch in to help get this software to a more usable production/stable state.
|
|
|
Post by ihatemetro on Sept 4, 2020 13:39:43 GMT -8
Switched to Pale Moon and for some odd reason when tabs are on top the default boring theme gets applied when maximizing, minimizing, or restoring. When there are windows for other stuff on top of pale moon (That are part of Pale Moon), same thing happens, the boring DWM theme gets applied instead of the Basic Theme. The only way to solve it is to click on the desktop or taskbar then back again. Any solutions? It seems like it refreshes the DWM titlebar every time when the tabs are on top.
Edit: Thunderbird also has this. I applied a theme so that there wouldn't be an empty black area and it still does this. Only when it is just opened though, minimizing, restoring, or maximizing the window has no effect.
|
|
|
Post by travis on Oct 13, 2020 18:28:28 GMT -8
Just wanted to add that the nav bar can be fixed with relatively trivial msstyles modifications. Also yes, this works on Windows 8.1 as well. Can you post the modified msstyles files out? I still want them.
|
|
|
Post by travis on Oct 16, 2020 14:50:21 GMT -8
I suspect that AutoHotKey is to blame for that - I wrote a quick test in C# based on the exact same method, and the problem almost never appeared... Just installed VS 2019 and made a C# version, which is super faster than the ahk version.
Btw, is there anyone who knows where this icon is located?
Bump, I found where it is. It was in themeui.dll
|
|
|
Post by ihatemetro on Oct 16, 2020 18:03:28 GMT -8
Just installed VS 2019 and made a C# version, which is super faster than the ahk version.
Btw, is there anyone who knows where this icon is located?
Bump, I found where it is. It was in themeui.dll Well, too late, I already stated the location of the file, but thanks for posting the BMP version anyways. I also have the ICO variant that I converted the bitmap to that I used when I was changing folder icons. Here it is: Attachments:Bitmap603.ico (90.88 KB)
|
|
Ingan121
Sophomore Member
Posts: 104
OS: Windows 10 22H2
Theme: Arc dark
CPU: AMD Ryzen 7 1700 Eight-Core Processor
RAM: 32GB
GPU: NVIDIA GeForce GTX 1050 Ti
Computer Make/Model: VPS-ish thingy (ComViewers)
|
Post by Ingan121 on Oct 17, 2020 3:57:59 GMT -8
Bump, I found where it is. It was in themeui.dll Well, too late, I already stated the location of the file, but thanks for posting the BMP version anyways. I also have the ICO variant that I converted the bitmap to that I used when I was changing folder icons. Here it is: thanks, I already added it to my repository. I will change the icon on the next update. Just created an account to say that I absolutely love the work you are doing. I want to get rid of the stupid Metro/Modern UI from Windows 10 as well and testing out the program, the results are spectacular thus far. I barely know anything about the technical aspects of what you are doing, but it's definitely something I can get behind. From the testing on the programs I have installed on my computer, it seems like any program that has any sort of custom window drawings that relies on what I perceive as DWM has this issue, which I can see you know. On my computer, I run Windows 10 Pro Build 2004 (19041.450). Most Microsoft Office 2007 and 2010 programs have issues with drawing correct titlebars like explorer.exe without OldNewExplorer. If you are accepting donations, I would love to pitch in to help get this software to a more usable production/stable state. You can try placing the dwmapi.dll from the extras folder of the GitHub repository into the directory where the program’s executable is located.
|
|
|
Post by ihatemetro on Oct 28, 2020 17:09:39 GMT -8
|
|
Ingan121
Sophomore Member
Posts: 104
OS: Windows 10 22H2
Theme: Arc dark
CPU: AMD Ryzen 7 1700 Eight-Core Processor
RAM: 32GB
GPU: NVIDIA GeForce GTX 1050 Ti
Computer Make/Model: VPS-ish thingy (ComViewers)
|
Post by Ingan121 on Oct 29, 2020 1:13:27 GMT -8
|
|
|
Post by ihatemetro on Oct 29, 2020 4:42:14 GMT -8
Thanks! Now I can finally ditch Pale Moon.
|
|
|
Post by OrthodoxWin32 on Jul 26, 2022 2:04:39 GMT -8
I posted a bug report in github about this, but I'm reposting it on the forum.
When running Win16 programs (programs developed for Windows 3.x) with WineVDM (https://github.com/otya128/winevdm), BasicThemer2 does not display the title bar correctly. On the other hand, the titles of the dialog boxes of Win16 programs are displayed correctly.
It happens that this issue relates to a Win32 program, but it is much rarer.
This is quite problematic, as @gumball was trying to create a Windows 1.x visual style, and basic mode is more suited to a visual style like that.
|
|
gombau
Freshman Member
Posts: 77
|
Post by gombau on May 2, 2023 9:16:06 GMT -8
Just wanted to add that the nav bar can be fixed with relatively trivial msstyles modifications. Also yes, this works on Windows 8.1 as well. How did you fix the navigation bar, what did you modify in your theme's msstyle? I've been looking for a solution for the navigation bar for ages though.
|
|
gombau
Freshman Member
Posts: 77
|
Post by gombau on May 2, 2023 9:18:55 GMT -8
Thanks! Now I can finally ditch Pale Moon.
Sorry for answering something unrelated, but do you know by chance ihatemetro how to fix the navigation bar, like in Splitwirez's screenshot? I've been looking for this for ages though, and it's the only thing keeping me from using a windows 7 theme and the basic themer preferring the classic theme. However, the windows 7 icon pack still looks very well under classic theme though.
|
|