valinet / ExplorerPatcher

This project aims to enhance the working environment on Windows
GNU General Public License v2.0
23.97k stars 1.04k forks source link

File Explorer doesn't keep position and size with the windows 10 ribbon #2243

Open phpjunkie420 opened 11 months ago

phpjunkie420 commented 11 months ago

File Explorer doesn't keep position and size with, "Control Interface*: Windows 10 Ribbon." I ether have to change this back to Windows 11 Command Bar or set file explorer to run in a separate process. When I run File Explorer as a separate proccess all of settings from ExplorerPatcher are ignored.

Here are the settings I have for file explorer. ep

I don't think this has anything to do with it but I have these registry modifications.

; Remove Desktop From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]

; Remove Documents From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]

; Remove Downloads From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]

; Remove Music From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]

; Remove Pictures From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]

; Remove Videos From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]

; Remove 3D Objects From ThisPC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}]

; Remove Quick Access from Explorer
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"HubMode"=dword:00000001

And these that remove all of the user folders from the tree view.

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{374DE290-123F-4565-9164-39C4925E467B}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{A0953C92-50DC-43bf-BE83-3742FED03C9C}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}]
GitPopcorn commented 11 months ago

Got the same issue, all the settings under file explorer tab did not take effect for me. My OS is Windows 11 22H2 22621.2283. And my EP is at V22621.2361.58.3.

phpjunkie420 commented 11 months ago

Got the same issue, all the settings under file explorer tab did not take effect for me. My OS is Windows 11 22H2 22621.2283. And my EP is at V22621.2361.58.3.

You can use what I wrote to get around the issue. With time, I'm sure the issue will get fixed.

For some time, there was an issue with task view and alt+tab, but they got fixed.

GitPopcorn commented 11 months ago

You can use what I wrote to get around the issue. With time, I'm sure the issue will get fixed.

Thanks, I will try it tomorrow.

Amrsatrio commented 11 months ago

Can confirm with Win10 ribbon on 22621.1265, 22621.1992, 22621.2428, and 22631.2428. Issue doesn't persist with Win7 and Win11 command bar.

Amrsatrio commented 11 months ago

This does not happen on 22621.1 and 22000.2416. I will have to find starting from which version this started occuring.

phpjunkie420 commented 10 months ago

This does not happen on 22621.1 and 22000.2416. I will have to find starting from which version this started occuring.

Any updates on this?

Amrsatrio commented 10 months ago

So... I found a fix but with a catch: it will only last for so long. I disabled the feature flag for tabs and the window positions save as well as the menu bar of Win7 command bar showing properly again. Microsoft removed the feature flag in a Dev build that was released 2-3 weeks ago, which is Build 23575. Meaning that I need more time to deeply investigate this issue in order to make a (hopefully eternal) fix.

At least I have fixed EP so that it applies the command bar settings on separate instances, so you can use that workaround for now, or use the even snappier Win7 command bar.

Sorry if it's taking so long, I also have a lot of other important stuff to do.

phpjunkie420 commented 10 months ago

So... I found a fix but with a catch: it will only last for so long. I disabled the feature flag for tabs and the window positions save as well as the menu bar of Win7 command bar showing properly again. Microsoft removed the feature flag in a Dev build that was released 2-3 weeks ago, which is Build 23575. Meaning that I need more time to deeply investigate this issue in order to make a (hopefully eternal) fix.

At least I have fixed EP so that it applies the command bar settings on separate instances, so you can use that workaround for now, or use the even snappier Win7 command bar.

Sorry if it's taking so long, I also have a lot of other important stuff to do.

Will there be a release with this update? All I see on the releases is 22621.2428.59.1 (Latest) and 22621.2428.59.1(Pre-release)

Amrsatrio commented 10 months ago

Just made a prerelease now that has the fix. 22621.2506.60.1. It will work for a month, two months, three months, or so? I don't know, but we've bought you some time.

Amrsatrio commented 6 months ago

Reopening this as the Tabs feature flag crashes Explorer when disabled, and that in later builds it is no longer able to be disabled.