text:
Update Void accept behavior and take advantage in Repl

Several Power Fx functions have no real return value.  To date, Canvas apps have returned Boolean values that aren't seen and likely this behavior is not well known.  With the Repl, these values are being printed as part of the stream and it can be confusing. to see Set( x, 3 ) and then true.  Similarly, it is seems odd in a strongly typed language to return a value that really has no meaning (the true from Set) which could be a coding error, the kind of thing that strong typing should catch.
Changes to be made:

Void will accept all types, including Void.  In Power Apps, behavior properties would be of type Void, and they work with any formula, dropping the computed value.
Void will not be accepted by any other types (except Void).  Trying to use the output from Set will result in an error.
The following functions will return Void: Set, Clear, Remove, Notify (Repl), Help (Repl), Exit (Repl).  Future functions that have no return value will return Void.

There is a tiny loss of functionality with this change.  The result from Remove can no longer be put in a variable.  Which normally doesn't matter as Remove returns no value.  But, if Remove encounters an error, that error can no longer be put in a variable.  The error will still be reported and can be caught and processed with IfError and App.OnError in Power Apps.  With an IfError, the error record can be extracted and that can be put in a variable.  The team discussed this and we do not believe this is a common pattern, if used at all.

✅ No public API change.

✅ No public API change.

                // where Foo() is a peudo function, get CheckResult for just 'expr' and pass in.

Not in your changes, but since you're touching this file, can you fix this typo?

Refers to: src/libraries/Microsoft.PowerFx.Repl/Repl.cs:291 in ab70632. [](commit_id = ab7063278aa773041afe9507a9123566b088bf48, deletion_comment = False)

    public void DTypeUnion_PowerFxV1CompatRules_VoidNotCompatibleWithAnything(bool usePFxV1CompatRules)

Please update the test name

Refers to: src/tests/Microsoft.PowerFx.Core.Tests/TypeSystemTests/DTypeTests.cs:2892 in ab70632. [](commit_id = ab7063278aa773041afe9507a9123566b088bf48, deletion_comment = False)

Good comments, thank you!  I addressed the other two comments as well.

✅ No public API change.

✅ No public API change.

✅ No public API change.

repo: microsoft/Power-Fx


text:
Interactive Dynamic Task Switcher: Custom Keys(on keyboard) + Mouse Pointer

Description of the new feature / enhancement
This app shall be used with  Frame-Transparency next to the "Minimize" Button to control the transparency of that window.
Holding Custom key combination(not limited to 1 or 2 keys) will temporary bring the fore/background pane/windows up depending where the mouse is pointing until keys are lifted/not holing or re-pressing the key combination will cancel and abort the process. When mouse hovers for (custom) second(s), a overlapped layer which is also overlapped with an other app or currently in-use window/process, it shall bring the bottom-most pane up and focus on it.
If the mouse goes out of the currently active pane, it goes active/focus another pane that is currently pointing to.
When mouse points within a frame and performed a triple-finger tap, it locks focus on that app or permanently brings up that window until a triple-finger tap is performed within the same frame again to abort the action made on that specific app.
Three finger tap: To Lock focus the layer beneath the overlapped one that has been brought up. Tap again to cancel.
Four finger tap:  Permanently bring the app up to foreground even after Custom Key Combination is unlocked or not being hold.
Custom Key combination + Custom Lock key: Locks key combination so you don't have to keep pressing
Custom key combination + Arrow Keys: bring up another app that is partly/fully covered by another app
Hold Custom Key combination+ W/A/S/D or numpad 2,4,6,8 on chosen keyboard to switch between tabs with in an app that is currently using:
->A/D or 4/6 to switch left/right tabs of that app
->W/S or 2/8 to switch between windows of that app
Basic key combination: by following where the mouse goes,moves and points to, this brings up an overlapped pane hiding beneath another pane and auto focus on the app until it leaves the focused pane.
Scenario when this would be used?
Generally, the smaller the screen like laptops and screens with 40 inches below, will more likely to use it. We all know screen-estate is fixed until you buy another monitor.
When I work or do a research about it, I have to keep multiple apps open. Instead of always minimizing or clicking a window currently overlapped by other using apps to switch focus, just to bring the app up so I can control or click a few icons within it and switch back to typing, drawing, video editing or work, etc. is super annoying for multitasker like me that always switch between tasks and apps, especially when an app like Microsoft edge has multiple windows instead of tabs for organization/easy-switch between FancyZones, you have point your mouse all the way down to the icon, wait for a few second for the reference windows to pop up and then waste half a minute just to find the one you are looking for that I have just recently used. Then I go to Spotify just to click a few buttons and then switch back to the main one I'm using for work, it is just so tedious and long as my words above.
What if we can activate a custom key combination by holding it down until you're done with it or press one more key to lock and unlock(so you don't have to always hold on the keys).?
Conclusion:
Three finger tap: focus the layer beneath the overlapped one that has been brought up.
Custom Key combination + Custom Lock key: Locks key combination so you don't have to keep pressing
Custom key combination + Arrow Keys: bring up another app that is partly/fully covered by another app
Hold Custom Key combination+ W/A/S/D or numpad 2,4,6,8 on chosen keyboard to switch between tabs with in an app that is currently using:
->A/D or 4/6 to switch left/right tabs of that app
->W/S or 2/8 to switch between windows of that app
Basic key combination: by following where the mouse goes,moves and points to, this brings up an overlapped pane hiding beneath another pane and auto focus on the app until it leaves the focused pane.
Supporting information
No response

can you help bring me along a bit more here.  This is heavy implementation but doesn't explain the what

source: gharchive/issue

repo: microsoft/PowerToys

license: MIT

license_type: permissive

license_source: github-api


text:
Hero image doesn’t load on mobile

Provide a description of requested docs changes
Change the path to the hero image to an absolute one. So that it can be displayed in GitHub mobile.

Looking at markdown, I bet just shifting to an actual MD tag will fix this. It was an img tag when we wanted to do a different style format

authors: Aaron-Junker crutkas


text:
Mouse utilities disabling while using specific programs

Description of the new feature / enhancement
Adding an option in the control panel for Mouse utilities to enable and disable specific features while using specific programs.
Scenario when this would be used?
During a gameplay session, you could disable Find My Mouse or Mouse Highlighter while gaming, so it doesn't appear on screen, and reenables after the game closes, or is tabbed out of.
Supporting information
No response

This was added in .56.1
For highlighter, the keystroke should be unique enough where i'm surprised this is triggering.

My bad, I overlooked the option. Closing now.


text:
[PT Run] Potential Race Condition? Powertoys Run cuts off input or uses previous input

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

Open powertoys run
Rapidly type a search and hit enter

✔ Expected Behavior
Full Input is Passed
❌ Actual Behavior
Input gets cut off or previous input is used instead

Search 1: Works
Search 2: Uses previous input
Search 3: Works
Search 4: Gets cut off
Other Software
No response

I have the same bug. You are typing to fast. 😅

Indeed, @htcfreek is on to something, it's much harder to reproduce if "Search delay (ms)" is lower (like 1ms).

Indeed, @htcfreek is on to something, it's much harder to reproduce if "Search delay (ms)" is lower (like 1ms).

I'm sure this is mainly to not slam the search index with repeated searches, however, the final input should still be taken when  is pressed, not the last checked input.

Yes, that is the root of the issue, I think. @shandsj  or @jaimecbernardo might have better solution, but a possible solution is here https://github.com/jefflord/PowerToys/tree/Powertoys-Run-cuts-off-input-or-uses-previous-input-19157
What it does it just try to disable the selected item if the user has started to typing/searching. It will re-enable the selected item when it's set.
If you want to exacerbate this issue for repro purposes, just increase the "Search delay" to something nutty like 1500ms.

@jefflord
What happened if I click on a result at the point when it is disabled? Do I have to click twice in this case?

@jaimecbernardo

Interesting solution

I don't like it, but it works. Should I submit this as a PR to resolve this issue or wait for the creators of the "delay search" to do it "right"?

authors: htcfreek jefflord rcmaehl


text:
Image Compression

Description of the new feature / enhancement
While Image Resizer is working well, If this application can provide Image Compression Feature It will be very good and appreciable. Mainly use of Image Compression is to Compress Image by setting its quality and format/extensions like jpg,png,webp, etc.
Scenario when this would be used?
Compressed Images will be helpful to web developer to update compressed images on websites to save website load time and internet data as well
Supporting information
below are some online Image Compression tools, but if we get it offline like in Microsoft PowerToys application it would be really helpful and appreciated.
https://www.xconvert.com/compress-image
https://tinypng.com/

@jacktestingemail Image Resizer currently has a JPEG quality option in the settings. Does this work for you? /needinfo

I add to the request "loosless compression option" please.

authors: TheJoeFin jacktestingemail kintaro1981


text:
Crash when trying to preview a csharp file in file explorer

Microsoft PowerToys version
0.66
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
File Explorer: Preview Pane
Steps to reproduce
Just click on a csharp file (.cs) with the preview panel activated
✔ Expected Behavior
Seeing the content of the file
❌ Actual Behavior
The content of the file is never showed and a .Net exception window appears.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (0x8000FFFF (E_UNEXPECTED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(IntPtr ParentWindow)
at Microsoft.Web.WebView2.WinForms.WebView2.InitCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)
at Microsoft.PowerToys.PreviewHandler.Monaco.MonacoPreviewHandlerControl.<>c__DisplayClass14_1`1.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at InvokeStub_SendOrPostCallback.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.CoreLib.dll
PowerToys.MonacoPreviewHandler
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MonacoPreviewHandler.dll
System.Runtime
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.dll
WinRT.Runtime
Assembly Version: 2.0.0.0
Win32 Version: 2.0.1.40881
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WinRT.Runtime.dll
System.Collections
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.dll
System.Collections.Concurrent
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Concurrent.dll
System.Threading
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.dll
System.Drawing.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Primitives.dll
System.Windows.Forms
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56811
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.dll
PowerToys.PreviewHandlerCommon
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll
System.ComponentModel.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.Primitives.dll
System.Windows.Forms.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56811
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.Primitives.dll
System.Runtime.InteropServices
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.InteropServices.dll
System.Collections.Specialized
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Specialized.dll
PowerToys.Interop
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Interop.dll
System.Runtime.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Extensions.dll
System.Collections.NonGeneric
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.NonGeneric.dll
WindowsBase
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WindowsBase.dll
PowerToys.Common.UI
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll
System.Diagnostics.TraceSource
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TraceSource.dll
System.Drawing.Common
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Common.dll
Microsoft.Win32.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Primitives.dll
System.ComponentModel.EventBasedAsync
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.EventBasedAsync.dll
System.Threading.Thread
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Thread.dll
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56811
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Accessibility.dll
Microsoft.Win32.SystemEvents
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.SystemEvents.dll
Microsoft.Web.WebView2.Core
Assembly Version: 1.0.1343.22
Win32 Version: 1.0.1343.22
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/mscorlib.dll
Microsoft.Web.WebView2.WinForms
Assembly Version: 1.0.1343.22
Win32 Version: 1.0.1343.22
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll
System.IO.Abstractions
Assembly Version: 17.0.0.0
Win32 Version: 17.2.3.42299
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.IO.Abstractions.dll
System.Security.AccessControl
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Security.AccessControl.dll
System.Diagnostics.TextWriterTraceListener
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TextWriterTraceListener.dll
System.Text.Encoding.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encoding.Extensions.dll
System.Diagnostics.StackTrace
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.StackTrace.dll
System.Runtime.CompilerServices.Unsafe
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.Unsafe.dll
PowerToys.ManagedCommon
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll
ControlzEx
Assembly Version: 5.0.0.0
Win32 Version: 5.0.1.15
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll
PresentationCore
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationCore.dll
PresentationFramework
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework.dll
DirectWriteForwarder
Assembly Version: 7.0.0.0
Win32 Version: 7,0,122,56903 @Commit: b824ea7e65424cd8b0121cc7d2dea88a4a2cb4aa
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/DirectWriteForwarder.dll
System.Diagnostics.Debug
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Debug.dll
System.Runtime.CompilerServices.VisualC
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.VisualC.dll
Microsoft.Win32.Registry
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Registry.dll
System.Memory
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Memory.dll
System.ObjectModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ObjectModel.dll
System.ComponentModel.TypeConverter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.TypeConverter.dll
System.ComponentModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.dll
System.Xaml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xaml.dll
System.Private.Uri
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Uri.dll
System.Configuration.ConfigurationManager
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Configuration.ConfigurationManager.dll
System.Xml.ReaderWriter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xml.ReaderWriter.dll
System.Private.Xml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Xml.dll
System.Net.WebClient
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Net.WebClient.dll
System.Linq
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Linq.dll
PresentationFramework-SystemXml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework-SystemXml.dll
System.Numerics.Vectors
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Numerics.Vectors.dll
System.Text.Json
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Json.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.dll
PowerToys.Settings.UI.Lib
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Settings.UI.Lib.dll
System.Threading.ThreadPool
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.ThreadPool.dll
System.Text.Encodings.Web
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encodings.Web.dll
System.Threading.Tasks
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Tasks.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.dll
System.Reflection.Emit.Lightweight
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.Lightweight.dll
System.Reflection.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Primitives.dll
System.Reflection.Emit.ILGeneration
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.ILGeneration.dll
System.Runtime.Intrinsics
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Intrinsics.dll
PowerToys.ManagedTelemetry
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedTelemetry.dll
System.Diagnostics.Tracing
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Tracing.dll
System.Runtime.Loader
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Loader.dll
System.Reflection.Metadata
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Metadata.dll
System.Collections.Immutable
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Immutable.dll
************** JIT Debugging **************
Other Software
No response

I have the same exception occurring on markdown files. Same Version too.

exception details
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (0x8000FFFF (E_UNEXPECTED))
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(IntPtr ParentWindow)
   at Microsoft.Web.WebView2.WinForms.WebView2.InitCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)
   at Microsoft.PowerToys.PreviewHandler.Markdown.MarkdownPreviewHandlerControl.<>c__DisplayClass18_0`1.<<DoPreview>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at InvokeStub_SendOrPostCallback.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.CoreLib.dll
----------------------------------------
PowerToys.MarkdownPreviewHandler
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MarkdownPreviewHandler.dll
----------------------------------------
System.Runtime
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.dll
----------------------------------------
WinRT.Runtime
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.1.40881
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WinRT.Runtime.dll
----------------------------------------
System.Collections
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Concurrent.dll
----------------------------------------
System.Threading
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Primitives.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.dll
----------------------------------------
PowerToys.PreviewHandlerCommon
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.InteropServices.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Specialized.dll
----------------------------------------
PowerToys.Interop
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Interop.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Extensions.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.NonGeneric.dll
----------------------------------------
WindowsBase
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WindowsBase.dll
----------------------------------------
PowerToys.Common.UI
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Common.dll
----------------------------------------
Markdig.Signed
    Assembly Version: 0.27.0.0
    Win32 Version: 0.27.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Markdig.Signed.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Primitives.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Thread.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Accessibility.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Uri.dll
----------------------------------------
Microsoft.Web.WebView2.Core
    Assembly Version: 1.0.1343.22
    Win32 Version: 1.0.1343.22
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll
----------------------------------------
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/mscorlib.dll
----------------------------------------
System.IO.Abstractions
    Assembly Version: 17.0.0.0
    Win32 Version: 17.2.3.42299
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.IO.Abstractions.dll
----------------------------------------
System.Security.AccessControl
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Security.AccessControl.dll
----------------------------------------
System.Text.RegularExpressions
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.RegularExpressions.dll
----------------------------------------
PowerToys.ManagedCommon
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll
----------------------------------------
Microsoft.Web.WebView2.WinForms
    Assembly Version: 1.0.1343.22
    Win32 Version: 1.0.1343.22
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll
----------------------------------------
PowerToys.ManagedTelemetry
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedTelemetry.dll
----------------------------------------
System.Diagnostics.Tracing
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Tracing.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
System.Memory
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Memory.dll
----------------------------------------
ControlzEx
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1.15
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll
----------------------------------------
PresentationCore
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationCore.dll
----------------------------------------
PresentationFramework
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework.dll
----------------------------------------
DirectWriteForwarder
    Assembly Version: 7.0.0.0
    Win32 Version: 7,0,122,56903 @Commit: b824ea7e65424cd8b0121cc7d2dea88a4a2cb4aa
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/DirectWriteForwarder.dll
----------------------------------------
System.Diagnostics.Debug
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Debug.dll
----------------------------------------
System.Runtime.CompilerServices.VisualC
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.VisualC.dll
----------------------------------------
Microsoft.Win32.Registry
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Registry.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ObjectModel.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.dll
----------------------------------------
System.Xaml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xaml.dll
----------------------------------------
System.Configuration.ConfigurationManager
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Xml.dll
----------------------------------------
System.Net.WebClient
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Net.WebClient.dll
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Linq
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Linq.dll
----------------------------------------
PresentationFramework-SystemXml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework-SystemXml.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.dll
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.ThreadPool.dll
----------------------------------------
System.Threading.Tasks
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Tasks.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.dll
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Numerics.Vectors.dll
----------------------------------------
System.Runtime.Loader
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Loader.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Immutable.dll
----------------------------------------

************** JIT Debugging **************

`

</details>

Same version same issue here.

I get the same with sh, ps1, psm1, psd1, pretty much anything that uses powertoys to show in preview pane gives the same error for me.  The bellow error is for an .sh file.

Error Details
```
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (0x8000FFFF (E_UNEXPECTED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(IntPtr ParentWindow)
at Microsoft.Web.WebView2.WinForms.WebView2.InitCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)
at Microsoft.PowerToys.PreviewHandler.Monaco.MonacoPreviewHandlerControl.<>c__DisplayClass14_1`1.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at InvokeStub_SendOrPostCallback.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.CoreLib.dll
PowerToys.MonacoPreviewHandler
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MonacoPreviewHandler.dll
System.Runtime
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.dll
WinRT.Runtime
Assembly Version: 2.0.0.0
Win32 Version: 2.0.1.40881
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WinRT.Runtime.dll
System.Collections
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.dll
System.Collections.Concurrent
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Concurrent.dll
System.Threading
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.dll
System.Drawing.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Primitives.dll
System.Windows.Forms
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56811
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.dll
PowerToys.PreviewHandlerCommon
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll
System.ComponentModel.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.Primitives.dll
System.Windows.Forms.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56811
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.Primitives.dll
System.Runtime.InteropServices
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.InteropServices.dll
System.Collections.Specialized
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Specialized.dll
PowerToys.Interop
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Interop.dll
System.Runtime.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Extensions.dll
System.Collections.NonGeneric
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.NonGeneric.dll
WindowsBase
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WindowsBase.dll
PowerToys.Common.UI
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll
System.Diagnostics.TraceSource
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TraceSource.dll
System.Drawing.Common
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Common.dll
Microsoft.Win32.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Primitives.dll
System.ComponentModel.EventBasedAsync
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.EventBasedAsync.dll
System.Threading.Thread
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Thread.dll
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56811
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Accessibility.dll
Microsoft.Win32.SystemEvents
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.SystemEvents.dll
Microsoft.Web.WebView2.Core
Assembly Version: 1.0.1343.22
Win32 Version: 1.0.1343.22
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/mscorlib.dll
Microsoft.Web.WebView2.WinForms
Assembly Version: 1.0.1343.22
Win32 Version: 1.0.1343.22
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll
System.IO.Abstractions
Assembly Version: 17.0.0.0
Win32 Version: 17.2.3.42299
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.IO.Abstractions.dll
System.Security.AccessControl
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Security.AccessControl.dll
System.Diagnostics.TextWriterTraceListener
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TextWriterTraceListener.dll
System.Text.Encoding.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encoding.Extensions.dll
System.Diagnostics.StackTrace
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.StackTrace.dll
System.Runtime.CompilerServices.Unsafe
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.Unsafe.dll
PowerToys.ManagedCommon
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll
ControlzEx
Assembly Version: 5.0.0.0
Win32 Version: 5.0.1.15
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll
PresentationCore
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationCore.dll
PresentationFramework
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework.dll
DirectWriteForwarder
Assembly Version: 7.0.0.0
Win32 Version: 7,0,122,56903 @Commit: b824ea7e65424cd8b0121cc7d2dea88a4a2cb4aa
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/DirectWriteForwarder.dll
System.Diagnostics.Debug
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Debug.dll
System.Runtime.CompilerServices.VisualC
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.VisualC.dll
Microsoft.Win32.Registry
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Registry.dll
System.Memory
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Memory.dll
System.ObjectModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ObjectModel.dll
System.ComponentModel.TypeConverter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.TypeConverter.dll
System.ComponentModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.dll
System.Xaml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xaml.dll
System.Private.Uri
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Uri.dll
System.Configuration.ConfigurationManager
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Configuration.ConfigurationManager.dll
System.Xml.ReaderWriter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xml.ReaderWriter.dll
System.Private.Xml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Xml.dll
System.Net.WebClient
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Net.WebClient.dll
System.Linq
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Linq.dll
PresentationFramework-SystemXml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56903
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework-SystemXml.dll
System.Numerics.Vectors
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Numerics.Vectors.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.dll
System.Text.Json
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Json.dll
System.Threading.ThreadPool
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.ThreadPool.dll
PowerToys.Settings.UI.Lib
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Settings.UI.Lib.dll
System.Threading.Tasks
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Tasks.dll
System.Text.Encodings.Web
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encodings.Web.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.dll
System.Reflection.Emit.Lightweight
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.Lightweight.dll
System.Reflection.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Primitives.dll
System.Reflection.Emit.ILGeneration
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.ILGeneration.dll
System.Runtime.Intrinsics
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Intrinsics.dll
PowerToys.ManagedTelemetry
Assembly Version: 0.66.0.0
Win32 Version: 0.66.0.0
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedTelemetry.dll
System.Diagnostics.Tracing
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Tracing.dll
System.Runtime.Loader
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Loader.dll
System.Reflection.Metadata
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Metadata.dll
System.Collections.Immutable
Assembly Version: 7.0.0.0
Win32 Version: 7.0.122.56804
CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Immutable.dll
************** JIT Debugging **************
</details>

Potential fix below (keep reading)
Same issue here, seems to be anything using Monaco to preview.
Occurring on the same filetypes as described above, as well as:

.html
.xaml
.xml
.py
.pdf
.json
.log
..to name a few.

Interestingly, I did a repair on my WebView Runtime and it fixed the issue immediately.
Sadly, I didn't get the version number before the repair, but my Microsoft Edge WebView2 Runtime is now sitting at ver: 109.0.1518.61
I am on an insider ver of Win11 and noticed it installed the beta channel Edge client (lol thanks) around the same time this started happening a couple days ago. I've not a clue on the complexities of how Webview & the Edge client are intertwined but I do believe they are related in some manner, so is likely there was a bad update out in the wild?
Anyway, my two cents on the matter - just glad it's working again.
Error Details
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (0x8000FFFF (E_UNEXPECTED))
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(IntPtr ParentWindow)
   at Microsoft.Web.WebView2.WinForms.WebView2.InitCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)
   at Microsoft.PowerToys.PreviewHandler.Monaco.MonacoPreviewHandlerControl.<>c__DisplayClass14_1`1.<<DoPreview>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at InvokeStub_SendOrPostCallback.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.CoreLib.dll
----------------------------------------
PowerToys.MonacoPreviewHandler
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.MonacoPreviewHandler.dll
----------------------------------------
System.Runtime
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.dll
----------------------------------------
WinRT.Runtime
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.1.40881
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WinRT.Runtime.dll
----------------------------------------
System.Collections
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Concurrent.dll
----------------------------------------
System.Threading
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Primitives.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.dll
----------------------------------------
PowerToys.PreviewHandlerCommon
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.PreviewHandlerCommon.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.InteropServices.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Specialized.dll
----------------------------------------
PowerToys.Interop
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Interop.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Extensions.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.NonGeneric.dll
----------------------------------------
WindowsBase
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/WindowsBase.dll
----------------------------------------
PowerToys.Common.UI
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Common.UI.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.Common.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Primitives.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Thread.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56811
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Accessibility.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.SystemEvents.dll
----------------------------------------
Microsoft.Web.WebView2.Core
    Assembly Version: 1.0.1343.22
    Win32 Version: 1.0.1343.22
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.Core.dll
----------------------------------------
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/mscorlib.dll
----------------------------------------
Microsoft.Web.WebView2.WinForms
    Assembly Version: 1.0.1343.22
    Win32 Version: 1.0.1343.22
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Web.WebView2.WinForms.dll
----------------------------------------
System.IO.Abstractions
    Assembly Version: 17.0.0.0
    Win32 Version: 17.2.3.42299
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.IO.Abstractions.dll
----------------------------------------
System.Security.AccessControl
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Security.AccessControl.dll
----------------------------------------
System.Diagnostics.TextWriterTraceListener
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.TextWriterTraceListener.dll
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.Unsafe.dll
----------------------------------------
PowerToys.ManagedCommon
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedCommon.dll
----------------------------------------
ControlzEx
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.1.15
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/ControlzEx.dll
----------------------------------------
PresentationCore
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationCore.dll
----------------------------------------
PresentationFramework
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework.dll
----------------------------------------
DirectWriteForwarder
    Assembly Version: 7.0.0.0
    Win32 Version: 7,0,122,56903 @Commit: b824ea7e65424cd8b0121cc7d2dea88a4a2cb4aa
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/DirectWriteForwarder.dll
----------------------------------------
System.Diagnostics.Debug
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Debug.dll
----------------------------------------
System.Runtime.CompilerServices.VisualC
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.CompilerServices.VisualC.dll
----------------------------------------
Microsoft.Win32.Registry
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/Microsoft.Win32.Registry.dll
----------------------------------------
System.Memory
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Memory.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ObjectModel.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.ComponentModel.dll
----------------------------------------
System.Xaml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xaml.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Uri.dll
----------------------------------------
System.Configuration.ConfigurationManager
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Private.Xml.dll
----------------------------------------
System.Net.WebClient
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Net.WebClient.dll
----------------------------------------
System.Linq
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Linq.dll
----------------------------------------
PresentationFramework-SystemXml
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56903
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PresentationFramework-SystemXml.dll
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Numerics.Vectors.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.dll
----------------------------------------
System.Text.Json
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Json.dll
----------------------------------------
PowerToys.Settings.UI.Lib
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.Settings.UI.Lib.dll
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.ThreadPool.dll
----------------------------------------
System.Text.Encodings.Web
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Text.Encodings.Web.dll
----------------------------------------
System.Threading.Tasks
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Threading.Tasks.dll
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.Lightweight.dll
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Primitives.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Drawing.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Runtime.Intrinsics
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Intrinsics.dll
----------------------------------------
PowerToys.ManagedTelemetry
    Assembly Version: 0.66.0.0
    Win32 Version: 0.66.0.0
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/PowerToys.ManagedTelemetry.dll
----------------------------------------
System.Diagnostics.Tracing
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Diagnostics.Tracing.dll
----------------------------------------
System.Runtime.Loader
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Runtime.Loader.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 7.0.0.0
    Win32 Version: 7.0.122.56804
    CodeBase: file:///C:/Program%20Files/PowerToys/modules/FileExplorerPreview/System.Collections.Immutable.dll
----------------------------------------

************** JIT Debugging **************

PowerToys ver: v0.66.0
OS Build: 22623.1180

Repairing WebView2 fixed it for me, thanks!

Reparing WebView2 also fixed this same issue for me. I did check my WebView2 Runtime version before and after. Before repairing I was on 109.0.1518.52 and after I was on 109.0.1518.61

/dup https://github.com/microsoft/PowerToys/issues/23384

authors: JJarv04 WegnerDan Woznet alunosnet brentward davidegiacometti sbrisson1


text:
PowerToys Run Does Not Launch

Microsoft PowerToys version
0.67.0.0
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
Log Information:
Version: 0.67.0.0
OS Version: Microsoft Windows NT 10.0.22623.0
IntPtr Length: 8
x64: True
Date: 2/3/2023 10:29:06 AM
Exception:
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\PowerToys\modules\launcher\Images\app.dark.png'.
File name: 'C:\Program Files\PowerToys\modules\launcher\Images\app.dark.png'
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
at PowerLauncher.App.<>c__DisplayClass19_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
✔ Expected Behavior
I typed the PowerToys Run keyboard shortcut and nothing happened. The only way I could get it to launch was by going into the PowerToys app and launching Run from there.
❌ Actual Behavior
Nothing appeared when I typed the keyboard shortcut.
Other Software
No response

/dup #23264

This might be caused by some older files not being uninstalled correctly.
Would you mind:
1 - Uninstall PowerToys.
2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually.
3 - Install PowerToys.
Please let us know if this works for you.

authors: jaimecbernardo kentonewman


text:
Permanently disable rounded corners in Windows 11

Description of the new feature / enhancement
From what I know, you can via Fanzy Zones disable rounded corners in Windows 11 when snapping, but as soon as yo restart or something like that, it's gone and you have to snap again. Would be nice with a feature to just turn it of in Windows 11. Have been searching for other reliable ways to disable it in Windows 11 but have not been able to find any.
Scenario when this would be used?
When using FanzyZones and stack windows side by side, rounded corners looks really bad.
Supporting information
No response

/dup #18052

authors: Aaron-Junker improwise


text:
Fancy-Zones: Issues with none standard apps.

Microsoft PowerToys version
0.76.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
Using Facebook Messenger for windows version 200.0.0.24.217. When I press the Shift key to activate Fancy zones and drag the app window it no longer activates Fancy-Zones, I do not see the zone shown on my screen and I cannot attach the window to the desired zone.
✔ Expected Behavior
Normal behavior, Holding shift while moving the window shows the zones and lets me attach the app to the zone. like the rest of the applications on my desktop.
❌ Actual Behavior
Nothing... like the app is turned off.
Other Software
No response

@SeraphimaZykova FYI

/dup #30148


text:
无法打开

Microsoft PowerToys version
0.82.0.0
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
Crop and Lock
Steps to reproduce
Version: 0.82.0.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 2024/7/14 18:14:36
Exception:
System.ArgumentException: Value does not fall within the expected range.
at Wox.Plugin.Common.Win32.NativeMethods.DwmSetWindowAttribute(IntPtr hwnd, Int32 attr, UInt32& attrValue, Int32 attrSize)
at PowerLauncher.ViewModel.MainViewModel.ToggleWox()
at PowerLauncher.ViewModel.MainViewModel.b__147_0()
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at PowerLauncher.ViewModel.MainViewModel.OnHotkey()
at PowerLauncher.ViewModel.MainViewModel.ProcessHotKeyMessages(IntPtr wparam, IntPtr lparam)
at PowerLauncher.MainWindow.ProcessWindowMessages(IntPtr hwnd, Int32 msg, IntPtr wparam, IntPtr lparam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
✔ Expected Behavior
可以使用
❌ Actual Behavior
无法打开
Other Software
Version: 0.82.0.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 2024/7/14 18:14:36
Exception:
System.ArgumentException: Value does not fall within the expected range.
at Wox.Plugin.Common.Win32.NativeMethods.DwmSetWindowAttribute(IntPtr hwnd, Int32 attr, UInt32& attrValue, Int32 attrSize)
at PowerLauncher.ViewModel.MainViewModel.ToggleWox()
at PowerLauncher.ViewModel.MainViewModel.b__147_0()
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at PowerLauncher.ViewModel.MainViewModel.OnHotkey()
at PowerLauncher.ViewModel.MainViewModel.ProcessHotKeyMessages(IntPtr wparam, IntPtr lparam)
at PowerLauncher.MainWindow.ProcessWindowMessages(IntPtr hwnd, Int32 msg, IntPtr wparam, IntPtr lparam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Fixed in the latest version. Please update to 0.82.1
/dup https://github.com/microsoft/PowerToys/issues/33504


text:
can't find files with PowerToys Run search

here my windows version: Microsoft Windows [Version 10.0.19041.264]
I can find the file If I search using windows search from taskbar, but not from PowerToys Run.

Hi @keserwan
are you running PowerToys as administrator? In that case the problem is tracked by https://github.com/microsoft/PowerToys/issues/3646

Thank you, yes it was as Administrator, and it worked without it.

If you want to test it, there is an unsigned private build available with a hotfix
https://github.com/microsoft/PowerToys/issues/3646#issuecomment-636096648

authors: enricogior keserwan


text:
Feature Request: Tiling Windows

📝 A Window Tiling Extension.
Some of us really like Tiling Window Managers, like i3, but it would be great if there was a powertoy to auto-tile windows when enabled, like the Pop!_OS 20.04 'Tile Windows' Feature. It would be great if this would be implemented in a later version, it would be great to see before 1.0. 👍

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Also, this needn't be a really important feature.
Links: https://www.omgubuntu.co.uk/2020/03/pop-shell-wants-to-bring-proper-tiling-window-features-to-gnome-shell

Links
Omg!Ubuntu

I know about Fancyzones, it could be added to by adding an option to auto tile.

Duplicate of https://github.com/microsoft/PowerToys/issues/2694


text:
Reconfigurable Disable Resize Key for FancyZones to Allow One-Handed Control

Currently, there is a setting allowing the Shift key to be held to disable resizing (or enable it) of the window into a FancyZones Zone. The way this is accomplished is via calling GetAsyncKeyState which is then passed the VK_SHIFT constant. This requires the user to use one hand to hold the shift key and the other to drag the window. It would be preferable to be able to decide window positioning using only the mouse (i.e. one-handed). This can be accomplished via allowing the VK_SHIFT constant to be passed in from a user setting where the user could decide to set it to any preferred Virtual-Key Code including VK_RBUTTON where the user would hold both right and left mouse buttons to move the window without resizing.
I believe the solution would be to add a setting exposing the Virtual-Key Code options and pass the decided option to this line of code: https://github.com/microsoft/PowerToys/blob/5f8c4ea143c25f90a253baeb541534db5f78f60c/src/modules/fancyzones/lib/FancyZones.cpp#L612
I've tested manually changing this value to VK_RBUTTON in a local build and it produces the behavior I've described (and the UX is quite nice in my opinion), but I'm sure other users will have preferences which could be easily accounted for with an additional setting.
If someone can advise me as to the best way to add a key dropdown setting, I'd be happy to add the feature myself and submit a PR. I'm sure I can get the UI element, but I'm not sure the best way to populate that list for the user.

Hi @kevroy314
this is a great suggestion and thank you for offering to implement the feature.
Maybe we can support multiple modifiers at the same time, would you give it a try and see it you can "or" the shift key pressed and the rbutton?
Thank you.

Yes, that works fine. The only thing I'm not sure of is how to implement
the additional setting appropriately. When I add an int component, it seems
to not save the value appropriately as I'd expect, so I suspect I've
misunderstood how that system is designed.
I'll take a look at the hotkey setting to see if I can use something there
instead. That's certainly a better experience than looking up the key code!
On Thu, Nov 7, 2019, 2:11 AM Enrico Giordani notifications@github.com
wrote:

Hi @kevroy314 https://github.com/kevroy314
this is a great suggestion and thank you for offering to implement the
feature.
Maybe we can support multiple modifiers at the same time, would you give
it a try and see it you can "or" the shift key pressed and the rbutton?
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/672?email_source=notifications&email_token=AACJQN25MKKF6GLQU7WQECLQSPESRA5CNFSM4JKCD2H2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDLSIHA#issuecomment-550970396,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACJQN2S6RCKEZOUYKOZFQLQSPESRANCNFSM4JKCD2HQ
.

After a little testing of the idea, I think using the mouse it should be a "switch until left click is released" action rather than a "hold" action. This way you can just tap the button and it will disable the feature until the end of the drag-and-drop event. Otherwise you have to hold down the right button until after you've released the left.
Still looking at the UI element part of this. I think adding a switch for "tap to disable" vs. "hold to disable" would be good. Then adding the "button in addition to shift" using the HotkeySettingsControl would work.
Unfortunately, since the HotkeySettingsControl object triggers on the onKeyDown event, it doesn't register the mouse buttons.:
https://github.com/microsoft/PowerToys/blob/64f606daaa965a8b080bbf6397aa2aed8ad0dcc8/src/settings-web/src/components/HotkeySettingsControl.tsx#L26
I think I'd need to add onMouseDown and mimic the code that is currently there to capture that code.
I'm only vaguely familiar with React and haven't done C++ in a while, so any advice would be welcome. I'm happy to take a shot at it still, but it may take a bit for me to get to it.

@kevroy314
do you want to add an additional setting or do you want to change the existing one to add more options?
If you can post a drawing of what you want to achieve that may help to give you directions on how to do it.
Thanks.

Adding reference to similar issue https://github.com/microsoft/PowerToys/issues/495

I'm looking to do something like this:

Pardon the terrible photoshopping.
I'm fairly certain I know how to do a good job on the core function, but making those UI elements functional (in particular, the hotkey one), is not something I'm very familiar with. I mentioned above a few things I'm pretty sure need to happen (mouse event), but when I tried a basic demo for myself with an integer control, it wouldn't save the results (reset to 1 every time).
I'm happy to write it as far as I can and then send over a branch if that's easiest.

We may not have the right Settings control to display mouse buttons selections.
We have a drop down control to show predefined lists, but in your case you would like to let the user choose a mouse button clicking on a button and having the Settings able to recognize it, right?

For this, a simple bool toggle with "Enable zone snapping with the right mouse button" would probably be enough.
@kevroy314 For storing the value take a look at https://github.com/microsoft/PowerToys/pull/673/commits/ab834b98da7a436f893475f40c1c41328fd0cd4: besides some unrelated changes this commit also adds a new text field to the Fancyzones settings screen. If you follow up with everything related to m_excludedAppsName you should find how to add new stuff to the settings screen.

@bzoz great suggestion - I implemented this in the PR you see.

We'll mark this resolved after the FancyZones README will be updated.

Closing this issue in favor of https://github.com/microsoft/PowerToys/issues/879 that tracks the documentation update.

authors: bzoz enricogior kevroy314


text:
Proposal: Add labels like [UWP] and [Win32] for easier issue grouping

"Project Reunion" targets both UWP and Win32 and we are already seeing issues for both app types. As such, for easier grouping and filtering of issues, it could be useful to have labels like "UWP" and "Win32" to clearly indicate which proposal/question is targeting which app type.

What about issues that are aimed at both platforms?  Include both labels?

@mdtauk Would make sense to me, yes.

Ideally, Reunion targets both Win32 and UWP.  Anything we add should support both - Reunion aims to be identity, packaging, isolation, and lifecycle transparent.
Can you give an example (maybe using the current set of issues) of which tags you'd put on items, and why?

Ideally, Reunion targets both Win32 and UWP. Anything we add should support both - Reunion aims to be identity, packaging, isolation, and lifecycle transparent.
Can you give an example (maybe using the current set of issues) of which tags you'd put on items, and why?

In the WinUI repo there is a discussion about different types used for things like Rect and Point - so if one API behaves oddly in either Win32 or UWP - then the issue would be asking for a fix for one over the other.

@jonwis I was hoping "ProjectReunion" would also cover APIs like AppWindow V1/V2 for UWP, to provide a similar powerful experience like Win32 Windowing APIs. (Not all win32 features might be brought over due to the sandbox.)
The File I/O issue https://github.com/microsoft/ProjectReunion/issues/8 for example is really just relevant for UWP as it "already works" for Win32 apps.
The Startup issue https://github.com/microsoft/ProjectReunion/issues/10 for example seems mainly aimed at unpackaged win32 apps and as such would probably not be relevant for UWP.
As such, it seems reasonable to me differentiate between UWP and Win32 issues here as I would imagie many (future) issues will be about bringing APIs from one side to the other (Win32 to UWP or vice-versa).

Can you add a specific "feature request" for "AppWindow-like Win32 window positioning support"? Helping HWND based apps go full-screen or picture-in-picture or "move to the left monitor" and others are definitely useful bits of functionality for even non-UWP apps.
Thanks for the suggestions - we'll noodle on ways to organize "make X thing available to Y" in tags.

Thanks, I added the UWP (support for UWP apps) and Win32 (support for Win32 packaged and unpackaged) apps labels.

authors: Felix-Dev jonwis mdtauk

repo: microsoft/ProjectReunion


text:
Integration of new mode termed as TasksMode in DatetimeOption.cs

TasksMode: When the input text is in the form of tasks (i.e., Schedule 1:1 call on Monday), this mode modifies the value of datetime reference of the input text.
Implemented four-digit number handling rule under Tasksmode:
Should not treat a four-digit number as a "daterange" if the input text does not include other reference of month or year. It should not treat 2005 as a daterange in statements like "Total no of milk packet is 2005."

Fixing of some issues is left

source: gharchive/pull-request

repo: microsoft/Recognizers-Text


text:
Add cross-plat build support

ScriptDOM build is currently limited to Windows, improve to support cross-platform environments for build

[ ] Linux
[ ] macOS

Shouldn't this be closed by https://github.com/microsoft/SqlScriptDOM/pull/65?

🙃 thank you for reminding me

authors: DragonSWDev dzsquared

repo: microsoft/SqlScriptDOM


text:
fix: remove redundant ES2020 section in module

Summary
ES2020 is referenced twice under module
Details

ES2020 is already covered in the section with ES2015 - ES2022

same exact output and already mentioned there
easier to read and more consistent

did not touch ESNext as that isn't mentioned in the below section

and theoretically could change in the future

Screenshot

I'm not sure this is right (before or after); my recollection is that there are in fact differences between 2015, 2020, and 2022, which should be document but may not be in full. Something to do with which ones can do top-level-await, import.meta, etc. @andrewbranch ?

Yes, as you can see in the screenshot, those differences are enumerated at the bottom of the ES2015 - ES2022 section. However, those differences do not change the compiled output of the example code. And they are not mentioned in the duplicate ES2020 section

Oops, completely missed that; I skipped right to the diff.

repo: microsoft/TypeScript-Website