1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-15 03:27:35 +01:00
Commit Graph

555 Commits

Author SHA1 Message Date
Valentin Radu
cd2d5c66f9 Weather: Fixed a bug that could hang or lock the shutdown/restart
sign out process when using the weather widget

The hang was happening because the UI thread of explorer was hanging in
`dllmain!PeopleBand_DrawTextWithGlowHook` in a call to `AcquireSRWLockExclusive`
when the host process for the widget terminated (due to the system shutting
down - the case when hr is 0x800706ba aka "RPC server is unavailable"). When the
remote process dies, say we are in `dllmain!PeopleBand_DrawTextWithGlowHook`;
a call to some interface from it hangs for a bit, and during
that time the calling thread is able to continue its lifetime, during which a
subsequent call to `dllmain!PeopleBand_DrawTextWithGlowHook` is made (another
widget redraw is requested). As SRW locks do not really support recursion (calling
the same function from the same thread), this behavior is then expected and the
whole thing hangs, thus hanging the shutdown process (and explorer's UI thread in
turn). That's why when you clicked "Cancel" when the UI to close hung apps was
displayed at shutdown, you returned to a frozen desktop. Apparently, Windows lets
explorer hang indefinitely at shutdown, which made matters even worse.

The solution is two fold:
* Widget destruction is dispatched to the service thread. This is not strictly
necessary, but allows for better control of where the thing is destroyed from.
* Switched from SRW locks to a critical section, which is a per-thread lock. All
this has to do is make sure the program destroys the widget only when no other
routine (usually drawing stuff) uses it.

This should pretty much mitigate the issue, hopefully.
2022-04-30 04:03:30 +03:00
Valentin Radu
5e17f5a817 Weather: Fixed a bug that had "COM Surrogate" display as a running
app in Task Manager after the widget flyout was opened the first time
2022-04-30 03:35:13 +03:00
Valentin Radu
52e86d739a Version: 22000.613.44.1 2022-04-14 10:50:28 +03:00
Valentin Radu
d828fa2137 Other: Option to disable Win+F hotkey 2022-04-14 10:48:16 +03:00
Valentin Radu
448f3ef9b7 Symbols: Built-in support for 22000.613 2022-04-14 10:46:03 +03:00
Valentin-Gabriel Radu
78b8c6edd4
Taskbar10: Fixed a bug that prevented UndeadStartCorner from working properly when the taskbar alignment setting was never used 2022-03-30 22:26:00 +03:00
Valentin Radu
8461f3a33d Version: 22000.556.43.4 2022-03-28 23:35:20 +03:00
Valentin Radu
a2b28e5345 File Explorer: Option to enable legacy file transfer dialog 2022-03-28 23:34:04 +03:00
Valentin Radu
5da58c530f Version: 22000.556.43.3 2022-03-28 20:40:03 +03:00
Valentin Radu
d071ad0db6 File Explorer: Localization for classic drive groupings 2022-03-28 20:36:34 +03:00
Valentin Radu
cd96a949e8 File Explorer: Classic drive groupings do not require a restart 2022-03-28 20:36:17 +03:00
Valentin Radu
244e4a0936 File Explorer: Option to disable ribbon 2022-03-28 20:32:53 +03:00
lordmilko
3f96325ad6 File Explorer: Add support for classic drive groupings in This PC 2022-03-28 17:53:07 +03:00
Valentin Radu
21f3377a27 Version: 22000.556.43.2 2022-03-24 23:37:39 +02:00
Valentin Radu
9c364f470e Taskbar10: Fix taskbar acrylic in newer OS builds (22581+) 2022-03-24 23:35:21 +02:00
Valentin Radu
9d89ff8a93 Version: 22000.556.43.1 2022-03-24 17:36:19 +02:00
lordmilko
21c2f219d5 Other: Add support for disabling Aero Snap Quadrants on Windows 11 2022-03-24 13:08:33 +02:00
Valentin-Gabriel Radu
efd52cf951
Taskbar10: Fixed inactive (for now) case 2022-03-22 10:14:11 +02:00
Valentin Radu
28fc1e58c2 Version: 22000.556.42.39 2022-03-21 18:01:52 +02:00
Valentin Radu
2ee00c2b3a Weather: Fixed bug where the widget fails to start on new installs due to ExplorerPatcher not existing in %APPDATA% 2022-03-20 12:16:28 +02:00
Valentin Radu
b1c40fc922 Version: 22000.556.42.38 2022-03-18 00:02:12 +02:00
Valentin Radu
d3bf5cca5f ep_dwm: Fixed a bug that made this not work after signing out and then back into a user account 2022-03-18 00:00:42 +02:00
Valentin Radu
6c41c0e6d6 Version: 22000.556.42.37 2022-03-14 22:58:10 +02:00
Valentin Radu
f004d73b01 Taskbar10: Fix taskbar acrylic in newer OS builds (22572+) 2022-03-14 22:45:15 +02:00
Valentin Radu
72acc4bce0 Taskbar10: Fix taskbar button thumbnails in newer OS builds (22572+) 2022-03-14 22:44:28 +02:00
Valentin Radu
0d956cb122 Version: 22000.556.42.36 2022-03-14 04:55:01 +02:00
Valentin Radu
ff72f31b9b Weather: Display last time of update in Properties 2022-03-14 04:53:48 +02:00
Valentin Radu
c195120d9d Version: 22000.556.42.35 2022-03-13 22:55:59 +02:00
Valentin Radu
83c2673007 Setup: Disable UndockingDisabled when servicing the application 2022-03-13 22:01:22 +02:00
Valentin Radu
8454133623 All: Disable setting MinWidth registry value 2022-03-13 20:33:13 +02:00
Valentin Radu
70f99c18fa Updates: Allow downgrades (#1051) 2022-03-13 20:26:38 +02:00
Valentin Radu
5f9681dc1d Version: 22000.556.42.34 2022-03-10 08:16:21 +02:00
Valentin Radu
d1b3dcc764 Weather: Fixed buggy left/top positioning option (#1041) 2022-03-10 08:14:06 +02:00
Valentin Radu
cebc2b555f Weather: Fixed a bug that prevented resizing other deskbands (#1043) 2022-03-10 08:01:12 +02:00
Valentin Radu
d054477de7 Version: 22000.556.42.33 2022-03-10 02:25:43 +02:00
Valentin Radu
69a667c4c9 Taskabr10: Fixed a bug that prevented the left/top taskbar align option for the weather widget from working correctly (#1041) 2022-03-10 02:18:48 +02:00
Valentin Radu
a7ab5287c6 Taskbar10: Centered taskbar works in remote sessions and when animations are turned off system-wide 2022-03-10 02:15:50 +02:00
Valentin Radu
a52d3eb615 Taskbar10: UndeadStartCorner is optional (#1036) 2022-03-09 22:36:39 +02:00
Valentin Radu
131ff74739 Taskbar10: Read taskbar buttons visibility settings at startup 2022-03-09 22:35:49 +02:00
Valentin Radu
25ef1b23e1 Weather: Implemented zoom levels (#1033) 2022-03-09 20:08:03 +02:00
Valentin Radu
aa8524487b Weather: Hide mysterious line that appears at the top of the widget for some places 2022-03-09 19:56:37 +02:00
Valentin Radu
6a26e76d1f Weather: Fixed widget displaying, at startup, a day/night icon relating to time at last hour change, instead of the actual current time 2022-03-09 19:54:57 +02:00
Valentin Radu
12c7d0fb6b Version: 22000.556.42.32 2022-03-09 04:18:18 +02:00
Valentin Radu
de2e1b5730 * Weather widget can now show on the left/top side of the taskbar
* Weather widget can display condition on 2 lines
* Reliability improvements for the centered Windows 10 taskbar which now also works along with other taskbar toolbars
2022-03-09 04:17:56 +02:00
Valentin Radu
8c99264420 Symbols: Built-in support for 22000.556 2022-03-09 03:15:24 +02:00
Valentin Radu
1a207e0eb8 StartUI: Default to left alignment on Windows 10 2022-03-09 03:14:25 +02:00
Valentin Radu
bbe6a7b2bd Taskbar10: Centered with Start button works correctly when taskbar is vertical 2022-03-07 17:47:16 +02:00
Valentin Radu
80106bbd7d Version: 22000.493.42.31 2022-03-07 03:52:28 +02:00
Valentin Radu
d8d3221fd3 Weather: Icon pack applies to widget icons as well (#1015) 2022-03-07 03:43:38 +02:00
Valentin Radu
8c7b2954aa Taskbar10: Attempt to fix potentially misaligned centered taskbar at startup 2022-03-07 03:40:26 +02:00