Compare commits
23 Commits
releaseChe
...
peiyao/fix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e5e919256 | ||
|
|
3a55469ba2 | ||
|
|
c40f8a50ac | ||
|
|
1da0c59ae3 | ||
|
|
8070d681a6 | ||
|
|
e77c327962 | ||
|
|
32c922e5e8 | ||
|
|
84f97f7743 | ||
|
|
54d98407e8 | ||
|
|
44fda5a0e9 | ||
|
|
64b6f8da0f | ||
|
|
3f3cb7e8ea | ||
|
|
35722782a2 | ||
|
|
d0fcd6aebb | ||
|
|
f3c05d7e93 | ||
|
|
fcdf6dab2f | ||
|
|
a6abd967a6 | ||
|
|
e6f574dd4d | ||
|
|
6ec4f5ab0b | ||
|
|
8106a82614 | ||
|
|
f90fc35200 | ||
|
|
8b651e0a2e | ||
|
|
3394c756e3 |
8
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -7,13 +7,6 @@ body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: Please make sure to [search for existing issues](https://github.com/microsoft/PowerToys/issues) before filing a new one!
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
We are aware of the following high-volume issues and are actively working on them. Please check if your issue is one of these before filing a new bug report:
|
||||
* **PowerToys Run crash related to "Desktop composition is disabled"**: This may appear as `COMException: 0x80263001`. For more details, see issue [#31226](https://github.com/microsoft/PowerToys/issues/31226).
|
||||
* **PowerToys Run crash with `COMException (0xD0000701)`**: For more details, see issue [#30769](https://github.com/microsoft/PowerToys/issues/30769).
|
||||
* **PowerToys Run crash with a "Cyclic reference" error**: This `System.InvalidOperationException` is detailed in issue [#36451](https://github.com/microsoft/PowerToys/issues/36451).
|
||||
- id: version
|
||||
type: input
|
||||
attributes:
|
||||
@@ -65,7 +58,6 @@ body:
|
||||
- Image Resizer
|
||||
- Installer
|
||||
- Keyboard Manager
|
||||
- Light Switch
|
||||
- Mouse Utilities
|
||||
- Mouse Without Borders
|
||||
- New+
|
||||
|
||||
1
.github/ISSUE_TEMPLATE/translation_issue.yml
vendored
@@ -38,7 +38,6 @@ body:
|
||||
- Image Resizer
|
||||
- Installer
|
||||
- Keyboard Manager
|
||||
- Light Switch
|
||||
- Mouse Utilities
|
||||
- Mouse Without Borders
|
||||
- New+
|
||||
|
||||
10
.github/actions/spell-check/allow/code.txt
vendored
@@ -94,7 +94,6 @@ onefuzzingestionpreparationtool
|
||||
OTP
|
||||
Yubi
|
||||
Yubico
|
||||
Perplexity
|
||||
svgl
|
||||
|
||||
# KEYS
|
||||
@@ -320,11 +319,4 @@ MRUINFO
|
||||
REGSTR
|
||||
|
||||
# Misc Win32 APIs and PInvokes
|
||||
INVOKEIDLIST
|
||||
|
||||
# PowerRename metadata pattern abbreviations (used in tests and regex patterns)
|
||||
DDDD
|
||||
FFF
|
||||
HHH
|
||||
riday
|
||||
YYY
|
||||
INVOKEIDLIST
|
||||
2
.github/actions/spell-check/allow/names.txt
vendored
@@ -208,7 +208,6 @@ capturevideosample
|
||||
cmdow
|
||||
Controlz
|
||||
cortana
|
||||
devhints
|
||||
dlnilsson
|
||||
fancymouse
|
||||
firefox
|
||||
@@ -228,7 +227,6 @@ regedit
|
||||
roslyn
|
||||
Skia
|
||||
Spotify
|
||||
tldr
|
||||
Vanara
|
||||
wangyi
|
||||
WEX
|
||||
|
||||
6
.github/actions/spell-check/excludes.txt
vendored
@@ -105,7 +105,6 @@
|
||||
^src/common/notifications/BackgroundActivatorDLL/cpp\.hint$
|
||||
^src/common/sysinternals/Eula/
|
||||
^src/modules/cmdpal/doc/initial-sdk-spec/list-elements-mock-002\.pdn$
|
||||
^src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleMarkdownImagesPage\.cs$
|
||||
^src/modules/colorPicker/ColorPickerUI/Shaders/GridShader\.cso$
|
||||
^src/modules/launcher/Plugins/Microsoft\.PowerToys\.Run\.Plugin\.TimeDate/Properties/
|
||||
^src/modules/MouseUtils/MouseJumpUI/MainForm\.resx$
|
||||
@@ -122,10 +121,6 @@
|
||||
^src/modules/MouseWithoutBorders/App/Helper/.*\.resx$
|
||||
^src/modules/MouseWithoutBorders/ModuleInterface/generateSecurityDescriptor\.h$
|
||||
^src/modules/peek/Peek.Common/NativeMethods\.txt$
|
||||
^src/modules/peek/Peek.UITests/TestAssets/4\.qoi$
|
||||
^src/modules/powerrename/PowerRenameUITest/testItems/folder1/testCase2\.txt$
|
||||
^src/modules/powerrename/PowerRenameUITest/testItems/folder2/SpecialCase\.txt$
|
||||
^src/modules/powerrename/PowerRenameUITest/testItems/testCase1\.txt$
|
||||
^src/modules/previewpane/SvgPreviewHandler/SvgHTMLPreviewGenerator\.cs$
|
||||
^src/modules/previewpane/UnitTests-MarkdownPreviewHandler/HelperFiles/MarkdownWithHTMLImageTag\.txt$
|
||||
^src/modules/registrypreview/RegistryPreviewUILib/Controls/HexBox/.*$
|
||||
@@ -136,4 +131,3 @@
|
||||
ignore$
|
||||
^src/modules/registrypreview/RegistryPreviewUILib/Controls/HexBox/.*$
|
||||
^src/common/CalculatorEngineCommon/exprtk\.hpp$
|
||||
src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleMarkdownImagesPage.cs
|
||||
|
||||
164
.github/actions/spell-check/expect.txt
vendored
@@ -3,7 +3,6 @@ abcdefghjkmnpqrstuvxyz
|
||||
abgr
|
||||
ABlocked
|
||||
ABOUTBOX
|
||||
ABORTIFHUNG
|
||||
Abug
|
||||
Acceleratorkeys
|
||||
ACCEPTFILES
|
||||
@@ -22,20 +21,16 @@ ADate
|
||||
ADDSTRING
|
||||
ADDUNDORECORD
|
||||
ADifferent
|
||||
adjacents
|
||||
ADMINS
|
||||
adml
|
||||
admx
|
||||
advancedpaste
|
||||
advapi
|
||||
advfirewall
|
||||
AFeature
|
||||
affordances
|
||||
AFX
|
||||
AGGREGATABLE
|
||||
AHK
|
||||
AHybrid
|
||||
AIUI
|
||||
akv
|
||||
ALarger
|
||||
ALIGNRIGHT
|
||||
@@ -50,7 +45,6 @@ ALPHATYPE
|
||||
AModifier
|
||||
amr
|
||||
ANDSCANS
|
||||
animatedvisuals
|
||||
Animnate
|
||||
ANull
|
||||
AOC
|
||||
@@ -65,20 +59,17 @@ APIIs
|
||||
Apm
|
||||
APPBARDATA
|
||||
APPEXECLINK
|
||||
appext
|
||||
APPLICATIONFRAMEHOST
|
||||
appmanifest
|
||||
APPMODEL
|
||||
APPNAME
|
||||
appref
|
||||
appsettings
|
||||
appsfeatures
|
||||
appwindow
|
||||
appwiz
|
||||
appxpackage
|
||||
APSTUDIO
|
||||
AQS
|
||||
Aquadrant
|
||||
ARandom
|
||||
ARCHITEW
|
||||
ARemapped
|
||||
@@ -97,10 +88,9 @@ ASSOCSTR
|
||||
ASYNCWINDOWPLACEMENT
|
||||
ASYNCWINDOWPOS
|
||||
atl
|
||||
ATX
|
||||
ATRIOX
|
||||
aumid
|
||||
authenticode
|
||||
Authenticode
|
||||
AUTOBUDDY
|
||||
AUTOCHECKBOX
|
||||
AUTOHIDE
|
||||
@@ -114,13 +104,9 @@ AValid
|
||||
AWAYMODE
|
||||
azcliversion
|
||||
azman
|
||||
azureaiinference
|
||||
azureinference
|
||||
azureopenai
|
||||
bbwe
|
||||
BCIE
|
||||
bck
|
||||
backticks
|
||||
BESTEFFORT
|
||||
bezelled
|
||||
bhid
|
||||
@@ -129,7 +115,6 @@ bigbar
|
||||
bigobj
|
||||
binlog
|
||||
binres
|
||||
binskim
|
||||
BITMAPFILEHEADER
|
||||
bitmapimage
|
||||
BITMAPINFO
|
||||
@@ -141,14 +126,14 @@ bla
|
||||
BLACKFRAME
|
||||
BLENDFUNCTION
|
||||
Blockquotes
|
||||
blt
|
||||
blogs
|
||||
Blt
|
||||
BLURBEHIND
|
||||
BLURREGION
|
||||
bmi
|
||||
BNumber
|
||||
BODGY
|
||||
BOklab
|
||||
Bootstrappers
|
||||
BOOTSTRAPPERINSTALLFOLDER
|
||||
BOTTOMALIGN
|
||||
boxmodel
|
||||
@@ -167,7 +152,6 @@ BUILDARCH
|
||||
BUILDNUMBER
|
||||
buildtransitive
|
||||
builttoroam
|
||||
BUNDLEINFO
|
||||
BVal
|
||||
BValue
|
||||
byapp
|
||||
@@ -176,18 +160,13 @@ BYPOSITION
|
||||
CALCRECT
|
||||
CALG
|
||||
callbackptr
|
||||
cabstr
|
||||
calpwstr
|
||||
caub
|
||||
Cangjie
|
||||
CANRENAME
|
||||
Carlseibert
|
||||
Canvascustomlayout
|
||||
CAPTUREBLT
|
||||
CAPTURECHANGED
|
||||
CARETBLINKING
|
||||
CAtl
|
||||
CBN
|
||||
cch
|
||||
CCHDEVICENAME
|
||||
CCHFORMNAME
|
||||
@@ -206,16 +185,13 @@ changecursor
|
||||
CHILDACTIVATE
|
||||
CHILDWINDOW
|
||||
CHOOSEFONT
|
||||
CIBUILD
|
||||
cidl
|
||||
CIELCh
|
||||
cim
|
||||
claude
|
||||
CImage
|
||||
cla
|
||||
CLASSDC
|
||||
CLASSNOTAVAILABLE
|
||||
cleanmgr
|
||||
clickable
|
||||
clickonce
|
||||
CLIENTEDGE
|
||||
@@ -244,7 +220,6 @@ CODENAME
|
||||
codereview
|
||||
Codespaces
|
||||
Coen
|
||||
cognitiveservices
|
||||
COINIT
|
||||
colid
|
||||
colorconv
|
||||
@@ -259,13 +234,11 @@ cominterop
|
||||
commandnotfound
|
||||
commandpalette
|
||||
compmgmt
|
||||
COMPOSITIONDISABLED
|
||||
COMPOSITIONFULL
|
||||
CONFIGW
|
||||
CONFLICTINGMODIFIERKEY
|
||||
CONFLICTINGMODIFIERSHORTCUT
|
||||
CONOUT
|
||||
coreclr
|
||||
constexpr
|
||||
contentdialog
|
||||
contentfiles
|
||||
@@ -282,17 +255,12 @@ Corpor
|
||||
cotaskmem
|
||||
COULDNOT
|
||||
countof
|
||||
covrun
|
||||
cpcontrols
|
||||
cph
|
||||
cppcoreguidelines
|
||||
cplusplus
|
||||
CPower
|
||||
cpptools
|
||||
cppvsdbg
|
||||
cppwinrt
|
||||
createdump
|
||||
creativecommons
|
||||
CREATEPROCESS
|
||||
CREATESCHEDULEDTASK
|
||||
CREATESTRUCT
|
||||
@@ -302,7 +270,6 @@ CRH
|
||||
critsec
|
||||
cropandlock
|
||||
Crossdevice
|
||||
csdevkit
|
||||
CSearch
|
||||
CSettings
|
||||
cso
|
||||
@@ -316,7 +283,6 @@ CURRENTDIR
|
||||
CURSORINFO
|
||||
cursorpos
|
||||
CURSORSHOWING
|
||||
CURSORWRAP
|
||||
customaction
|
||||
CUSTOMACTIONTEST
|
||||
CUSTOMFORMATPLACEHOLDER
|
||||
@@ -331,7 +297,6 @@ CXVIRTUALSCREEN
|
||||
CYSCREEN
|
||||
CYSMICON
|
||||
CYVIRTUALSCREEN
|
||||
Czechia
|
||||
cziplib
|
||||
Dac
|
||||
dacl
|
||||
@@ -356,8 +321,6 @@ Deact
|
||||
debugbreak
|
||||
decryptor
|
||||
Dedup
|
||||
dfx
|
||||
Deduplicator
|
||||
Deeplink
|
||||
DEFAULTBOOTSTRAPPERINSTALLFOLDER
|
||||
DEFAULTCOLOR
|
||||
@@ -386,12 +349,11 @@ desktopshorcutinstalled
|
||||
DESKTOPVERTRES
|
||||
devblogs
|
||||
devdocs
|
||||
devenv
|
||||
devmgmt
|
||||
DEVMODE
|
||||
DEVMODEW
|
||||
devpal
|
||||
dfx
|
||||
DFX
|
||||
DIALOGEX
|
||||
digicert
|
||||
DINORMAL
|
||||
@@ -405,7 +367,6 @@ DISPLAYFREQUENCY
|
||||
displayname
|
||||
DISPLAYORIENTATION
|
||||
divyan
|
||||
djwsxzxb
|
||||
Dlg
|
||||
DLGFRAME
|
||||
DLGMODALFRAME
|
||||
@@ -416,10 +377,6 @@ DNLEN
|
||||
DONOTROUND
|
||||
DONTVALIDATEPATH
|
||||
dotnet
|
||||
downsampled
|
||||
downsampling
|
||||
Downsampled
|
||||
downscale
|
||||
DPICHANGED
|
||||
DPIs
|
||||
DPSAPI
|
||||
@@ -434,9 +391,8 @@ DROPFILES
|
||||
DSTINVERT
|
||||
DString
|
||||
DSVG
|
||||
dto
|
||||
DTo
|
||||
DUMMYUNIONNAME
|
||||
dutil
|
||||
DVASPECT
|
||||
DVASPECTINFO
|
||||
DVD
|
||||
@@ -468,8 +424,7 @@ EDITKEYBOARD
|
||||
EDITSHORTCUTS
|
||||
EDITTEXT
|
||||
EFile
|
||||
eku
|
||||
emojis
|
||||
ekus
|
||||
ENABLEDELAYEDEXPANSION
|
||||
ENABLEDPOPUP
|
||||
ENABLETAB
|
||||
@@ -479,7 +434,6 @@ encryptor
|
||||
ENDSESSION
|
||||
ENSUREVISIBLE
|
||||
ENTERSIZEMOVE
|
||||
ENTRYW
|
||||
ENU
|
||||
environmentvariables
|
||||
EOAC
|
||||
@@ -510,7 +464,6 @@ examplehandler
|
||||
examplepowertoy
|
||||
EXAND
|
||||
EXCLUDEFROMCAPTURE
|
||||
EXECUTEDEFAULT
|
||||
executionpolicy
|
||||
exename
|
||||
exf
|
||||
@@ -532,12 +485,10 @@ EXTRINSICPROPERTIES
|
||||
eyetracker
|
||||
FANCYZONESDRAWLAYOUTTEST
|
||||
FANCYZONESEDITOR
|
||||
FNumber
|
||||
FARPROC
|
||||
fdx
|
||||
fesf
|
||||
fff
|
||||
FFFF
|
||||
Figma
|
||||
FILEEXPLORER
|
||||
fileexploreraddons
|
||||
fileexplorerpreview
|
||||
@@ -564,7 +515,6 @@ FIXEDSYS
|
||||
flac
|
||||
flyouts
|
||||
FMask
|
||||
foundrylocal
|
||||
fmtid
|
||||
FOF
|
||||
FOFX
|
||||
@@ -600,10 +550,8 @@ GETDESKWALLPAPER
|
||||
GETDLGCODE
|
||||
GETDPISCALEDSIZE
|
||||
getfilesiginforedist
|
||||
geolocator
|
||||
GETHOTKEY
|
||||
GETICON
|
||||
GETLBTEXT
|
||||
GETMINMAXINFO
|
||||
GETNONCLIENTMETRICS
|
||||
GETPROPERTYSTOREFLAGS
|
||||
@@ -611,8 +559,6 @@ GETSCREENSAVERRUNNING
|
||||
GETSECKEY
|
||||
GETSTICKYKEYS
|
||||
GETTEXTLENGTH
|
||||
GIFs
|
||||
gitmodules
|
||||
GHND
|
||||
GMEM
|
||||
GNumber
|
||||
@@ -622,8 +568,6 @@ GPOCA
|
||||
gpp
|
||||
gpu
|
||||
gradians
|
||||
grctlext
|
||||
Gridcustomlayout
|
||||
GSM
|
||||
gtm
|
||||
guiddata
|
||||
@@ -632,8 +576,6 @@ GValue
|
||||
gwl
|
||||
GWLP
|
||||
GWLSTYLE
|
||||
googleai
|
||||
googlegemini
|
||||
hangeul
|
||||
Hanzi
|
||||
Hardlines
|
||||
@@ -670,7 +612,6 @@ Hiber
|
||||
Hiberboot
|
||||
HIBYTE
|
||||
hicon
|
||||
HICONSM
|
||||
HIDEREADONLY
|
||||
HIDEWINDOW
|
||||
Hif
|
||||
@@ -686,7 +627,6 @@ HKCU
|
||||
hkey
|
||||
HKLM
|
||||
HKM
|
||||
hkmng
|
||||
HKPD
|
||||
HKU
|
||||
HMD
|
||||
@@ -695,7 +635,6 @@ hmodule
|
||||
hmonitor
|
||||
homies
|
||||
homljgmgpmcbpjbnjpfijnhipfkiclkd
|
||||
HOOKPROC
|
||||
HORZRES
|
||||
HORZSIZE
|
||||
Hostbackdropbrush
|
||||
@@ -717,12 +656,10 @@ HROW
|
||||
hsb
|
||||
HSCROLL
|
||||
hsi
|
||||
HSpeed
|
||||
HTCLIENT
|
||||
hthumbnail
|
||||
HTOUCHINPUT
|
||||
HTTRANSPARENT
|
||||
hutchinsoniana
|
||||
HVal
|
||||
HValue
|
||||
Hvci
|
||||
@@ -744,9 +681,7 @@ IDCANCEL
|
||||
IDD
|
||||
idk
|
||||
idl
|
||||
IIM
|
||||
idlist
|
||||
ifd
|
||||
IDOK
|
||||
IDOn
|
||||
IDR
|
||||
@@ -763,14 +698,12 @@ Ijwhost
|
||||
ILD
|
||||
IMAGEHLP
|
||||
IMAGERESIZERCONTEXTMENU
|
||||
IPTC
|
||||
IMAGERESIZEREXT
|
||||
imageresizerinput
|
||||
imageresizersettings
|
||||
imagingdevices
|
||||
ime
|
||||
imgflip
|
||||
inapp
|
||||
inbox
|
||||
INCONTACT
|
||||
Indo
|
||||
@@ -782,7 +715,7 @@ INITDIALOG
|
||||
INITGUID
|
||||
INITTOLOGFONTSTRUCT
|
||||
INLINEPREFIX
|
||||
inlines
|
||||
Inlines
|
||||
INPC
|
||||
inproc
|
||||
INPUTHARDWARE
|
||||
@@ -824,7 +757,6 @@ istep
|
||||
ith
|
||||
ITHUMBNAIL
|
||||
IUI
|
||||
IUWP
|
||||
IWIC
|
||||
jfif
|
||||
jgeosdfsdsgmkedfgdfgdfgbkmhcgcflmi
|
||||
@@ -845,7 +777,6 @@ KEYBOARDMANAGEREDITORLIBRARYWRAPPER
|
||||
keyboardmanagerstate
|
||||
keyboardmanagerui
|
||||
keyboardtester
|
||||
keycap
|
||||
KEYEVENTF
|
||||
KEYIMAGE
|
||||
keynum
|
||||
@@ -855,15 +786,11 @@ keyvault
|
||||
KILLFOCUS
|
||||
killrunner
|
||||
kmph
|
||||
ksa
|
||||
kvp
|
||||
Kybd
|
||||
LARGEICON
|
||||
lastcodeanalysissucceeded
|
||||
LASTEXITCODE
|
||||
LAYOUTRTL
|
||||
LCh
|
||||
lbl
|
||||
lcid
|
||||
LCIDTo
|
||||
lcl
|
||||
@@ -882,12 +809,10 @@ LIBID
|
||||
LIMITSIZE
|
||||
LIMITTEXT
|
||||
lindex
|
||||
lightswitch
|
||||
linkid
|
||||
LINKOVERLAY
|
||||
LINQTo
|
||||
listview
|
||||
LIVEDRAW
|
||||
LIVEZOOM
|
||||
LLKH
|
||||
llkhf
|
||||
@@ -903,16 +828,12 @@ LOCKTYPE
|
||||
LOGFONT
|
||||
LOGFONTW
|
||||
logon
|
||||
lon
|
||||
LOGMSG
|
||||
LOGPIXELSX
|
||||
LOGPIXELSY
|
||||
lng
|
||||
lon
|
||||
LOn
|
||||
longdate
|
||||
LONGNAMES
|
||||
lowlevel
|
||||
lquadrant
|
||||
LOWORD
|
||||
lparam
|
||||
LPBITMAPINFOHEADER
|
||||
@@ -959,11 +880,11 @@ luid
|
||||
LUMA
|
||||
lusrmgr
|
||||
LVal
|
||||
lvm
|
||||
LWA
|
||||
lwin
|
||||
LZero
|
||||
MAGTRANSFORM
|
||||
makeappx
|
||||
MAKEINTRESOURCE
|
||||
MAKEINTRESOURCEA
|
||||
MAKEINTRESOURCEW
|
||||
@@ -995,7 +916,6 @@ MENUITEMINFOW
|
||||
MERGECOPY
|
||||
MERGEPAINT
|
||||
Metadatas
|
||||
metadatamatters
|
||||
metafile
|
||||
mfc
|
||||
Mgmt
|
||||
@@ -1041,9 +961,6 @@ mousepointer
|
||||
mouseutils
|
||||
MOVESIZEEND
|
||||
MOVESIZESTART
|
||||
muxx
|
||||
muxxc
|
||||
muxxh
|
||||
MRM
|
||||
MRT
|
||||
mru
|
||||
@@ -1052,7 +969,6 @@ msc
|
||||
mscorlib
|
||||
msctls
|
||||
msdata
|
||||
msdia
|
||||
MSDL
|
||||
MSGFLT
|
||||
MSHCTX
|
||||
@@ -1063,7 +979,6 @@ msiexec
|
||||
MSIFASTINSTALL
|
||||
MSIHANDLE
|
||||
MSIRESTARTMANAGERCONTROL
|
||||
MSIs
|
||||
msixbundle
|
||||
MSIXCA
|
||||
MSLLHOOKSTRUCT
|
||||
@@ -1071,7 +986,6 @@ Mso
|
||||
msrc
|
||||
msstore
|
||||
msvcp
|
||||
MT
|
||||
MTND
|
||||
MULTIPLEUSE
|
||||
multizone
|
||||
@@ -1158,7 +1072,6 @@ nonstd
|
||||
NOOWNERZORDER
|
||||
NOPARENTNOTIFY
|
||||
NOPREFIX
|
||||
NPU
|
||||
NOREDIRECTIONBITMAP
|
||||
NOREDRAW
|
||||
NOREMOVE
|
||||
@@ -1183,7 +1096,6 @@ NOTSRCCOPY
|
||||
NOTSRCERASE
|
||||
notwindows
|
||||
NOTXORPEN
|
||||
nowarn
|
||||
NOZORDER
|
||||
NPH
|
||||
npmjs
|
||||
@@ -1195,7 +1107,6 @@ NTSTATUS
|
||||
NTSYSAPI
|
||||
NULLCURSOR
|
||||
nullonfailure
|
||||
nullref
|
||||
numberbox
|
||||
nwc
|
||||
ocr
|
||||
@@ -1218,9 +1129,6 @@ opencode
|
||||
OPENFILENAME
|
||||
opensource
|
||||
openxmlformats
|
||||
ollama
|
||||
Olllama
|
||||
onnx
|
||||
OPTIMIZEFORINVOKE
|
||||
ORPHANEDDIALOGTITLE
|
||||
ORSCANS
|
||||
@@ -1244,10 +1152,8 @@ PACL
|
||||
PAINTSTRUCT
|
||||
PALETTEWINDOW
|
||||
PARENTNOTIFY
|
||||
PARENTRELATIVE
|
||||
PARENTRELATIVEEDITING
|
||||
PARENTRELATIVEFORADDRESSBAR
|
||||
PARENTRELATIVEFORUI
|
||||
PARENTRELATIVEPARSING
|
||||
parray
|
||||
PARTIALCONFIRMATIONDIALOGTITLE
|
||||
@@ -1258,7 +1164,6 @@ PATPAINT
|
||||
pbc
|
||||
pbi
|
||||
PBlob
|
||||
pbrush
|
||||
pcb
|
||||
pcch
|
||||
pcelt
|
||||
@@ -1292,7 +1197,6 @@ pgp
|
||||
pguid
|
||||
phbm
|
||||
phbmp
|
||||
phicon
|
||||
phwnd
|
||||
pici
|
||||
pidl
|
||||
@@ -1301,8 +1205,6 @@ pinfo
|
||||
pinvoke
|
||||
pipename
|
||||
PKBDLLHOOKSTRUCT
|
||||
pkgfamily
|
||||
PKI
|
||||
plib
|
||||
ploc
|
||||
ploca
|
||||
@@ -1315,7 +1217,6 @@ pnid
|
||||
PNMLINK
|
||||
Poc
|
||||
Podcasts
|
||||
Photoshop
|
||||
POINTERID
|
||||
POINTERUPDATE
|
||||
Pokedex
|
||||
@@ -1380,7 +1281,6 @@ PRTL
|
||||
prvpane
|
||||
psapi
|
||||
pscid
|
||||
pscustomobject
|
||||
PSECURITY
|
||||
psfgao
|
||||
psfi
|
||||
@@ -1410,8 +1310,6 @@ pwsz
|
||||
pwtd
|
||||
QDC
|
||||
qit
|
||||
QNN
|
||||
Qualcomm
|
||||
QITAB
|
||||
QITABENT
|
||||
qoi
|
||||
@@ -1423,9 +1321,8 @@ quickaccent
|
||||
QUNS
|
||||
RAII
|
||||
RAlt
|
||||
RAquadrant
|
||||
randi
|
||||
rasterization
|
||||
Rasterization
|
||||
Rasterize
|
||||
RAWINPUTDEVICE
|
||||
RAWINPUTHEADER
|
||||
@@ -1456,7 +1353,6 @@ regkey
|
||||
regroot
|
||||
regsvr
|
||||
REINSTALLMODE
|
||||
releaseblog
|
||||
reloadable
|
||||
Relogger
|
||||
remappings
|
||||
@@ -1493,6 +1389,7 @@ RIDEV
|
||||
RIGHTSCROLLBAR
|
||||
riid
|
||||
RKey
|
||||
Rns
|
||||
RNumber
|
||||
rop
|
||||
ROUNDSMALL
|
||||
@@ -1505,6 +1402,7 @@ rstringalnum
|
||||
rstringalpha
|
||||
rstringdigit
|
||||
rtb
|
||||
RTB
|
||||
RTLREADING
|
||||
rtm
|
||||
runas
|
||||
@@ -1520,7 +1418,6 @@ sacl
|
||||
safeprojectname
|
||||
SAMEKEYPREVIOUSLYMAPPED
|
||||
SAMESHORTCUTPREVIOUSLYMAPPED
|
||||
samsung
|
||||
sancov
|
||||
SAVEFAILED
|
||||
scanled
|
||||
@@ -1543,7 +1440,6 @@ secpol
|
||||
securestring
|
||||
SEEMASKINVOKEIDLIST
|
||||
SELCHANGE
|
||||
selfhost
|
||||
SENDCHANGE
|
||||
sendvirtualinput
|
||||
serverside
|
||||
@@ -1563,7 +1459,6 @@ SETRULES
|
||||
SETSCREENSAVEACTIVE
|
||||
SETSTICKYKEYS
|
||||
SETTEXT
|
||||
settingscard
|
||||
SETTINGCHANGE
|
||||
SETTINGSCHANGED
|
||||
settingsheader
|
||||
@@ -1720,7 +1615,6 @@ sublang
|
||||
SUBMODULEUPDATE
|
||||
subresource
|
||||
Superbar
|
||||
suntimes
|
||||
sut
|
||||
svchost
|
||||
SVGIn
|
||||
@@ -1748,7 +1642,6 @@ syskeydown
|
||||
SYSKEYUP
|
||||
SYSLIB
|
||||
SYSMENU
|
||||
systemai
|
||||
SYSTEMAPPS
|
||||
SYSTEMMODAL
|
||||
SYSTEMTIME
|
||||
@@ -1787,7 +1680,6 @@ tgz
|
||||
themeresources
|
||||
THH
|
||||
THICKFRAME
|
||||
THEMECHANGED
|
||||
THISCOMPONENT
|
||||
throughs
|
||||
TILEDWINDOW
|
||||
@@ -1803,9 +1695,9 @@ tkconverters
|
||||
tlb
|
||||
tlbimp
|
||||
tlc
|
||||
tmain
|
||||
TNP
|
||||
Toolhelp
|
||||
toolkitconverters
|
||||
toolwindow
|
||||
TOPDOWNDIB
|
||||
TOUCHEVENTF
|
||||
@@ -1825,7 +1717,6 @@ trx
|
||||
tsa
|
||||
tskill
|
||||
tstoi
|
||||
tweakable
|
||||
TWF
|
||||
tymed
|
||||
TYPEKEYBOARD
|
||||
@@ -1836,13 +1727,10 @@ UACUI
|
||||
UAL
|
||||
uap
|
||||
UBR
|
||||
UBreak
|
||||
ubrk
|
||||
UCallback
|
||||
ucrt
|
||||
ucrtd
|
||||
uefi
|
||||
UError
|
||||
uesc
|
||||
UFlags
|
||||
UHash
|
||||
@@ -1850,14 +1738,12 @@ UIA
|
||||
UIEx
|
||||
uild
|
||||
uitests
|
||||
UITo
|
||||
ULONGLONG
|
||||
ums
|
||||
uncompilable
|
||||
UNCPRIORITY
|
||||
UNDNAME
|
||||
UNICODETEXT
|
||||
unins
|
||||
uninstalls
|
||||
Uniquifies
|
||||
unitconverter
|
||||
@@ -1874,7 +1760,6 @@ UPDATENOW
|
||||
UPDATEREGISTRY
|
||||
updown
|
||||
UPGRADINGPRODUCTCODE
|
||||
upscaling
|
||||
Uptool
|
||||
urld
|
||||
Usb
|
||||
@@ -1884,7 +1769,6 @@ USEINSTALLERFORTEST
|
||||
USESHOWWINDOW
|
||||
USESTDHANDLES
|
||||
USRDLL
|
||||
utm
|
||||
UType
|
||||
uuidv
|
||||
uwp
|
||||
@@ -1915,7 +1799,6 @@ VFT
|
||||
vget
|
||||
vgetq
|
||||
viewmodels
|
||||
virama
|
||||
VIRTKEY
|
||||
VIRTUALDESK
|
||||
VISEGRADRELAY
|
||||
@@ -1940,7 +1823,6 @@ VSINSTALLDIR
|
||||
VSM
|
||||
vso
|
||||
vsonline
|
||||
VSpeed
|
||||
vstemplate
|
||||
vstest
|
||||
VSTHRD
|
||||
@@ -1961,7 +1843,6 @@ wcsicmp
|
||||
wcsncpy
|
||||
wcsnicmp
|
||||
WCT
|
||||
WCRAPI
|
||||
WDA
|
||||
wdm
|
||||
wdp
|
||||
@@ -1975,7 +1856,6 @@ wgpocpl
|
||||
WHEREID
|
||||
wic
|
||||
wifi
|
||||
wikimedia
|
||||
wikipedia
|
||||
WIL
|
||||
winapi
|
||||
@@ -1999,14 +1879,11 @@ winexe
|
||||
winforms
|
||||
winget
|
||||
wingetcreate
|
||||
wingetpkgs
|
||||
Winhook
|
||||
WINL
|
||||
winlogon
|
||||
winmd
|
||||
WINNT
|
||||
windowsml
|
||||
winml
|
||||
winres
|
||||
winrt
|
||||
winsdk
|
||||
@@ -2027,7 +1904,6 @@ WMI
|
||||
WMICIM
|
||||
wmimgmt
|
||||
wmp
|
||||
wmsg
|
||||
WMSYSCOMMAND
|
||||
wnd
|
||||
WNDCLASS
|
||||
@@ -2041,7 +1917,6 @@ WORKSPACESEDITOR
|
||||
WORKSPACESLAUNCHER
|
||||
WORKSPACESSNAPSHOTTOOL
|
||||
WORKSPACESWINDOWARRANGER
|
||||
worktree
|
||||
wox
|
||||
wparam
|
||||
wpf
|
||||
@@ -2072,10 +1947,7 @@ XAxis
|
||||
XButton
|
||||
xclip
|
||||
xcopy
|
||||
xap
|
||||
XDeployment
|
||||
XDimension
|
||||
xdf
|
||||
XDocument
|
||||
XElement
|
||||
xfd
|
||||
@@ -2086,28 +1958,20 @@ XNamespace
|
||||
Xoshiro
|
||||
XPels
|
||||
XPixel
|
||||
XPos
|
||||
XResource
|
||||
xsi
|
||||
XSpeed
|
||||
XStr
|
||||
xstyler
|
||||
xmp
|
||||
XTimer
|
||||
XUP
|
||||
XVIRTUALSCREEN
|
||||
xxxxxx
|
||||
YAxis
|
||||
ycombinator
|
||||
YIncrement
|
||||
YDimension
|
||||
yinle
|
||||
yinyue
|
||||
YPels
|
||||
YPos
|
||||
YResolution
|
||||
YSpeed
|
||||
YTimer
|
||||
YStr
|
||||
YVIRTUALSCREEN
|
||||
ZEROINIT
|
||||
|
||||
15
.github/actions/spell-check/patterns.txt
vendored
@@ -1,10 +1,5 @@
|
||||
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns
|
||||
|
||||
# marker to ignore all code on line
|
||||
^.*/\* #no-spell-check-line \*/.*$
|
||||
# marker for ignoring a comment to the end of the line
|
||||
// #no-spell-check.*$
|
||||
|
||||
# Gaelic
|
||||
Gàidhlig
|
||||
|
||||
@@ -253,7 +248,7 @@ _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
|
||||
|
||||
# hit-count: 1 file-count: 1
|
||||
# Amazon
|
||||
\bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|)
|
||||
\bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|)[^"'\s]+
|
||||
|
||||
# hit-count: 3 file-count: 3
|
||||
# imgur
|
||||
@@ -265,11 +260,3 @@ Process Process
|
||||
# ZoomIt menu items with accelerator keys
|
||||
E&xit
|
||||
St&yle
|
||||
|
||||
# This matches a relative clause where the relative pronoun "that" is omitted.
|
||||
# Example: "Gets or sets the window the TitleBar should configure."
|
||||
\bthe\s+\w+\s+the\b
|
||||
|
||||
# Usernames with numbers
|
||||
# 0x6f677548 is user name but user folder causes a flag
|
||||
\bx6f677548\b
|
||||
|
||||
59
.github/copilot-instructions.md
vendored
@@ -1,59 +0,0 @@
|
||||
---
|
||||
description: PowerToys AI contributor guidance.
|
||||
applyTo: pullRequests
|
||||
---
|
||||
|
||||
# PowerToys - Copilot guide (concise)
|
||||
|
||||
This is the top-level guide for AI changes. Keep edits small, follow existing patterns, and cite exact paths in PRs.
|
||||
|
||||
# Repo map (1-line per area)
|
||||
- Core apps: `src/runner/**` (tray/loader), `src/settings-ui/**` (Settings app)
|
||||
- Shared libs: `src/common/**`
|
||||
- Modules: `src/modules/*` (one per utility; Command Palette in `src/modules/cmdpal/**`)
|
||||
- Build tools/docs: `tools/**`, `doc/devdocs/**`
|
||||
|
||||
# Build and test (defaults)
|
||||
- Prerequisites: Visual Studio 2022 17.4+, minimal Windows 10 1803+.
|
||||
- Build discipline:
|
||||
- One terminal per operation (build -> test). Do not switch or open new ones mid-flow.
|
||||
- After making changes, `cd` to the project folder that changed (`.csproj`/`.vcxproj`).
|
||||
- Use scripts to build, synchronously block and wait in foreground for completion: `tools/build/build.ps1|.cmd` (current folder), `build-essentials.*` (once per brand new build for missing nuget packages).
|
||||
- Treat build exit code 0 as success; any non-zero exit code is a failure. Read the errors log in the build folder (such as `build.*.*.errors.log`) and surface problems.
|
||||
- Do not start tests or launch Runner until the previous step succeeded.
|
||||
- Tests (fast and targeted):
|
||||
- Find the test project by product code prefix (for example FancyZones, AdvancedPaste). Look for a sibling folder or one to two levels up named like `<Product>*UnitTests` or `<Product>*UITests`.
|
||||
- Build the test project, wait for exit, then run only those tests via VS Test Explorer or `vstest.console.exe` with filters. Avoid `dotnet test` in this repo.
|
||||
- Add or adjust tests when changing behavior; if skipped, state why (for example comment-only or string rename).
|
||||
|
||||
# Pull requests (expectations)
|
||||
- Atomic: one logical change; no drive-by refactors.
|
||||
- Describe: problem, approach, risk, test evidence.
|
||||
- List: touched paths if not obvious.
|
||||
|
||||
# When to ask for clarification
|
||||
- Ambiguous spec after scanning relevant docs (see below).
|
||||
- Cross-module impact (shared enum or struct) not clear.
|
||||
- Security, elevation, or installer changes.
|
||||
|
||||
# Logging (use existing stacks)
|
||||
- C++ logging lives in `src/common/logger/**` (`Logger::info`, `Logger::warn`, `Logger::error`, `Logger::debug`). Keep hot paths quiet (hooks, tight loops).
|
||||
- C# logging goes through `ManagedCommon.Logger` (`LogInfo`, `LogWarning`, `LogError`, `LogDebug`, `LogTrace`). Some UIs use injected `ILogger` via `LoggerInstance.Logger`.
|
||||
|
||||
# Docs to consult
|
||||
- `tools/build/BUILD-GUIDELINES.md`
|
||||
- `doc/devdocs/core/architecture.md`
|
||||
- `doc/devdocs/core/runner.md`
|
||||
- `doc/devdocs/core/settings/readme.md`
|
||||
- `doc/devdocs/modules/readme.md`
|
||||
|
||||
# Language style rules
|
||||
- Always enforce repo analyzers: root `.editorconfig` plus any `stylecop.json`.
|
||||
- C# code follows StyleCop.Analyzers and Microsoft.CodeAnalysis.NetAnalyzers.
|
||||
- C++ code honors `.clang-format` plus `.clang-tidy` (modernize/cppcoreguidelines/readability).
|
||||
- Markdown files wrap at 80 characters and use ATX headers with fenced code blocks that include language tags.
|
||||
- YAML files indent two spaces and add comments for complex settings while keeping keys clear.
|
||||
- PowerShell scripts use Verb-Noun names and prefer single-quoted literals while documenting parameters and satisfying PSScriptAnalyzer.
|
||||
|
||||
# Done checklist (self review before finishing)
|
||||
- Build clean? Tests updated or passed? No unintended formatting? Any new dependency? Documented skips?
|
||||
16
.github/prompts/create-commit-title.prompt.md
vendored
@@ -1,16 +0,0 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: GPT-5-Codex (Preview)
|
||||
description: 'Generate an 80-character git commit title for the local diff.'
|
||||
---
|
||||
|
||||
**Goal:** Provide a ready-to-paste git commit title (<= 80 characters) that captures the most important local changes since `HEAD`.
|
||||
|
||||
**Workflow:**
|
||||
1. Run a single command to view the local diff since the last commit:
|
||||
```@terminal
|
||||
git diff HEAD
|
||||
```
|
||||
2. From that diff, identify the dominant area (reference key paths like `src/modules/*`, `doc/devdocs/**`, etc.), the type of change (bug fix, docs update, config tweak), and any notable impact.
|
||||
3. Draft a concise, imperative commit title summarizing the dominant change. Keep it plain ASCII, <= 80 characters, and avoid trailing punctuation. Mention the primary component when obvious (for example `FancyZones:` or `Docs:`).
|
||||
4. Respond with only the final commit title on a single line so it can be pasted directly into `git commit`.
|
||||
22
.github/prompts/create-pr-summary.prompt.md
vendored
@@ -1,22 +0,0 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: GPT-5-Codex (Preview)
|
||||
description: 'Generate a PowerToys-ready pull request description from the local diff.'
|
||||
---
|
||||
|
||||
**Goal:** Produce a ready-to-paste PR title and description that follows PowerToys conventions by comparing the current branch against a user-selected target branch.
|
||||
|
||||
**Repo guardrails:**
|
||||
- Treat `.github/pull_request_template.md` as the single source of truth; load it at runtime instead of embedding hardcoded content in this prompt.
|
||||
- Preserve section order from the template but only surface checklist lines that are relevant for the detected changes, filling them with `[x]`/`[ ]` as appropriate.
|
||||
- Cite touched paths with inline backticks, matching the guidance in `.github/copilot-instructions.md`.
|
||||
- Call out test coverage explicitly: list automated tests run (unit/UI) or state why they are not applicable.
|
||||
|
||||
**Workflow:**
|
||||
1. Determine the target branch from user context; default to `main` when no branch is supplied.
|
||||
2. Run `git status --short` once to surface uncommitted files that may influence the summary.
|
||||
3. Run `git diff <target-branch>...HEAD` a single time to review the detailed changes. Only when confidence stays low dig deeper with focused calls such as `git diff <target-branch>...HEAD -- <path>`.
|
||||
4. From the diff, capture impacted areas, key file changes, behavioral risks, migrations, and noteworthy edge cases.
|
||||
5. Confirm validation: list tests executed with results or state why tests were skipped in line with repo guidance.
|
||||
6. Load `.github/pull_request_template.md`, mirror its section order, and populate it with the gathered facts. Include only relevant checklist entries, marking them `[x]/[ ]` and noting any intentional omissions as "N/A".
|
||||
7. Present the filled template inside a fenced ```markdown code block with no extra commentary so it is ready to paste into a PR, clearly flagging any placeholders that still need user input.
|
||||
22
.github/prompts/fix-spelling.prompt.md
vendored
@@ -1,22 +0,0 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: GPT-5-Codex (Preview)
|
||||
description: 'Resolve Code scanning / check-spelling comments on the active PR.'
|
||||
---
|
||||
|
||||
**Goal:** Clear every outstanding GitHub pull request comment created by the `Code scanning / check-spelling` workflow by explicitly allowing intentional terms.
|
||||
|
||||
**Guardrails:**
|
||||
- Update only discussion threads authored by `github-actions` or `github-actions[bot]` that mention `Code scanning results / check-spelling`.
|
||||
- Resolve findings solely by editing `.github/actions/spell-check/expect.txt`; reuse existing entries.
|
||||
- Leave all other files and topics untouched.
|
||||
|
||||
**Prerequisites:**
|
||||
- Install GitHub CLI if it is not present: `winget install GitHub.cli`.
|
||||
- Run `gh auth login` once before the first CLI use.
|
||||
|
||||
**Workflow:**
|
||||
1. Determine the active pull request with a single `gh pr view --json number` call (default to the current branch).
|
||||
2. Fetch all PR discussion data once via `gh pr view --json comments,reviews` and filter to check-spelling comments authored by `github-actions` or `github-actions[bot]` that are not minimized; when several remain, process only the most recent comment body.
|
||||
3. For each flagged token, review `.github/actions/spell-check/expect.txt` for an equivalent term (for example an existing lowercase variant); when found, reuse that normalized term rather than adding a new entry, even if the flagged token differs only by casing. Only add a new entry after confirming no equivalent already exists.
|
||||
4. Add any remaining missing token to `.github/actions/spell-check/expect.txt`, keeping surrounding formatting intact.
|
||||
1
.github/pull_request_template.md
vendored
@@ -5,7 +5,6 @@
|
||||
## PR Checklist
|
||||
|
||||
- [ ] Closes: #xxx
|
||||
<!-- - [ ] Closes: #yyy (add separate lines for additional resolved issues) -->
|
||||
- [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
|
||||
- [ ] **Tests:** Added/updated and all pass
|
||||
- [ ] **Localization:** All end-user-facing strings can be localized
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
name: Automatic New Issue Deduplication
|
||||
on:
|
||||
issues:
|
||||
types: [opened, reopened]
|
||||
permissions:
|
||||
models: read
|
||||
issues: write
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.issue.number }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
deduplicate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Run Deduplicate Action
|
||||
uses: pelikhan/action-genai-issue-dedup@v0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
label_as_duplicate: true
|
||||
@@ -1,38 +0,0 @@
|
||||
name: Manual Batch Issue Deduplication
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
issue_numbers:
|
||||
description: "JSON array of issue numbers to deduplicate (e.g. [101,102,103])"
|
||||
required: true
|
||||
since:
|
||||
description: "Only compare against issues created after this date (ISO 8601, e.g. 2019-05-05T00:00:00Z)"
|
||||
required: false
|
||||
default: "2019-05-05T00:00:00Z"
|
||||
label_as_duplicate:
|
||||
description: "Apply duplicate label if duplicates are found (true/false)"
|
||||
required: false
|
||||
default: "true"
|
||||
|
||||
permissions:
|
||||
models: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
deduplicate:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
issue: ${{ fromJson(github.event.inputs.issue_numbers) }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run GenAI Issue Deduplicator
|
||||
uses: pelikhan/action-genai-issue-dedup@v0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github_issue: ${{ matrix.issue }}
|
||||
label_as_duplicate: ${{ github.event.inputs.label_as_duplicate }}
|
||||
|
||||
4
.github/workflows/msstore-submissions.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
steps:
|
||||
- name: BODGY - Set up Gnome Keyring for future Cert Auth
|
||||
run: |-
|
||||
sudo apt-get update && sudo apt-get install -y gnome-keyring
|
||||
sudo apt-get install -y gnome-keyring
|
||||
export $(dbus-launch --sh-syntax)
|
||||
export $(echo 'anypass_just_to_unlock' | gnome-keyring-daemon --unlock)
|
||||
export $(echo 'anypass_just_to_unlock' | gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
echo powerToysInstallerArm64Url=$(jq -n "$powerToysSetup" | jq -r '[.[]|select(.name | contains("arm64"))][0].browser_download_url') >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Setup .NET 9.0
|
||||
uses: actions/setup-dotnet@v5
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
|
||||
|
||||
4
.gitignore
vendored
@@ -349,13 +349,11 @@ src/common/Telemetry/*.etl
|
||||
/src/modules/powerrename/ui/RCb24464
|
||||
|
||||
# Generated installer file for Monaco source files.
|
||||
/installer/PowerToysSetup/MonacoSRC.wxs
|
||||
/installer/PowerToysSetupVNext/MonacoSRC.wxs
|
||||
|
||||
# MSBuildCache
|
||||
/MSBuildCacheLogs/
|
||||
|
||||
# PowerToys Settings generated search index (legacy location) and obj outputs
|
||||
/src/settings-ui/Settings.UI/Assets/Settings/search.index.json
|
||||
|
||||
# PowerToysInstaller Build Temp Files
|
||||
installer/*/*.wxs.bk
|
||||
|
||||
3
.gitmodules
vendored
@@ -4,3 +4,6 @@
|
||||
[submodule "deps/expected-lite"]
|
||||
path = deps/expected-lite
|
||||
url = https://github.com/martinmoene/expected-lite.git
|
||||
[submodule "deps/cziplib"]
|
||||
path = deps/cziplib
|
||||
url = https://github.com/kuba--/zip.git
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
{
|
||||
"MatchedPath": [
|
||||
"*.resources.dll",
|
||||
|
||||
"WinUI3Apps\\Assets\\Settings\\Scripts\\*.ps1",
|
||||
|
||||
"PowerToys.ActionRunner.exe",
|
||||
@@ -26,9 +27,6 @@
|
||||
"PowerToys.GPOWrapper.dll",
|
||||
"PowerToys.GPOWrapperProjection.dll",
|
||||
"PowerToys.AllExperiments.dll",
|
||||
"LanguageModelProvider.dll",
|
||||
|
||||
"Common.Search.dll",
|
||||
|
||||
"PowerToys.AlwaysOnTop.exe",
|
||||
"PowerToys.AlwaysOnTopModuleInterface.dll",
|
||||
@@ -55,6 +53,7 @@
|
||||
"PowerToys.Awake.exe",
|
||||
"PowerToys.Awake.dll",
|
||||
|
||||
|
||||
"PowerToys.FancyZonesEditor.exe",
|
||||
"PowerToys.FancyZonesEditor.dll",
|
||||
"PowerToys.FancyZonesEditorCommon.dll",
|
||||
@@ -133,9 +132,6 @@
|
||||
"PowerToys.ImageResizerContextMenu.dll",
|
||||
"ImageResizerContextMenuPackage.msix",
|
||||
|
||||
"PowerToys.LightSwitchModuleInterface.dll",
|
||||
"LightSwitchService\\PowerToys.LightSwitchService.exe",
|
||||
|
||||
"PowerToys.KeyboardManager.dll",
|
||||
"KeyboardManagerEditor\\PowerToys.KeyboardManagerEditor.exe",
|
||||
"KeyboardManagerEngine\\PowerToys.KeyboardManagerEngine.exe",
|
||||
@@ -181,7 +177,6 @@
|
||||
"PowerToys.MousePointerCrosshairs.dll",
|
||||
"PowerToys.MouseJumpUI.dll",
|
||||
"PowerToys.MouseJumpUI.exe",
|
||||
"PowerToys.CursorWrap.dll",
|
||||
|
||||
"PowerToys.MouseWithoutBorders.dll",
|
||||
"PowerToys.MouseWithoutBorders.exe",
|
||||
@@ -233,12 +228,7 @@
|
||||
|
||||
"PowerToys.CmdPalModuleInterface.dll",
|
||||
"CmdPalKeyboardService.dll",
|
||||
"*Microsoft.CmdPal.UI_*.msix",
|
||||
|
||||
"PowerToys.DSC.dll",
|
||||
"PowerToys.DSC.exe",
|
||||
|
||||
"PowerToysSparse.msix"
|
||||
"*Microsoft.CmdPal.UI_*.msix"
|
||||
],
|
||||
"SigningInfo": {
|
||||
"Operations": [
|
||||
@@ -290,7 +280,6 @@
|
||||
"Mono.Cecil.Pdb.dll",
|
||||
"Mono.Cecil.Rocks.dll",
|
||||
"Newtonsoft.Json.dll",
|
||||
"CommunityToolkit.WinUI.Controls.TitleBar.dll",
|
||||
|
||||
"NLog.dll",
|
||||
"HtmlAgilityPack.dll",
|
||||
@@ -305,9 +294,6 @@
|
||||
"msvcp140_1_app.dll",
|
||||
"msvcp140_2_app.dll",
|
||||
"msvcp140_app.dll",
|
||||
"Namotion.Reflection.dll",
|
||||
"NJsonSchema.Annotations.dll",
|
||||
"NJsonSchema.dll",
|
||||
"vcamp140_app.dll",
|
||||
"vccorlib140_app.dll",
|
||||
"vcomp140_app.dll",
|
||||
@@ -333,12 +319,6 @@
|
||||
"WinUI3Apps\\ReverseMarkdown.dll",
|
||||
"WinUI3Apps\\SharpCompress.dll",
|
||||
"WinUI3Apps\\ZstdSharp.dll",
|
||||
"CommunityToolkit.WinUI.Controls.MarkdownTextBlock.dll",
|
||||
"WinUI3Apps\\CommunityToolkit.WinUI.Controls.MarkdownTextBlock.dll",
|
||||
"Markdig.dll",
|
||||
"WinUI3Apps\\Markdig.dll",
|
||||
"RomanNumerals.dll",
|
||||
"WinUI3Apps\\RomanNumerals.dll",
|
||||
"TestableIO.System.IO.Abstractions.dll",
|
||||
"WinUI3Apps\\TestableIO.System.IO.Abstractions.dll",
|
||||
"TestableIO.System.IO.Abstractions.Wrappers.dll",
|
||||
@@ -347,8 +327,6 @@
|
||||
"Testably.Abstractions.FileSystem.Interface.dll",
|
||||
"WinUI3Apps\\Testably.Abstractions.FileSystem.Interface.dll",
|
||||
"ColorCode.Core.dll",
|
||||
"Microsoft.SemanticKernel.Connectors.Ollama.dll",
|
||||
"OllamaSharp.dll",
|
||||
|
||||
"UnitsNet.dll",
|
||||
"UtfUnknown.dll",
|
||||
|
||||
56
.pipelines/ESRPSigning_installer.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"Version": "1.0.0",
|
||||
"UseMinimatch": false,
|
||||
"SignBatches": [
|
||||
{
|
||||
"MatchedPath": [
|
||||
"PowerToysSetupCustomActions.dll",
|
||||
"PowerToysSetupCustomActionsVNext.dll",
|
||||
"PowerToys*Setup-*.exe",
|
||||
"PowerToys*Setup-*.msi",
|
||||
"PowerToys*Setup-*.msi",
|
||||
"PowerToys*SetupVNext-*.exe",
|
||||
"PowerToys*SetupVNext-*.msi"
|
||||
],
|
||||
"SigningInfo": {
|
||||
"Operations": [
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationSetCode": "SigntoolSign",
|
||||
"Parameters": [
|
||||
{
|
||||
"parameterName": "OpusName",
|
||||
"parameterValue": "Microsoft"
|
||||
},
|
||||
{
|
||||
"parameterName": "OpusInfo",
|
||||
"parameterValue": "http://www.microsoft.com"
|
||||
},
|
||||
{
|
||||
"parameterName": "FileDigest",
|
||||
"parameterValue": "/fd \"SHA256\""
|
||||
},
|
||||
{
|
||||
"parameterName": "PageHash",
|
||||
"parameterValue": "/NPH"
|
||||
},
|
||||
{
|
||||
"parameterName": "TimeStamp",
|
||||
"parameterValue": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
|
||||
}
|
||||
],
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
},
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationSetCode": "SigntoolVerify",
|
||||
"Parameters": [],
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory = $true)]
|
||||
[string]$BuildPlatform,
|
||||
|
||||
[Parameter(Mandatory = $true)]
|
||||
[string]$BuildConfiguration,
|
||||
|
||||
[Parameter()]
|
||||
[string]$RepoRoot = (Get-Location).Path
|
||||
)
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
function Resolve-PlatformDirectory {
|
||||
param(
|
||||
[string]$Root,
|
||||
[string]$Platform
|
||||
)
|
||||
|
||||
$normalized = $Platform.Trim()
|
||||
$candidates = @()
|
||||
$candidates += Join-Path $Root $normalized
|
||||
$candidates += Join-Path $Root ($normalized.ToUpperInvariant())
|
||||
$candidates += Join-Path $Root ($normalized.ToLowerInvariant())
|
||||
$candidates = $candidates | Where-Object { -not [string]::IsNullOrWhiteSpace($_) } | Select-Object -Unique
|
||||
|
||||
foreach ($candidate in $candidates) {
|
||||
if (Test-Path $candidate) {
|
||||
return $candidate
|
||||
}
|
||||
}
|
||||
|
||||
return $candidates[0]
|
||||
}
|
||||
|
||||
Write-Host "Repo root: $RepoRoot"
|
||||
Write-Host "Requested build platform: $BuildPlatform"
|
||||
Write-Host "Requested configuration: $BuildConfiguration"
|
||||
|
||||
# Always use x64 PowerToys.DSC.exe since CI/CD machines are x64
|
||||
$exePlatform = 'x64'
|
||||
$exeRoot = Resolve-PlatformDirectory -Root $RepoRoot -Platform $exePlatform
|
||||
$exeOutputDir = Join-Path $exeRoot $BuildConfiguration
|
||||
$exePath = Join-Path $exeOutputDir 'PowerToys.DSC.exe'
|
||||
|
||||
Write-Host "Using x64 PowerToys.DSC.exe to generate DSC manifests for $BuildPlatform build"
|
||||
|
||||
if (-not (Test-Path $exePath)) {
|
||||
throw "PowerToys.DSC.exe not found at '$exePath'. Make sure it has been built first."
|
||||
}
|
||||
|
||||
Write-Host "Using PowerToys.DSC.exe at '$exePath'."
|
||||
|
||||
# Output DSC manifests to the target build platform directory (x64, ARM64, etc.)
|
||||
$outputRoot = Resolve-PlatformDirectory -Root $RepoRoot -Platform $BuildPlatform
|
||||
if (-not (Test-Path $outputRoot)) {
|
||||
Write-Host "Creating missing platform output root at '$outputRoot'."
|
||||
New-Item -Path $outputRoot -ItemType Directory -Force | Out-Null
|
||||
}
|
||||
|
||||
$outputDir = Join-Path $outputRoot $BuildConfiguration
|
||||
if (-not (Test-Path $outputDir)) {
|
||||
Write-Host "Creating missing configuration output directory at '$outputDir'."
|
||||
New-Item -Path $outputDir -ItemType Directory -Force | Out-Null
|
||||
}
|
||||
|
||||
# DSC v3 manifests go to DSCModules subfolder
|
||||
$dscOutputDir = Join-Path $outputDir 'DSCModules'
|
||||
if (-not (Test-Path $dscOutputDir)) {
|
||||
Write-Host "Creating DSCModules subfolder at '$dscOutputDir'."
|
||||
New-Item -Path $dscOutputDir -ItemType Directory -Force | Out-Null
|
||||
}
|
||||
|
||||
Write-Host "DSC manifests will be generated to: '$dscOutputDir'"
|
||||
|
||||
Write-Host "Cleaning previously generated DSC manifest files from '$dscOutputDir'."
|
||||
Get-ChildItem -Path $dscOutputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction SilentlyContinue | Remove-Item -Force
|
||||
|
||||
$arguments = @('manifest', '--resource', 'settings', '--outputDir', $dscOutputDir)
|
||||
Write-Host "Invoking DSC manifest generator: '$exePath' $($arguments -join ' ')"
|
||||
& $exePath @arguments
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "PowerToys.DSC.exe exited with code $LASTEXITCODE"
|
||||
}
|
||||
|
||||
$generatedFiles = Get-ChildItem -Path $dscOutputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction Stop
|
||||
if ($generatedFiles.Count -eq 0) {
|
||||
throw "No DSC manifest files were generated in '$dscOutputDir'."
|
||||
}
|
||||
|
||||
Write-Host "Generated $($generatedFiles.Count) DSC manifest file(s):"
|
||||
foreach ($file in $generatedFiles) {
|
||||
Write-Host " - $($file.FullName)"
|
||||
}
|
||||
26
.pipelines/installWiX.ps1
Normal file
@@ -0,0 +1,26 @@
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
|
||||
$WixDownloadUrl = "https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314.exe"
|
||||
$WixBinariesDownloadUrl = "https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip"
|
||||
|
||||
# Download WiX binaries and verify their hash sums
|
||||
Invoke-WebRequest -Uri $WixDownloadUrl -OutFile "$($ENV:Temp)\wix314.exe"
|
||||
$Hash = (Get-FileHash -Algorithm SHA256 "$($ENV:Temp)\wix314.exe").Hash
|
||||
if ($Hash -ne '6BF6D03D6923D9EF827AE1D943B90B42B8EBB1B0F68EF6D55F868FA34C738A29')
|
||||
{
|
||||
Write-Error "$WixHash"
|
||||
throw "wix314.exe has unexpected SHA256 hash: $Hash"
|
||||
}
|
||||
Invoke-WebRequest -Uri $WixBinariesDownloadUrl -OutFile "$($ENV:Temp)\wix314-binaries.zip"
|
||||
$Hash = (Get-FileHash -Algorithm SHA256 "$($ENV:Temp)\wix314-binaries.zip").Hash
|
||||
if($Hash -ne '6AC824E1642D6F7277D0ED7EA09411A508F6116BA6FAE0AA5F2C7DAA2FF43D31')
|
||||
{
|
||||
throw "wix314-binaries.zip has unexpected SHA256 hash: $Hash"
|
||||
}
|
||||
|
||||
# Install WiX
|
||||
Start-Process -Wait -FilePath "$($ENV:Temp)\wix314.exe" -ArgumentList "/install /quiet"
|
||||
|
||||
# Extract WiX binaries and copy wix.targets to the installed dir
|
||||
Expand-Archive -Path "$($ENV:Temp)\wix314-binaries.zip" -Force -DestinationPath "$($ENV:Temp)"
|
||||
Copy-Item -Path "$($ENV:Temp)\wix.targets" -Destination "C:\Program Files (x86)\WiX Toolset v3.14\"
|
||||
@@ -29,8 +29,8 @@ steps:
|
||||
displayName: 'Touchdown Build - 37400, PRODEXT'
|
||||
inputs:
|
||||
teamId: 37400
|
||||
FederatedIdentityTDBuildServiceConnection: $(TouchdownServiceConnection)
|
||||
authType: FederatedIdentityTDBuild
|
||||
TDBuildServiceConnection: $(TouchdownServiceConnection)
|
||||
authType: SubjectNameIssuer
|
||||
resourceFilePath: |
|
||||
src\**\Resources.resx
|
||||
src\**\Resource.resx
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
# .pipelines/v2/nightly-prewarm.yml
|
||||
# Nightly pre-warm that reuses your existing ci.yml as-is
|
||||
|
||||
trigger: none
|
||||
pr: none
|
||||
|
||||
# (18:00 UTC) — adjust as you like
|
||||
schedules:
|
||||
- cron: "0 18 * * *" # UTC
|
||||
displayName: Nightly pre-warm (main)
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
always: true
|
||||
|
||||
name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
|
||||
|
||||
parameters:
|
||||
- name: buildPlatforms
|
||||
type: object
|
||||
default:
|
||||
- x64
|
||||
- arm64
|
||||
- name: enableMsBuildCaching
|
||||
type: boolean
|
||||
displayName: "Enable MSBuild Caching"
|
||||
default: true
|
||||
- name: msBuildCacheIsReadOnly
|
||||
type: boolean
|
||||
displayName: "MSBuild Cache Read Only"
|
||||
default: false
|
||||
|
||||
extends:
|
||||
template: templates/pipeline-ci-build.yml
|
||||
parameters:
|
||||
buildPlatforms: ${{ parameters.buildPlatforms }}
|
||||
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
|
||||
msBuildCacheIsReadOnly: ${{ parameters.msBuildCacheIsReadOnly }}
|
||||
@@ -32,7 +32,7 @@ parameters:
|
||||
- name: enableMsBuildCaching
|
||||
type: boolean
|
||||
displayName: "Enable MSBuild Caching"
|
||||
default: false
|
||||
default: true
|
||||
- name: runTests
|
||||
type: boolean
|
||||
displayName: "Run Tests"
|
||||
|
||||
@@ -38,6 +38,11 @@ parameters:
|
||||
displayName: "Build Using Visual Studio Preview"
|
||||
default: false
|
||||
|
||||
- name: enableAOT
|
||||
type: boolean
|
||||
displayName: "Enable AOT (Ahead-of-Time) Compilation for CmdPal"
|
||||
default: true
|
||||
|
||||
name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
|
||||
|
||||
variables:
|
||||
@@ -52,15 +57,13 @@ extends:
|
||||
name: SHINE-INT-S
|
||||
${{ if eq(parameters.useVSPreview, true) }}:
|
||||
demands: ImageOverride -equals SHINE-VS17-Preview
|
||||
${{ else }}:
|
||||
image: SHINE-VS17-Latest
|
||||
os: windows
|
||||
sdl:
|
||||
tsa:
|
||||
enabled: true
|
||||
configFile: '$(Build.SourcesDirectory)\.pipelines\tsa.json'
|
||||
binskim:
|
||||
enabled: true
|
||||
# Exclude every dll/exe in tests/*, as well as all msdia*, covrun* and vcruntime*
|
||||
analyzeTargetGlob: +:file|$(Build.ArtifactStagingDirectory)/**/*.dll;+:file|$(Build.ArtifactStagingDirectory)/**/*.exe;-:file:regex|tests.*\.(dll|exe)$;-:file:regex|(covrun.*)\.dll$;-:file:regex|(msdia.*)\.dll$;-:file:regex|(vcruntime.*)\.dll$
|
||||
|
||||
stages:
|
||||
- stage: Build
|
||||
@@ -71,10 +74,10 @@ extends:
|
||||
parameters:
|
||||
pool:
|
||||
name: SHINE-INT-L
|
||||
demands:
|
||||
# Our INT agents have a large disk mounted at P:\
|
||||
- ${{ if eq(parameters.useVSPreview, true) }}:
|
||||
- ImageOverride -equals SHINE-VS17-Preview
|
||||
${{ if eq(parameters.useVSPreview, true) }}:
|
||||
demands: ImageOverride -equals SHINE-VS17-Preview
|
||||
${{ else }}:
|
||||
image: SHINE-VS17-Latest
|
||||
os: windows
|
||||
variables:
|
||||
IsPipeline: 1 # The installer uses this to detect whether it should pick up localizations
|
||||
@@ -97,7 +100,7 @@ extends:
|
||||
useManagedIdentity: $(SigningUseManagedIdentity)
|
||||
clientId: $(SigningOriginalClientId)
|
||||
# Have msbuild use the release nuget config profile
|
||||
additionalBuildOptions: /p:RestoreConfigFile="$(Build.SourcesDirectory)\.pipelines\release-nuget.config" /p:EnableCmdPalAOT=true
|
||||
additionalBuildOptions: /p:RestoreConfigFile="$(Build.SourcesDirectory)\.pipelines\release-nuget.config" /p:EnableCmdPalAOT=${{ parameters.enableAOT }}
|
||||
beforeBuildSteps:
|
||||
# Sets versions for all PowerToy created DLLs
|
||||
- pwsh: |-
|
||||
@@ -123,6 +126,7 @@ extends:
|
||||
parameters:
|
||||
pool:
|
||||
name: SHINE-INT-L
|
||||
image: SHINE-VS17-Latest
|
||||
os: windows
|
||||
official: true
|
||||
codeSign: true
|
||||
|
||||
@@ -50,9 +50,6 @@ parameters:
|
||||
- name: enableMsBuildCaching
|
||||
type: boolean
|
||||
default: false
|
||||
- name: msBuildCacheIsReadOnly
|
||||
type: boolean
|
||||
default: true
|
||||
- name: runTests
|
||||
type: boolean
|
||||
default: true
|
||||
@@ -111,7 +108,6 @@ jobs:
|
||||
${{ else }}:
|
||||
OutputBuildPlatform: ${{ platform }}
|
||||
variables:
|
||||
NUGET_PACKAGES: 'C:\NuGetPackages' # Some of our build steps cache these here... and it was apparently part of the global environment
|
||||
MakeAppxPath: 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\MakeAppx.exe'
|
||||
# Azure DevOps abhors a vacuum
|
||||
# If these are blank, expansion will fail later on... which will result in direct substitution of the variable *names*
|
||||
@@ -140,10 +136,6 @@ jobs:
|
||||
- output: pipelineArtifact
|
||||
artifactName: $(JobOutputArtifactName)
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
- output: pipelineArtifact
|
||||
artifactName: $(JobOutputArtifactName)-failure-$(System.JobAttempt)
|
||||
targetPath: $(LogOutputDirectory)
|
||||
condition: or(failed(), canceled())
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
@@ -159,11 +151,6 @@ jobs:
|
||||
$MSBuildCacheParameters += " -reportfileaccesses"
|
||||
$MSBuildCacheParameters += " -p:MSBuildCacheEnabled=true"
|
||||
$MSBuildCacheParameters += " -p:MSBuildCacheLogDirectory=$(LogOutputDirectory)\MSBuildCacheLogs"
|
||||
# Cache read-only policy controlled by parameter
|
||||
$cacheIsReadOnly = "${{ parameters.msBuildCacheIsReadOnly }}"
|
||||
if ($cacheIsReadOnly -eq "True") {
|
||||
$MSBuildCacheParameters += " /p:MSBuildCacheRemoteCacheIsReadOnly=true"
|
||||
}
|
||||
Write-Host "MSBuildCacheParameters: $MSBuildCacheParameters"
|
||||
Write-Host "##vso[task.setvariable variable=MSBuildCacheParameters]$MSBuildCacheParameters"
|
||||
displayName: Prepare MSBuildCache variables
|
||||
@@ -242,7 +229,9 @@ jobs:
|
||||
parameters:
|
||||
directory: $(build.sourcesdirectory)\src\modules\cmdpal
|
||||
|
||||
|
||||
- pwsh: |-
|
||||
& "$(build.sourcesdirectory)\.pipelines\installWiX.ps1"
|
||||
displayName: Download and install WiX 3.14 development build
|
||||
|
||||
- ${{ parameters.beforeBuildSteps }}
|
||||
|
||||
@@ -271,43 +260,6 @@ jobs:
|
||||
env:
|
||||
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: Generate DSC artifacts for ARM64
|
||||
condition: and(succeeded(), eq(variables['BuildPlatform'], 'arm64'))
|
||||
inputs:
|
||||
solution: PowerToys.sln
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
-restore
|
||||
/p:Configuration=$(BuildConfiguration)
|
||||
/p:Platform=x64
|
||||
/t:DSC\PowerToys_Settings_DSC_Schema_Generator
|
||||
/bl:$(LogOutputDirectory)\build-dsc-generator.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
$(MSBuildCacheParameters)
|
||||
$(RestoreAdditionalProjectSourcesArg)
|
||||
platform: x64
|
||||
configuration: $(BuildConfiguration)
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
# Build PowerToys.DSC.exe for ARM64 (x64 uses existing binary from previous build)
|
||||
- task: VSBuild@1
|
||||
displayName: Build PowerToys.DSC.exe (x64 for generating manifests)
|
||||
condition: and(succeeded(), ne(variables['BuildPlatform'], 'x64'))
|
||||
inputs:
|
||||
solution: src/dsc/v3/PowerToys.DSC/PowerToys.DSC.csproj
|
||||
msbuildArgs: /t:Build /m /restore
|
||||
platform: x64
|
||||
configuration: $(BuildConfiguration)
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
# Generate DSC manifests using PowerToys.DSC.exe
|
||||
- pwsh: |-
|
||||
& '.pipelines/generateDscManifests.ps1' -BuildPlatform '$(BuildPlatform)' -BuildConfiguration '$(BuildConfiguration)' -RepoRoot '$(Build.SourcesDirectory)'
|
||||
displayName: Generate DSC manifests
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: Stage SDK/build
|
||||
inputs:
|
||||
@@ -400,7 +352,7 @@ jobs:
|
||||
### HACK: On ARM64 builds, building an app with Windows App SDK copies the x64 WebView2 dll instead of the ARM64 one. This task makes sure the right dll is used.
|
||||
- task: CopyFiles@2
|
||||
displayName: HACK Copy core WebView2 ARM64 dll to output directory
|
||||
condition: and(succeeded(), eq(variables['BuildPlatform'], 'arm64'))
|
||||
condition: eq(variables['BuildPlatform'],'arm64')
|
||||
inputs:
|
||||
contents: packages/Microsoft.Web.WebView2.1.0.2903.40/runtimes/win-ARM64/native_uap/Microsoft.Web.WebView2.Core.dll
|
||||
targetFolder: $(Build.SourcesDirectory)/ARM64/Release/WinUI3Apps/
|
||||
@@ -439,11 +391,11 @@ jobs:
|
||||
inputs:
|
||||
testResultsFormat: VSTest
|
||||
testResultsFiles: '**/*.trx'
|
||||
condition: and(succeeded(), ne(variables['BuildPlatform'], 'arm64'))
|
||||
condition: ne(variables['BuildPlatform'],'arm64')
|
||||
|
||||
# Native dlls
|
||||
- task: VSTest@2
|
||||
condition: and(succeeded(), ne(variables['BuildPlatform'], 'arm64')) # No arm64 agents to run the tests.
|
||||
condition: ne(variables['BuildPlatform'],'arm64') # No arm64 agents to run the tests.
|
||||
displayName: 'Native Tests'
|
||||
inputs:
|
||||
platform: '$(BuildPlatform)'
|
||||
@@ -456,28 +408,9 @@ jobs:
|
||||
!**\obj\**
|
||||
|
||||
- pwsh: |-
|
||||
$Packages = Get-ChildItem -Recurse -Filter "Microsoft.CmdPal.UI_*.msix"
|
||||
Write-Host "Found $($Packages.Count) CmdPal MSIX package(s):"
|
||||
foreach ($pkg in $Packages) {
|
||||
Write-Host " - $($pkg.FullName)"
|
||||
}
|
||||
|
||||
if ($Packages.Count -gt 0) {
|
||||
# Priority: Look for platform-specific MSIX (x64/arm64) first, then fall back to any
|
||||
$PlatformPackage = $Packages | Where-Object { $_.Name -match "Microsoft\.CmdPal\.UI_.*_(x64|arm64)\.msix$" } | Select-Object -First 1
|
||||
if ($PlatformPackage) {
|
||||
$Package = $PlatformPackage
|
||||
Write-Host "Using platform-specific package: $($Package.FullName)"
|
||||
} else {
|
||||
$Package = $Packages | Select-Object -First 1
|
||||
Write-Host "Using first available package: $($Package.FullName)"
|
||||
}
|
||||
|
||||
$PackageFilename = $Package.FullName
|
||||
Write-Host "##vso[task.setvariable variable=CmdPalPackagePath]${PackageFilename}"
|
||||
} else {
|
||||
Write-Warning "No CmdPal MSIX packages found!"
|
||||
}
|
||||
$Package = (Get-ChildItem -Recurse -Filter "Microsoft.CmdPal.UI_*.msix" | Select -First 1)
|
||||
$PackageFilename = $Package.FullName
|
||||
Write-Host "##vso[task.setvariable variable=CmdPalPackagePath]${PackageFilename}"
|
||||
displayName: Locate the CmdPal MSIX
|
||||
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
@@ -528,7 +461,20 @@ jobs:
|
||||
Copy-Item -Verbose -Force "$(CmdPalPackagePath)" "$(JobOutputDirectory)"
|
||||
displayName: Stage the final CmdPal package
|
||||
|
||||
- template: steps-build-installer.yml
|
||||
parameters:
|
||||
codeSign: ${{ parameters.codeSign }}
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
versionNumber: ${{ parameters.versionNumber }}
|
||||
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
|
||||
|
||||
- template: steps-build-installer.yml
|
||||
parameters:
|
||||
codeSign: ${{ parameters.codeSign }}
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
versionNumber: ${{ parameters.versionNumber }}
|
||||
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
|
||||
buildUserInstaller: true # NOTE: This is the distinction between the above and below rules
|
||||
|
||||
- template: steps-build-installer-vnext.yml
|
||||
parameters:
|
||||
@@ -537,6 +483,14 @@ jobs:
|
||||
versionNumber: ${{ parameters.versionNumber }}
|
||||
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
|
||||
|
||||
- template: steps-build-installer-vnext.yml
|
||||
parameters:
|
||||
codeSign: ${{ parameters.codeSign }}
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
versionNumber: ${{ parameters.versionNumber }}
|
||||
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
|
||||
buildUserInstaller: true # NOTE: This is the distinction between the above and below rules
|
||||
|
||||
# This saves ~1GiB per architecture. We won't need these later.
|
||||
# Removes:
|
||||
# - All .pdb files from any static libs .libs (which were only used during linking)
|
||||
@@ -555,73 +509,91 @@ jobs:
|
||||
- task: CopyFiles@2
|
||||
displayName: Stage Installers
|
||||
inputs:
|
||||
contents: |-
|
||||
**/PowerToys*Setup-*.exe
|
||||
!**/PowerToysSetupVNext/obj/**
|
||||
contents: "**/PowerToys*Setup-*.exe"
|
||||
flattenFolders: True
|
||||
targetFolder: $(JobOutputDirectory)
|
||||
|
||||
- pwsh: |-
|
||||
$Symbols = Get-ChildItem "$(BuildPlatform)" -Recurse -Filter *.pdb -Exclude "vc143.pdb","*test*.pdb" |
|
||||
Group-Object Name | ForEach-Object { $_.Group[0] }
|
||||
$OutDir = "$(JobOutputDirectory)/symbols-$(BuildPlatform)"
|
||||
New-Item -Type Directory $OutDir -EA:Ignore
|
||||
Write-Host "Linking $($Symbols.Length) symbols into place at $OutDir"
|
||||
ForEach($s in $Symbols) {
|
||||
New-Item -Type HardLink -Target $s.FullName (Join-Path $OutDir $s.Name)
|
||||
}
|
||||
displayName: Stage Unique Symbols (as hard links)
|
||||
- task: CopyFiles@2
|
||||
displayName: Stage VNext Installers
|
||||
inputs:
|
||||
contents: |-
|
||||
installer/PowerToysSetupVNext/**/PowerToys*SetupVNext-*.exe
|
||||
!installer/PowerToysSetupVNext/obj/**
|
||||
flattenFolders: True
|
||||
targetFolder: $(JobOutputDirectory)
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: Stage Symbols
|
||||
inputs:
|
||||
contents: |-
|
||||
**\*.pdb
|
||||
!**\vc143.pdb
|
||||
!**\*test*.pdb
|
||||
flattenFolders: True
|
||||
targetFolder: $(JobOutputDirectory)/symbols-$(BuildPlatform)/
|
||||
|
||||
- pwsh: |-
|
||||
$p = "$(JobOutputDirectory)\"
|
||||
$userHash = ((Get-Item $p\PowerToysUserSetup*.exe | Get-FileHash).Hash);
|
||||
$machineHash = ((Get-Item $p\PowerToysSetup*.exe | Get-FileHash).Hash);
|
||||
$userPlat = "hash_user_$(BuildPlatform).txt";
|
||||
$machinePlat = "hash_machine_$(BuildPlatform).txt";
|
||||
$combinedUserPath = $p + $userPlat;
|
||||
$combinedMachinePath = $p + $machinePlat;
|
||||
|
||||
echo $p
|
||||
|
||||
echo $userPlat
|
||||
echo $userHash
|
||||
echo $combinedUserPath
|
||||
|
||||
echo $machinePlat
|
||||
echo $machineHash
|
||||
echo $combinedMachinePath
|
||||
|
||||
$userHash | out-file -filepath $combinedUserPath
|
||||
$machineHash | out-file -filepath $combinedMachinePath
|
||||
displayName: Calculate file hashes
|
||||
|
||||
# Output config for installer vnext
|
||||
- pwsh: |-
|
||||
$p = "$(JobOutputDirectory)\"
|
||||
$userHash = ((Get-Item $p\PowerToysUserSetupVNext*.exe | Get-FileHash).Hash);
|
||||
$machineHash = ((Get-Item $p\PowerToysSetupVNext*.exe | Get-FileHash).Hash);
|
||||
$userPlat = "hash_user_$(BuildPlatform).txt";
|
||||
$machinePlat = "hash_machine_$(BuildPlatform).txt";
|
||||
$combinedUserPath = $p + $userPlat;
|
||||
$combinedMachinePath = $p + $machinePlat;
|
||||
|
||||
# Calculate hashes for installers
|
||||
$userSetupFiles = Get-ChildItem -Path $p -Filter "PowerToysUserSetup*.exe"
|
||||
$machineSetupFiles = Get-ChildItem -Path $p -Filter "PowerToysSetup*.exe" | Where-Object { $_.Name -notmatch "PowerToysUserSetup" }
|
||||
echo $p
|
||||
echo $userPlat
|
||||
echo $userHash
|
||||
echo $combinedUserPath
|
||||
echo $machinePlat
|
||||
echo $machineHash
|
||||
echo $combinedMachinePath
|
||||
|
||||
if ($userSetupFiles.Count -gt 0) {
|
||||
$userHash = ($userSetupFiles[0] | Get-FileHash).Hash;
|
||||
$userPlat = "hash_user_$(BuildPlatform).txt";
|
||||
$combinedUserPath = $p + $userPlat;
|
||||
echo "User: $userHash"
|
||||
$userHash | out-file -filepath $combinedUserPath
|
||||
}
|
||||
|
||||
if ($machineSetupFiles.Count -gt 0) {
|
||||
$machineHash = ($machineSetupFiles[0] | Get-FileHash).Hash;
|
||||
$machinePlat = "hash_machine_$(BuildPlatform).txt";
|
||||
$combinedMachinePath = $p + $machinePlat;
|
||||
echo "Machine: $machineHash"
|
||||
$machineHash | out-file -filepath $combinedMachinePath
|
||||
}
|
||||
displayName: Calculate file hashes for all installers
|
||||
$userHash | out-file -filepath $combinedUserPath
|
||||
$machineHash | out-file -filepath $combinedMachinePath
|
||||
displayName: Calculate file hashes
|
||||
|
||||
# Publishing the GPO files
|
||||
- pwsh: |-
|
||||
$GpoArchive = "$(JobOutputDirectory)\GroupPolicyObjectFiles-${{ parameters.versionNumber }}.zip"
|
||||
tar -c -v --format=zip -C .\src\gpo\assets -f $GpoArchive *
|
||||
New-Item "$(JobOutputDirectory)/gpo" -Type Directory
|
||||
Copy-Item src\gpo\assets\* "$(JobOutputDirectory)/gpo" -Recurse
|
||||
displayName: Stage GPO files
|
||||
|
||||
# Running the tests may result in future jobs consuming artifacts out of this build
|
||||
- ${{ if or(eq(parameters.runTests, true), eq(parameters.buildTests, true)) }}:
|
||||
# Running the tests may result in future jobs consuming artifacts out of this build
|
||||
# Instead of running an expensive file copy step, move everything over since the build is totally done.
|
||||
- pwsh: |-
|
||||
# It seems weird, but this is for compatibility. Our artifacts historically contained the folder x64/Release/x64/Release (for example).
|
||||
$FinalOutputRoot = "$(JobOutputDirectory)\$(BuildPlatform)\$(BuildConfiguration)\$(BuildPlatform)"
|
||||
$ProjectBuildRoot = "$(Build.SourcesDirectory)\$(BuildPlatform)"
|
||||
$ProjectBuildDirectory = "$ProjectBuildRoot\$(BuildConfiguration)"
|
||||
|
||||
New-Item -Type Directory $FinalOutputRoot -EA:Ignore
|
||||
Move-Item $ProjectBuildDirectory $FinalOutputRoot
|
||||
displayName: Move entire output directory into artifacts
|
||||
- task: CopyFiles@2
|
||||
displayName: Stage entire build output
|
||||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)'
|
||||
contents: '$(BuildPlatform)/$(BuildConfiguration)/**/*'
|
||||
targetFolder: '$(JobOutputDirectory)\$(BuildPlatform)\$(BuildConfiguration)'
|
||||
|
||||
- ${{ if eq(parameters.publishArtifacts, true) }}:
|
||||
- publish: $(JobOutputDirectory)
|
||||
artifact: $(JobOutputArtifactName)
|
||||
displayName: Publish all outputs
|
||||
condition: succeeded()
|
||||
|
||||
- publish: $(JobOutputDirectory)
|
||||
artifact: $(JobOutputArtifactName)-failure-$(System.JobAttempt)
|
||||
displayName: Publish failure logs
|
||||
condition: or(failed(), canceled())
|
||||
condition: always()
|
||||
|
||||
@@ -123,7 +123,7 @@ jobs:
|
||||
displayName: Stage UI Test Build Outputs
|
||||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)'
|
||||
contents: '**/$(BuildPlatform)/$(BuildConfiguration)/tests/**/*'
|
||||
contents: '$(BuildPlatform)/$(BuildConfiguration)/**/*'
|
||||
targetFolder: '$(JobOutputDirectory)\$(BuildPlatform)\$(BuildConfiguration)'
|
||||
|
||||
- publish: $(JobOutputDirectory)
|
||||
|
||||
@@ -11,14 +11,12 @@ parameters:
|
||||
- name: useLatestWebView2
|
||||
type: boolean
|
||||
default: false
|
||||
- name: buildSource
|
||||
type: string
|
||||
default: "latestMainOfficialBuild"
|
||||
displayName: "Build Source"
|
||||
- name: specificBuildId
|
||||
type: string
|
||||
default: "xxxx"
|
||||
displayName: "Build ID (for specific builds)"
|
||||
- name: useLatestOfficialBuild
|
||||
type: boolean
|
||||
default: true
|
||||
- name: useCurrentBranchBuild
|
||||
type: boolean
|
||||
default: false
|
||||
- name: uiTestModules
|
||||
type: object
|
||||
default: []
|
||||
@@ -115,17 +113,16 @@ jobs:
|
||||
& '$(build.sourcesdirectory)\.pipelines\InstallWinAppDriver.ps1'
|
||||
displayName: Download and install WinAppDriver
|
||||
|
||||
- ${{ if ne(parameters.buildSource, 'buildNow') }}:
|
||||
- ${{ if eq(parameters.useLatestOfficialBuild, true) }}:
|
||||
- task: DownloadPipelineArtifact@2
|
||||
inputs:
|
||||
buildType: 'specific'
|
||||
project: 'Dart'
|
||||
definition: '76541'
|
||||
${{ if eq(parameters.buildSource, 'specificBuildId') }}:
|
||||
buildVersionToDownload: 'specific'
|
||||
buildId: '${{ parameters.specificBuildId }}'
|
||||
buildVersionToDownload: 'latestFromBranch'
|
||||
${{ if eq(parameters.useCurrentBranchBuild, true) }}:
|
||||
branchName: '$(Build.SourceBranch)'
|
||||
${{ else }}:
|
||||
buildVersionToDownload: 'latestFromBranch'
|
||||
branchName: 'refs/heads/main'
|
||||
artifactName: 'build-$(BuildPlatform)-Release'
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)'
|
||||
@@ -136,7 +133,7 @@ jobs:
|
||||
patterns: |
|
||||
**/PowerToysSetup*.exe
|
||||
|
||||
- ${{ if ne(parameters.buildSource, 'buildNow') }}:
|
||||
- ${{ if eq(parameters.useLatestOfficialBuild, true) }}:
|
||||
- ${{ if eq(parameters.installMode, 'peruser') }}:
|
||||
- pwsh: |-
|
||||
& "$(build.sourcesdirectory)\.pipelines\installPowerToys.ps1" -InstallMode "PerUser"
|
||||
@@ -172,7 +169,7 @@ jobs:
|
||||
!**\UITests-FancyZones\**\UITests-FancyZonesEditor.dll
|
||||
env:
|
||||
platform: '$(TestPlatform)'
|
||||
useInstallerForTest: ${{ ne(parameters.buildSource, 'buildNow') }}
|
||||
useInstallerForTest: ${{ parameters.useLatestOfficialBuild }}
|
||||
|
||||
- ${{ if ne(length(parameters.uiTestModules), 0) }}:
|
||||
- ${{ each module in parameters.uiTestModules }}:
|
||||
@@ -194,4 +191,4 @@ jobs:
|
||||
!**\UITests-FancyZones\**\UITests-FancyZonesEditor.dll
|
||||
env:
|
||||
platform: '$(TestPlatform)'
|
||||
useInstallerForTest: ${{ ne(parameters.buildSource, 'buildNow') }}
|
||||
useInstallerForTest: ${{ parameters.useLatestOfficialBuild }}
|
||||
|
||||
@@ -13,9 +13,6 @@ parameters:
|
||||
- name: enableMsBuildCaching
|
||||
type: boolean
|
||||
default: false
|
||||
- name: msBuildCacheIsReadOnly
|
||||
type: boolean
|
||||
default: true
|
||||
- name: runTests
|
||||
type: boolean
|
||||
default: true
|
||||
@@ -55,7 +52,6 @@ stages:
|
||||
buildConfigurations: [Release]
|
||||
enablePackageCaching: true
|
||||
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
|
||||
msBuildCacheIsReadOnly: ${{ parameters.msBuildCacheIsReadOnly }}
|
||||
runTests: ${{ parameters.runTests }}
|
||||
useVSPreview: ${{ parameters.useVSPreview }}
|
||||
useLatestWinAppSDK: ${{ parameters.useLatestWinAppSDK }}
|
||||
|
||||
@@ -19,40 +19,155 @@ parameters:
|
||||
- name: useLatestWebView2
|
||||
type: boolean
|
||||
default: false
|
||||
- name: buildSource
|
||||
type: string
|
||||
default: "latestMainOfficialBuild"
|
||||
displayName: "Build Source"
|
||||
values:
|
||||
- latestMainOfficialBuild
|
||||
- buildNow
|
||||
- specificBuildId
|
||||
- name: specificBuildId
|
||||
type: string
|
||||
default: 'xxxx'
|
||||
displayName: "Build ID (only used when Build Source = specificBuildId)"
|
||||
- name: useLatestOfficialBuild
|
||||
type: boolean
|
||||
default: true
|
||||
- name: testBothInstallModes
|
||||
type: boolean
|
||||
default: true
|
||||
- name: useCurrentBranchBuild
|
||||
type: boolean
|
||||
default: false
|
||||
- name: uiTestModules
|
||||
type: object
|
||||
default: []
|
||||
|
||||
stages:
|
||||
- ${{ each platform in parameters.buildPlatforms }}:
|
||||
# Full build path: build PowerToys + UI tests + run tests
|
||||
- ${{ if eq(parameters.buildSource, 'buildNow') }}:
|
||||
- template: pipeline-ui-tests-full-build.yml
|
||||
parameters:
|
||||
platform: ${{ platform }}
|
||||
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
|
||||
useVSPreview: ${{ parameters.useVSPreview }}
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
- ${{ if eq(parameters.useLatestOfficialBuild, false) }}:
|
||||
- stage: Build_${{ platform }}
|
||||
displayName: Build ${{ platform }}
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: job-build-project.yml
|
||||
parameters:
|
||||
pool:
|
||||
${{ if eq(variables['System.CollectionId'], 'cb55739e-4afe-46a3-970f-1b49d8ee7564') }}:
|
||||
name: SHINE-INT-L
|
||||
${{ else }}:
|
||||
name: SHINE-OSS-L
|
||||
${{ if eq(parameters.useVSPreview, true) }}:
|
||||
demands: ImageOverride -equals SHINE-VS17-Preview
|
||||
buildPlatforms:
|
||||
- ${{ platform }}
|
||||
buildConfigurations: [Release]
|
||||
enablePackageCaching: true
|
||||
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
|
||||
runTests: false
|
||||
buildTests: true
|
||||
useVSPreview: ${{ parameters.useVSPreview }}
|
||||
timeoutInMinutes: 90
|
||||
|
||||
# Official build path: build UI tests only + download official build + run tests
|
||||
- ${{ if ne(parameters.buildSource, 'buildNow') }}:
|
||||
- template: pipeline-ui-tests-official-build.yml
|
||||
parameters:
|
||||
platform: ${{ platform }}
|
||||
buildSource: ${{ parameters.buildSource }}
|
||||
specificBuildId: ${{ parameters.specificBuildId }}
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
- ${{ if eq(parameters.useLatestOfficialBuild, true) }}:
|
||||
- stage: BuildUITests_${{ platform }}
|
||||
displayName: Build UI Tests Only
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: job-build-ui-tests.yml
|
||||
parameters:
|
||||
pool:
|
||||
${{ if eq(variables['System.CollectionId'], 'cb55739e-4afe-46a3-970f-1b49d8ee7564') }}:
|
||||
name: SHINE-INT-L
|
||||
${{ else }}:
|
||||
name: SHINE-OSS-L
|
||||
${{ if eq(parameters.useVSPreview, true) }}:
|
||||
demands: ImageOverride -equals SHINE-VS17-Preview
|
||||
buildPlatforms:
|
||||
- ${{ platform }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
- ${{ if eq(platform, 'x64') }}:
|
||||
- stage: Test_x64Win10
|
||||
displayName: Test x64Win10
|
||||
${{ if eq(parameters.useLatestOfficialBuild, true) }}:
|
||||
dependsOn:
|
||||
- BuildUITests_${{ platform }}
|
||||
${{ else }}:
|
||||
dependsOn:
|
||||
- Build_${{ platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win10
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
useLatestOfficialBuild: ${{ parameters.useLatestOfficialBuild }}
|
||||
useCurrentBranchBuild: ${{ parameters.useCurrentBranchBuild }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
# Additional per-user installation test (when both modes are enabled)
|
||||
- ${{ if and(eq(parameters.useLatestOfficialBuild, true), eq(parameters.testBothInstallModes, true)) }}:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win10
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
useLatestOfficialBuild: ${{ parameters.useLatestOfficialBuild }}
|
||||
useCurrentBranchBuild: ${{ parameters.useCurrentBranchBuild }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
installMode: 'peruser'
|
||||
jobSuffix: '_PerUser'
|
||||
|
||||
- ${{ if eq(platform, 'x64') }}:
|
||||
- stage: Test_x64Win11
|
||||
displayName: Test x64Win11
|
||||
${{ if eq(parameters.useLatestOfficialBuild, true) }}:
|
||||
dependsOn:
|
||||
- BuildUITests_${{ platform }}
|
||||
${{ else }}:
|
||||
dependsOn:
|
||||
- Build_${{ platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win11
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
useLatestOfficialBuild: ${{ parameters.useLatestOfficialBuild }}
|
||||
useCurrentBranchBuild: ${{ parameters.useCurrentBranchBuild }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
# Additional per-user installation test (when both modes are enabled)
|
||||
- ${{ if and(eq(parameters.useLatestOfficialBuild, true), eq(parameters.testBothInstallModes, true)) }}:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win11
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
useLatestOfficialBuild: ${{ parameters.useLatestOfficialBuild }}
|
||||
useCurrentBranchBuild: ${{ parameters.useCurrentBranchBuild }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
installMode: 'peruser'
|
||||
jobSuffix: '_PerUser'
|
||||
|
||||
- ${{ if ne(platform, 'x64') }}:
|
||||
- stage: Test_${{ platform }}
|
||||
displayName: Test ${{ platform }}
|
||||
${{ if eq(parameters.useLatestOfficialBuild, true) }}:
|
||||
dependsOn:
|
||||
- BuildUITests_${{ platform }}
|
||||
${{ else }}:
|
||||
dependsOn:
|
||||
- Build_${{ platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: ${{ platform }}
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
useLatestOfficialBuild: ${{ parameters.useLatestOfficialBuild }}
|
||||
useCurrentBranchBuild: ${{ parameters.useCurrentBranchBuild }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
# Additional per-user installation test (when both modes are enabled)
|
||||
- ${{ if and(eq(parameters.useLatestOfficialBuild, true), eq(parameters.testBothInstallModes, true)) }}:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: ${{ platform }}
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
useLatestOfficialBuild: ${{ parameters.useLatestOfficialBuild }}
|
||||
useCurrentBranchBuild: ${{ parameters.useCurrentBranchBuild }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
installMode: 'peruser'
|
||||
jobSuffix: '_PerUser'
|
||||
@@ -1,80 +0,0 @@
|
||||
# Template for full build path: Build PowerToys + Build UI Tests + Run Tests
|
||||
parameters:
|
||||
- name: platform
|
||||
type: string
|
||||
- name: enableMsBuildCaching
|
||||
type: boolean
|
||||
default: false
|
||||
- name: useVSPreview
|
||||
type: boolean
|
||||
default: false
|
||||
- name: useLatestWebView2
|
||||
type: boolean
|
||||
default: false
|
||||
- name: uiTestModules
|
||||
type: object
|
||||
default: []
|
||||
|
||||
stages:
|
||||
# Stage 1: Build full PowerToys project
|
||||
- stage: Build_${{ parameters.platform }}
|
||||
displayName: Build PowerToys ${{ parameters.platform }}
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: job-build-project.yml
|
||||
parameters:
|
||||
pool:
|
||||
${{ if eq(variables['System.CollectionId'], 'cb55739e-4afe-46a3-970f-1b49d8ee7564') }}:
|
||||
name: SHINE-INT-L
|
||||
${{ else }}:
|
||||
name: SHINE-OSS-L
|
||||
${{ if eq(parameters.useVSPreview, true) }}:
|
||||
demands: ImageOverride -equals SHINE-VS17-Preview
|
||||
buildPlatforms:
|
||||
- ${{ parameters.platform }}
|
||||
buildConfigurations: [Release]
|
||||
enablePackageCaching: true
|
||||
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
|
||||
runTests: false
|
||||
buildTests: true
|
||||
useVSPreview: ${{ parameters.useVSPreview }}
|
||||
timeoutInMinutes: 90
|
||||
|
||||
# Stage 2: Run UI Tests
|
||||
- ${{ if eq(parameters.platform, 'x64') }}:
|
||||
- stage: Test_x64Win10_FullBuild
|
||||
displayName: Test x64Win10 (Full Build)
|
||||
dependsOn: Build_${{ parameters.platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win10
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: 'buildNow'
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
- stage: Test_x64Win11_FullBuild
|
||||
displayName: Test x64Win11 (Full Build)
|
||||
dependsOn: Build_${{ parameters.platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win11
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: 'buildNow'
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
- ${{ if ne(parameters.platform, 'x64') }}:
|
||||
- stage: Test_${{ parameters.platform }}_FullBuild
|
||||
displayName: Test ${{ parameters.platform }} (Full Build)
|
||||
dependsOn: Build_${{ parameters.platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: ${{ parameters.platform }}
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: 'buildNow'
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
@@ -1,110 +0,0 @@
|
||||
# Template for official build path: Download Official Build + Build UI Tests Only + Run Tests
|
||||
parameters:
|
||||
- name: platform
|
||||
type: string
|
||||
- name: buildSource
|
||||
type: string
|
||||
- name: specificBuildId
|
||||
type: string
|
||||
default: 'xxxx'
|
||||
- name: useLatestWebView2
|
||||
type: boolean
|
||||
default: false
|
||||
- name: uiTestModules
|
||||
type: object
|
||||
default: []
|
||||
|
||||
stages:
|
||||
# Stage 1: Build UI Tests Only
|
||||
- stage: BuildUITests_${{ parameters.platform }}
|
||||
displayName: Build UI Tests Only ${{ parameters.platform }}
|
||||
dependsOn: []
|
||||
jobs:
|
||||
- template: job-build-ui-tests.yml
|
||||
parameters:
|
||||
pool:
|
||||
${{ if eq(variables['System.CollectionId'], 'cb55739e-4afe-46a3-970f-1b49d8ee7564') }}:
|
||||
name: SHINE-INT-L
|
||||
${{ else }}:
|
||||
name: SHINE-OSS-L
|
||||
buildPlatforms:
|
||||
- ${{ parameters.platform }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
# Stage 2: Run UI Tests with Official Build
|
||||
- ${{ if eq(parameters.platform, 'x64') }}:
|
||||
- stage: Test_x64Win10_OfficialBuild
|
||||
displayName: Test x64Win10 (Official Build)
|
||||
dependsOn: BuildUITests_${{ parameters.platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win10
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: ${{ parameters.buildSource }}
|
||||
specificBuildId: ${{ parameters.specificBuildId }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
# Additional per-user installation test
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win10
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: ${{ parameters.buildSource }}
|
||||
specificBuildId: ${{ parameters.specificBuildId }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
installMode: 'peruser'
|
||||
jobSuffix: '_PerUser'
|
||||
|
||||
- stage: Test_x64Win11_OfficialBuild
|
||||
displayName: Test x64Win11 (Official Build)
|
||||
dependsOn: BuildUITests_${{ parameters.platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win11
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: ${{ parameters.buildSource }}
|
||||
specificBuildId: ${{ parameters.specificBuildId }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
# Additional per-user installation test
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: x64Win11
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: ${{ parameters.buildSource }}
|
||||
specificBuildId: ${{ parameters.specificBuildId }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
installMode: 'peruser'
|
||||
jobSuffix: '_PerUser'
|
||||
|
||||
- ${{ if ne(parameters.platform, 'x64') }}:
|
||||
- stage: Test_${{ parameters.platform }}_OfficialBuild
|
||||
displayName: Test ${{ parameters.platform }} (Official Build)
|
||||
dependsOn: BuildUITests_${{ parameters.platform }}
|
||||
jobs:
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: ${{ parameters.platform }}
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: ${{ parameters.buildSource }}
|
||||
specificBuildId: ${{ parameters.specificBuildId }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
|
||||
# Additional per-user installation test
|
||||
- template: job-test-project.yml
|
||||
parameters:
|
||||
platform: ${{ parameters.platform }}
|
||||
configuration: Release
|
||||
useLatestWebView2: ${{ parameters.useLatestWebView2 }}
|
||||
buildSource: ${{ parameters.buildSource }}
|
||||
specificBuildId: ${{ parameters.specificBuildId }}
|
||||
uiTestModules: ${{ parameters.uiTestModules }}
|
||||
installMode: 'peruser'
|
||||
jobSuffix: '_PerUser'
|
||||
@@ -2,6 +2,9 @@ parameters:
|
||||
- name: versionNumber
|
||||
type: string
|
||||
default: "0.0.1"
|
||||
- name: buildUserInstaller
|
||||
type: boolean
|
||||
default: false
|
||||
- name: codeSign
|
||||
type: boolean
|
||||
default: false
|
||||
@@ -22,26 +25,34 @@ steps:
|
||||
arguments: 'install --global wix --version 5.0.2'
|
||||
|
||||
- pwsh: |-
|
||||
Write-Host "##vso[task.setvariable variable=InstallerMachineRoot]installer\PowerToysSetupVNext\$(BuildPlatform)\$(BuildConfiguration)\MachineSetup"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerUserRoot]installer\PowerToysSetupVNext\$(BuildPlatform)\$(BuildConfiguration)\UserSetup"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerMachineBasename]PowerToysSetup-${{ parameters.versionNumber }}-$(BuildPlatform)"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerUserBasename]PowerToysUserSetup-${{ parameters.versionNumber }}-$(BuildPlatform)"
|
||||
displayName: Prepare Installer variables
|
||||
& git clean -xfd -e *exe -- .\installer\
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Clean installer to reduce cross-contamination
|
||||
|
||||
- pwsh: |-
|
||||
$IsPerUser = $${{ parameters.buildUserInstaller }}
|
||||
$InstallerBuildSlug = "MachineSetup"
|
||||
$InstallerBasename = "PowerToysSetupVNext"
|
||||
If($IsPerUser) {
|
||||
$InstallerBuildSlug = "UserSetup"
|
||||
$InstallerBasename = "PowerToysUserSetupVNext"
|
||||
}
|
||||
$InstallerBasename += "-${{ parameters.versionNumber }}-$(BuildPlatform)"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerBuildSlug]$InstallerBuildSlug"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerRelativePath]$(BuildPlatform)\$(BuildConfiguration)\$InstallerBuildSlug"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerBasename]$InstallerBasename"
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Prepare Installer variables
|
||||
|
||||
# This dll needs to be built and signed before building the MSI.
|
||||
# The Custom Actions project contains a pre-build event that prepares the .wxs files
|
||||
# by filling them out with all our components. We pass RunBuildEvents=true to force
|
||||
# that logic to run.
|
||||
- task: VSBuild@1
|
||||
displayName: Build Shared Support DLLs
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build PowerToysSetupCustomActionsVNext
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
/t:PowerToysSetupCustomActionsVNext;SilentFilesInUseBAFunction
|
||||
/p:RunBuildEvents=true;RestorePackagesConfig=true;CIBuild=true
|
||||
/t:PowerToysSetupCustomActionsVNext
|
||||
/p:RunBuildEvents=true;PerUser=${{parameters.buildUserInstaller}};RestorePackagesConfig=true;CIBuild=true
|
||||
-restore -graph
|
||||
/bl:$(LogOutputDirectory)\installer-actions.binlog
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-actions.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
@@ -50,53 +61,28 @@ steps:
|
||||
maximumCpuCount: true
|
||||
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
- template: steps-esrp-sign-files-authenticode.yml
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: Sign Shared Support DLLs
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign PowerToysSetupCustomActionsVNext
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
folder: 'installer'
|
||||
pattern: |-
|
||||
**/PowerToysSetupCustomActionsVNext.dll
|
||||
**/SilentFilesInUseBAFunction.dll
|
||||
inputs:
|
||||
FolderPath: 'installer/PowerToysSetupCustomActionsVNext/$(InstallerRelativePath)'
|
||||
signType: batchSigning
|
||||
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
|
||||
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
|
||||
|
||||
## INSTALLER START
|
||||
#### MSI BUILDING AND SIGNING
|
||||
#
|
||||
# The MSI build contains code that reverts the .wxs files to their in-tree versions.
|
||||
# This is only supposed to happen during local builds. Since this build system is
|
||||
# supposed to run side by side--machine and then user--we do NOT want to destroy
|
||||
# the .wxs files. Therefore, we pass RunBuildEvents=false to suppress all of that
|
||||
# logic.
|
||||
#
|
||||
# We pass BuildProjectReferences=false so that it does not recompile the DLLs we just built.
|
||||
# We only pass -restore on the first one because the second run should already have all
|
||||
# of the dependencies.
|
||||
- task: VSBuild@1
|
||||
displayName: 💻 Build VNext MSI
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build VNext MSI
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
-restore
|
||||
/t:PowerToysInstallerVNext
|
||||
/p:RunBuildEvents=false;PerUser=false;BuildProjectReferences=false;CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-machine-msi.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: false # don't undo our hard work above by deleting the CustomActions dll
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: 👤 Build VNext MSI
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
/t:PowerToysInstallerVNext
|
||||
/p:RunBuildEvents=false;PerUser=true;BuildProjectReferences=false;CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-user-msi.binlog
|
||||
/p:RunBuildEvents=false;PerUser=${{parameters.buildUserInstaller}};BuildProjectReferences=false;CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-msi.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
@@ -105,111 +91,104 @@ steps:
|
||||
maximumCpuCount: true
|
||||
|
||||
- script: |-
|
||||
wix msi decompile $(InstallerMachineRoot)\$(InstallerMachineBasename).msi -x $(build.sourcesdirectory)\extractedMachineMsi
|
||||
wix msi decompile $(InstallerUserRoot)\$(InstallerUserBasename).msi -x $(build.sourcesdirectory)\extractedUserMsi
|
||||
dir $(build.sourcesdirectory)\extractedMachineMsi
|
||||
dir $(build.sourcesdirectory)\extractedUserMsi
|
||||
displayName: "WiX5: Extract and verify MSIs"
|
||||
wix msi decompile installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).msi -x $(build.sourcesdirectory)\extractedMsi
|
||||
dir $(build.sourcesdirectory)\extractedMsi
|
||||
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} WiX5: Extract and verify MSI"
|
||||
|
||||
# Check if deps.json files don't reference different dll versions.
|
||||
- pwsh: |-
|
||||
& '.pipelines/verifyDepsJsonLibraryVersions.ps1' -targetDir '$(build.sourcesdirectory)\extractedMachineMsi\File'
|
||||
& '.pipelines/verifyDepsJsonLibraryVersions.ps1' -targetDir '$(build.sourcesdirectory)\extractedUserMsi\File'
|
||||
displayName: Audit deps.json in MSI extracted files
|
||||
& '.pipelines/verifyDepsJsonLibraryVersions.ps1' -targetDir '$(build.sourcesdirectory)\extractedMsi\File'
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Audit deps.json in MSI extracted files
|
||||
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
- pwsh: |-
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedMachineMsi\File'
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedMachineMsi\Binary'
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedUserMsi\File'
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedUserMsi\Binary'
|
||||
git clean -xfd ./extractedMachineMsi ./extractedUserMsi
|
||||
displayName: Verify all binaries are signed and versioned
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedMsi\File'
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedMsi\Binary'
|
||||
git clean -xfd ./extractedMsi
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Verify all binaries are signed and versioned
|
||||
|
||||
- template: steps-esrp-sign-files-authenticode.yml
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: Sign VNext MSIs
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign VNext MSI
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
folder: 'installer'
|
||||
pattern: '**/PowerToys*Setup-*.msi'
|
||||
inputs:
|
||||
FolderPath: 'installer/PowerToysSetupVNext/$(InstallerRelativePath)'
|
||||
signType: batchSigning
|
||||
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
|
||||
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
|
||||
|
||||
#### END MSI
|
||||
|
||||
#### BOOTSTRAP BUILDING AND SIGNING
|
||||
# We pass BuildProjectReferences=false so that it does not recompile the DLLs we just built.
|
||||
# We only pass -restore on the first one because the second run should already have all
|
||||
# of the dependencies.
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: 💻 Build VNext Bootstrapper
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build VNext Bootstrapper
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
-restore
|
||||
/t:PowerToysBootstrapperVNext
|
||||
/p:PerUser=false;BuildProjectReferences=false;CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-machine-bootstrapper.binlog
|
||||
/p:PerUser=${{parameters.buildUserInstaller}};CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-bootstrapper.binlog
|
||||
-restore -graph
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: false # don't undo our hard work above by deleting the MSI nor SilentFilesInUseBAFunction
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: 👤 Build VNext Bootstrapper
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
/t:PowerToysBootstrapperVNext
|
||||
/p:PerUser=true;BuildProjectReferences=false;CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-user-bootstrapper.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: false # don't undo our hard work above by deleting the MSI nor SilentFilesInUseBAFunction
|
||||
clean: false # don't undo our hard work above by deleting the MSI
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
# The entirety of bundle unpacking/re-packing is unnecessary if we are not code signing it.
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
- script: |-
|
||||
wix burn detach $(InstallerMachineRoot)\$(InstallerMachineBasename).exe -engine installer\machine-engine.exe
|
||||
wix burn detach $(InstallerUserRoot)\$(InstallerUserBasename).exe -engine installer\user-engine.exe
|
||||
displayName: "WiX5: Extract Engines from Bundles"
|
||||
wix burn detach installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).exe -engine installer\engine.exe
|
||||
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} WiX5: Extract Engine from Bundle"
|
||||
|
||||
- template: steps-esrp-sign-files-authenticode.yml
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: Sign WiX Engines
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign WiX Engine
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
folder: "installer"
|
||||
pattern: '*-engine.exe'
|
||||
inputs:
|
||||
FolderPath: "installer"
|
||||
Pattern: engine.exe
|
||||
signConfigType: inlineSignParams
|
||||
inlineOperation: |
|
||||
[
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationCode": "SigntoolSign",
|
||||
"Parameters": {
|
||||
"OpusName": "Microsoft",
|
||||
"OpusInfo": "http://www.microsoft.com",
|
||||
"FileDigest": "/fd \"SHA256\"",
|
||||
"PageHash": "/NPH",
|
||||
"TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
|
||||
},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
},
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationCode": "SigntoolVerify",
|
||||
"Parameters": {},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
}
|
||||
]
|
||||
|
||||
- script: |-
|
||||
wix burn reattach $(InstallerMachineRoot)\$(InstallerMachineBasename).exe -engine installer\machine-engine.exe -o $(InstallerMachineRoot)\$(InstallerMachineBasename).exe
|
||||
wix burn reattach $(InstallerUserRoot)\$(InstallerUserBasename).exe -engine installer\user-engine.exe -o $(InstallerUserRoot)\$(InstallerUserBasename).exe
|
||||
displayName: "WiX5: Reattach Engines to Bundles"
|
||||
wix burn reattach installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).exe -engine installer\engine.exe -o installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).exe
|
||||
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} WiX5: Reattach Engine to Bundle"
|
||||
|
||||
- pwsh: |-
|
||||
& wix burn extract -oba installer\ba\m "$(InstallerMachineRoot)\$(InstallerMachineBasename).exe"
|
||||
& wix burn extract -oba installer\ba\u "$(InstallerUserRoot)\$(InstallerUserBasename).exe"
|
||||
Get-ChildItem installer\ba -Recurse -Include *.exe,*.dll | Get-AuthenticodeSignature | ForEach-Object {
|
||||
If ($_.Status -Ne "Valid") {
|
||||
Write-Error $_.StatusMessage
|
||||
} Else {
|
||||
Write-Host $_.StatusMessage
|
||||
}
|
||||
}
|
||||
& git clean -fdx installer\ba
|
||||
displayName: "WiX5: Verify Bootstrapper content is signed"
|
||||
|
||||
- template: steps-esrp-sign-files-authenticode.yml
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: Sign Final Bootstrappers
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign Final Bootstrapper
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
folder: 'installer'
|
||||
pattern: '**/PowerToys*Setup-*.exe'
|
||||
inputs:
|
||||
FolderPath: 'installer/PowerToysSetupVNext/$(InstallerRelativePath)'
|
||||
signType: batchSigning
|
||||
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
|
||||
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
|
||||
|
||||
#### END BOOTSTRAP
|
||||
## END INSTALLER
|
||||
|
||||
208
.pipelines/v2/templates/steps-build-installer.yml
Normal file
@@ -0,0 +1,208 @@
|
||||
parameters:
|
||||
- name: versionNumber
|
||||
type: string
|
||||
default: "0.0.1"
|
||||
- name: buildUserInstaller
|
||||
type: boolean
|
||||
default: false
|
||||
- name: codeSign
|
||||
type: boolean
|
||||
default: false
|
||||
- name: signingIdentity
|
||||
type: object
|
||||
default: {}
|
||||
- name: additionalBuildOptions
|
||||
type: string
|
||||
default: ''
|
||||
|
||||
steps:
|
||||
- pwsh: |-
|
||||
& git clean -xfd -e *exe -- .\installer\
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Clean installer to reduce cross-contamination
|
||||
|
||||
- pwsh: |-
|
||||
$IsPerUser = $${{ parameters.buildUserInstaller }}
|
||||
$InstallerBuildSlug = "MachineSetup"
|
||||
$InstallerBasename = "PowerToysSetup"
|
||||
If($IsPerUser) {
|
||||
$InstallerBuildSlug = "UserSetup"
|
||||
$InstallerBasename = "PowerToysUserSetup"
|
||||
}
|
||||
$InstallerBasename += "-${{ parameters.versionNumber }}-$(BuildPlatform)"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerBuildSlug]$InstallerBuildSlug"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerRelativePath]$(BuildPlatform)\$(BuildConfiguration)\$InstallerBuildSlug"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerBasename]$InstallerBasename"
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Prepare Installer variables
|
||||
|
||||
# This dll needs to be built and signed before building the MSI.
|
||||
- task: VSBuild@1
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build PowerToysSetupCustomActions
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
/t:PowerToysSetupCustomActions
|
||||
/p:RunBuildEvents=true;PerUser=${{parameters.buildUserInstaller}};RestorePackagesConfig=true;CIBuild=true
|
||||
-restore -graph
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-actions.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: true
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign PowerToysSetupCustomActions
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
inputs:
|
||||
FolderPath: 'installer/PowerToysSetupCustomActions/$(InstallerRelativePath)'
|
||||
signType: batchSigning
|
||||
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
|
||||
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
|
||||
|
||||
## INSTALLER START
|
||||
#### MSI BUILDING AND SIGNING
|
||||
- task: VSBuild@1
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build MSI
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
-restore
|
||||
/t:PowerToysInstaller
|
||||
/p:RunBuildEvents=false;PerUser=${{parameters.buildUserInstaller}};BuildProjectReferences=false;CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-msi.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: false # don't undo our hard work above by deleting the CustomActions dll
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
- script: |-
|
||||
"C:\Program Files (x86)\WiX Toolset v3.14\bin\dark.exe" -x $(build.sourcesdirectory)\extractedMsi installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).msi
|
||||
dir $(build.sourcesdirectory)\extractedMsi
|
||||
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Extract and verify MSI"
|
||||
|
||||
# Extract CmdPal msix package to check if its content is signed
|
||||
- pwsh: |-
|
||||
Write-Host "Extracting CmdPal MSIX package"
|
||||
|
||||
# Define the directory to search
|
||||
$searchDir = "extractedMsi\File"
|
||||
|
||||
# Define the regex pattern for MSIX files
|
||||
$pattern = '^Microsoft.CmdPal.UI.*\.msix$'
|
||||
|
||||
# Get all files in the directory and subdirectories
|
||||
$msixFile = Get-ChildItem -Path $searchDir -Recurse -File | Where-Object {
|
||||
$_.Name -match $pattern
|
||||
}
|
||||
|
||||
Write-Host "MSIX file found: " $msixFile
|
||||
|
||||
$destinationDir = "$(build.sourcesdirectory)\extractedMsi\File\extractedCmdPalMsix"
|
||||
|
||||
Expand-Archive -Path $msixFile -DestinationPath $destinationDir
|
||||
Get-ChildItem -Path $destinationDir -Recurse -File
|
||||
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Extract CmdPal MSIX package
|
||||
|
||||
# Check if deps.json files don't reference different dll versions.
|
||||
- pwsh: |-
|
||||
& '.pipelines/verifyDepsJsonLibraryVersions.ps1' -targetDir '$(build.sourcesdirectory)\extractedMsi\File'
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Audit deps.json in MSI extracted files
|
||||
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
- pwsh: |-
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedMsi\File'
|
||||
& .pipelines/versionAndSignCheck.ps1 -targetDir '$(build.sourcesdirectory)\extractedMsi\Binary'
|
||||
git clean -xfd ./extractedMsi
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Verify all binaries are signed and versioned
|
||||
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign MSI
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
inputs:
|
||||
FolderPath: 'installer/PowerToysSetup/$(InstallerRelativePath)'
|
||||
signType: batchSigning
|
||||
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
|
||||
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
|
||||
|
||||
#### END MSI
|
||||
#### BOOTSTRAP BUILDING AND SIGNING
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build Bootstrapper
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
/t:PowerToysBootstrapper
|
||||
/p:PerUser=${{parameters.buildUserInstaller}};CIBuild=true
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-bootstrapper.binlog
|
||||
-restore -graph
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: false # don't undo our hard work above by deleting the MSI
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
# The entirety of bundle unpacking/re-packing is unnecessary if we are not code signing it.
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
- script: |-
|
||||
"C:\Program Files (x86)\WiX Toolset v3.14\bin\insignia.exe" -ib installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).exe -o installer\engine.exe
|
||||
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Insignia: Extract Engine from Bundle"
|
||||
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign WiX Engine
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
inputs:
|
||||
FolderPath: "installer"
|
||||
Pattern: engine.exe
|
||||
signConfigType: inlineSignParams
|
||||
inlineOperation: |
|
||||
[
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationCode": "SigntoolSign",
|
||||
"Parameters": {
|
||||
"OpusName": "Microsoft",
|
||||
"OpusInfo": "http://www.microsoft.com",
|
||||
"FileDigest": "/fd \"SHA256\"",
|
||||
"PageHash": "/NPH",
|
||||
"TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
|
||||
},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
},
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationCode": "SigntoolVerify",
|
||||
"Parameters": {},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
}
|
||||
]
|
||||
|
||||
- script: |-
|
||||
"C:\Program Files (x86)\WiX Toolset v3.14\bin\insignia.exe" -ab installer\engine.exe installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).exe -o installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).exe
|
||||
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Insignia: Merge Engine into Bundle"
|
||||
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign Final Bootstrapper
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
inputs:
|
||||
FolderPath: 'installer/PowerToysSetup/$(InstallerRelativePath)'
|
||||
signType: batchSigning
|
||||
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
|
||||
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
|
||||
#### END BOOTSTRAP
|
||||
## END INSTALLER
|
||||
@@ -1,45 +0,0 @@
|
||||
parameters:
|
||||
- name: displayName
|
||||
type: string
|
||||
default: Sign Specific Files
|
||||
- name: folder
|
||||
type: string
|
||||
- name: pattern
|
||||
type: string
|
||||
- name: signingIdentity
|
||||
type: object
|
||||
default: {}
|
||||
|
||||
steps:
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: ${{ parameters.displayName }}
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
inputs:
|
||||
FolderPath: ${{ parameters.folder }}
|
||||
Pattern: ${{ parameters.pattern }}
|
||||
UseMinimatch: true
|
||||
signConfigType: inlineSignParams
|
||||
inlineOperation: |-
|
||||
[
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationCode": "SigntoolSign",
|
||||
"Parameters": {
|
||||
"OpusName": "Microsoft",
|
||||
"OpusInfo": "http://www.microsoft.com",
|
||||
"FileDigest": "/fd \"SHA256\"",
|
||||
"PageHash": "/NPH",
|
||||
"TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
|
||||
},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
},
|
||||
{
|
||||
"KeyCode": "CP-230012",
|
||||
"OperationCode": "SigntoolVerify",
|
||||
"Parameters": {},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
}
|
||||
]
|
||||
@@ -8,8 +8,8 @@ steps:
|
||||
displayName: 'Download Localization Files -- PowerToys 37400'
|
||||
inputs:
|
||||
teamId: 37400
|
||||
FederatedIdentityTDBuildServiceConnection: $(TouchdownServiceConnection)
|
||||
authType: FederatedIdentityTDBuild
|
||||
TDBuildServiceConnection: $(TouchdownServiceConnection)
|
||||
authType: SubjectNameIssuer
|
||||
resourceFilePath: |
|
||||
**\Resources.resx
|
||||
**\Resource.resx
|
||||
|
||||
@@ -39,14 +39,6 @@ foreach ($csprojFile in $csprojFilesArray) {
|
||||
if ($csprojFile -like '*TemplateCmdPalExtension.csproj') {
|
||||
continue
|
||||
}
|
||||
|
||||
# The CmdPal.Core projects use a common shared props file, so skip them
|
||||
if ($csprojFile -like '*Microsoft.CmdPal.Core.*.csproj') {
|
||||
continue
|
||||
}
|
||||
if ($csprojFile -like '*Microsoft.CmdPal.Ext.Shell.csproj') {
|
||||
continue
|
||||
}
|
||||
|
||||
$importExists = Test-ImportSharedCsWinRTProps -filePath $csprojFile
|
||||
if (!$importExists) {
|
||||
|
||||
@@ -57,19 +57,12 @@ $totalList = $projFiles | ForEach-Object -Parallel {
|
||||
|
||||
$p = -split $p
|
||||
$p = $p[1, 2]
|
||||
$tempString = $p[0]
|
||||
$tempString = $p[0] + " " + $p[1]
|
||||
|
||||
if([string]::IsNullOrWhiteSpace($tempString))
|
||||
if(![string]::IsNullOrWhiteSpace($tempString))
|
||||
{
|
||||
Continue
|
||||
echo "- $tempString";
|
||||
}
|
||||
|
||||
if($tempString.StartsWith("Microsoft.") -Or $tempString.StartsWith("System."))
|
||||
{
|
||||
Continue
|
||||
}
|
||||
|
||||
echo "- $tempString"
|
||||
}
|
||||
$csproj = $null;
|
||||
}
|
||||
|
||||
@@ -21,13 +21,4 @@ if (-not $?)
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Ignore NU1503 on vcxproj files
|
||||
dotnet restore $solution /nowarn:NU1503
|
||||
if ($lastExitCode -ne 0)
|
||||
{
|
||||
$result = $lastExitCode
|
||||
Write-Error "Error running dotnet restore, with the exit code $lastExitCode. Please verify logs on the nuget package versions."
|
||||
exit $result
|
||||
}
|
||||
|
||||
exit 0
|
||||
|
||||
54
.vscode/launch.json
vendored
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"inputs": [
|
||||
{
|
||||
"id": "arch",
|
||||
"type": "pickString",
|
||||
"description": "Select target architecture",
|
||||
"options": ["x64", "arm64"],
|
||||
"default": "x64"
|
||||
}
|
||||
],
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Run native executable (no build)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\${input:arch}\\Debug\\PowerToys.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"console": "integratedTerminal"
|
||||
},
|
||||
{
|
||||
"name": "C/C++ Attach to PowerToys Process (native)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}",
|
||||
"symbolSearchPath": "${workspaceFolder}\\${input:arch}\\Debug;${workspaceFolder}\\Debug;${workspaceFolder}\\symbols"
|
||||
},
|
||||
{
|
||||
"name": "Run managed code (managed, no build, ARCH configurable)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\${input:arch}\\Debug\\WinUI3Apps\\PowerToys.Settings.exe",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {},
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
},
|
||||
{
|
||||
"name": "Run AdvancedPaste (managed, no build, ARCH configurable)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\${input:arch}\\Debug\\WinUI3Apps\\PowerToys.AdvancedPaste.exe",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {},
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
},
|
||||
]
|
||||
}
|
||||
@@ -26,7 +26,6 @@
|
||||
<PropertyGroup Condition="'$(SkipCppCodeAnalysis)' == ''">
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
<CodeAnalysisRuleSet>$(MsbuildThisFileDirectory)\CppRuleSet.ruleset</CodeAnalysisRuleSet>
|
||||
<CAExcludePath>$(MSBuildThisFileDirectory)deps;$(MSBuildThisFileDirectory)packages;$(CAExcludePath)</CAExcludePath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- C++ source compile-specific things for all configurations -->
|
||||
@@ -35,7 +34,7 @@
|
||||
<PreferredToolArchitecture Condition="'$(PROCESSOR_ARCHITECTURE)' == 'ARM64' or '$(PROCESSOR_ARCHITEW6432)' == 'ARM64'">arm64</PreferredToolArchitecture>
|
||||
<VcpkgEnabled>false</VcpkgEnabled>
|
||||
<ReplaceWildcardsInProjectItems>true</ReplaceWildcardsInProjectItems>
|
||||
<ExternalIncludePath>$(MSBuildThisFileDirectory)deps;$(MSBuildThisFileDirectory)packages;$(ExternalIncludePath)</ExternalIncludePath>
|
||||
<ExternalIncludePath>$(MSBuildThisFileFullPath)\..\deps\;$(MSBuildThisFileFullPath)\..\packages\;$(ExternalIncludePath)</ExternalIncludePath>
|
||||
<!-- Enable control flow guard for C++ projects that don't consume any C++ files -->
|
||||
<!-- This covers the case where a .dll exports a .lib, but doesn't have any ClCompile entries. -->
|
||||
<LinkControlFlowGuard>Guard</LinkControlFlowGuard>
|
||||
|
||||
@@ -147,18 +147,6 @@ _If you want to find diagnostic data events in the source code, these two links
|
||||
<td>Microsoft.PowerToys.AdvancedPasteSemanticKernelFormatEvent</td>
|
||||
<td>Triggered when Advanced Paste leverages the Semantic Kernel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Microsoft.PowerToys.AdvancedPasteSemanticKernelErrorEvent</td>
|
||||
<td>Occurs when the Semantic Kernel workflow encounters an error.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Microsoft.PowerToys.AdvancedPasteEndpointUsageEvent</td>
|
||||
<td>Logs the AI provider, model, and processing duration for each endpoint call.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Microsoft.PowerToys.AdvancedPasteCustomActionErrorEvent</td>
|
||||
<td>Records provider, model, and status details when a custom action fails.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### Always on Top
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<_PropertySheetDisplayName>PowerToys.Root.Props</_PropertySheetDisplayName>
|
||||
<ForceImportBeforeCppProps>$(MsbuildThisFileDirectory)\Cpp.Build.props</ForceImportBeforeCppProps>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(MSBuildProjectExtension)' == '.csproj'">
|
||||
<PackageReference Include="StyleCop.Analyzers">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
||||
@@ -3,9 +3,4 @@
|
||||
|
||||
<Import Project="$(MSBuildCachePackageRoot)\build\$(MSBuildCachePackageName).targets" Condition="'$(MSBuildCacheEnabled)' == 'true'" />
|
||||
<Import Project="$(MSBuildCacheSharedCompilationPackageRoot)\build\Microsoft.MSBuildCache.SharedCompilation.targets" Condition="'$(MSBuildCacheEnabled)' == 'true'" />
|
||||
|
||||
<!-- Override ManifestTool to the x64 host tool under WindowsSdkDir for all projects once the SDK path is known. -->
|
||||
<PropertyGroup Label="ManifestToolOverride">
|
||||
<ManifestTool Condition="Exists('$(WindowsSdkDir)bin\x64\mt.exe')">$(WindowsSdkDir)bin\x64\mt.exe</ManifestTool>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -1,15 +1,14 @@
|
||||
<Project>
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageVersion Include="AdaptiveCards.ObjectModel.WinUI3" Version="2.0.0-beta" />
|
||||
<PackageVersion Include="AdaptiveCards.Rendering.WinUI3" Version="2.1.0-beta" />
|
||||
<PackageVersion Include="AdaptiveCards.Templating" Version="2.0.5" />
|
||||
<PackageVersion Include="CommunityToolkit.Labs.WinUI.Controls.OpacityMaskView" Version="0.1.251101-build.2372" />
|
||||
<PackageVersion Include="Microsoft.Bot.AdaptiveExpressions.Core" Version="4.23.0" />
|
||||
<PackageVersion Include="Appium.WebDriver" Version="4.4.5" />
|
||||
<PackageVersion Include="Azure.AI.OpenAI" Version="1.0.0-beta.17" />
|
||||
<PackageVersion Include="CoenM.ImageSharp.ImageHash" Version="1.3.6" />
|
||||
<PackageVersion Include="CommunityToolkit.Common" Version="8.4.0" />
|
||||
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.0" />
|
||||
@@ -22,11 +21,11 @@
|
||||
<PackageVersion Include="CommunityToolkit.WinUI.Converters" Version="8.2.250402" />
|
||||
<PackageVersion Include="CommunityToolkit.WinUI.Extensions" Version="8.2.250402" />
|
||||
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.2" />
|
||||
<PackageVersion Include="CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock" Version="0.1.251002-build.2316" />
|
||||
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.2" />
|
||||
<PackageVersion Include="CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock" Version="0.1.250703-build.2173" />
|
||||
<PackageVersion Include="ControlzEx" Version="6.0.0" />
|
||||
<PackageVersion Include="HelixToolkit" Version="2.24.0" />
|
||||
<PackageVersion Include="HelixToolkit.Core.Wpf" Version="2.24.0" />
|
||||
<PackageVersion Include="HtmlAgilityPack" Version="1.12.3" />
|
||||
<PackageVersion Include="hyjiacan.pinyin4net" Version="4.1.1" />
|
||||
<PackageVersion Include="Interop.Microsoft.Office.Interop.OneNote" Version="1.1.0.2" />
|
||||
<PackageVersion Include="LazyCache" Version="2.4.0" />
|
||||
@@ -35,33 +34,22 @@
|
||||
<!-- Including MessagePack to force version, since it's used by StreamJsonRpc but contains vulnerabilities. After StreamJsonRpc updates the version of MessagePack, we can upgrade StreamJsonRpc instead. -->
|
||||
<PackageVersion Include="MessagePack" Version="3.1.3" />
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.7" />
|
||||
<!-- Including Microsoft.Bcl.AsyncInterfaces to force version, since it's used by Microsoft.SemanticKernel. -->
|
||||
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Windows.CppWinRT" Version="2.0.240111.5" />
|
||||
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.1.16" />
|
||||
<PackageVersion Include="Microsoft.Extensions.AI" Version="9.9.1" />
|
||||
<PackageVersion Include="Microsoft.Extensions.AI.OpenAI" Version="9.9.1-preview.1.25474.6" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.AI.Foundry.Local" Version="0.3.0" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.66.0" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.OpenAI" Version="1.66.0" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.AzureAIInference" Version="1.66.0-beta" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Google" Version="1.66.0-alpha" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.MistralAI" Version="1.66.0-alpha" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Ollama" Version="1.66.0-alpha" />
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.15.0" />
|
||||
<PackageVersion Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.2" />
|
||||
<PackageVersion Include="Microsoft.Web.WebView2" Version="1.0.3179.45" />
|
||||
<PackageVersion Include="Microsoft.Web.WebView2" Version="1.0.2903.40" />
|
||||
<!-- Package Microsoft.Win32.SystemEvents added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.1. This is a dependency of System.Drawing.Common but the 8.0.1 version wasn't published to nuget. -->
|
||||
<PackageVersion Include="Microsoft.Win32.SystemEvents" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Win32.SystemEvents" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.WindowsPackageManager.ComInterop" Version="1.10.340" />
|
||||
<PackageVersion Include="Microsoft.Windows.Compatibility" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Windows.Compatibility" Version="9.0.7" />
|
||||
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.183" />
|
||||
<!-- CsWinRT version needs to be set to have a WinRT.Runtime.dll at the same version contained inside the NET SDK we're currently building on CI. -->
|
||||
<!--
|
||||
@@ -69,22 +57,18 @@
|
||||
This is present due to a bug in CsWinRT where WPF projects cause the analyzer to fail.
|
||||
-->
|
||||
<PackageVersion Include="Microsoft.Windows.CsWinRT" Version="2.2.0" />
|
||||
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.4948" />
|
||||
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.8.250907003" />
|
||||
<PackageVersion Include="Microsoft.WindowsAppSDK.AI" Version="1.8.37" />
|
||||
<PackageVersion Include="Microsoft.WindowsAppSDK.Runtime" Version="1.8.250907003" />
|
||||
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.4188" />
|
||||
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.7.250513003" />
|
||||
<PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
|
||||
<PackageVersion Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
|
||||
<PackageVersion Include="ModernWpfUI" Version="0.9.4" />
|
||||
<!-- Moq to stay below v4.20 due to behavior change. need to be sure fixed -->
|
||||
<PackageVersion Include="Moq" Version="4.18.4" />
|
||||
<PackageVersion Include="MSTest" Version="3.8.3" />
|
||||
<PackageVersion Include="NJsonSchema" Version="11.4.0" />
|
||||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
<PackageVersion Include="NLog" Version="5.2.8" />
|
||||
<PackageVersion Include="NLog" Version="5.0.4" />
|
||||
<PackageVersion Include="NLog.Extensions.Logging" Version="5.3.8" />
|
||||
<PackageVersion Include="NLog.Schema" Version="5.2.8" />
|
||||
<PackageVersion Include="OpenAI" Version="2.5.0" />
|
||||
<PackageVersion Include="OpenAI" Version="2.0.0" />
|
||||
<PackageVersion Include="ReverseMarkdown" Version="4.1.0" />
|
||||
<PackageVersion Include="RtfPipe" Version="2.0.7677.4303" />
|
||||
<PackageVersion Include="ScipBe.Common.Office.OneNote" Version="3.0.1" />
|
||||
@@ -94,34 +78,33 @@
|
||||
<PackageVersion Include="StreamJsonRpc" Version="2.21.69" />
|
||||
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
|
||||
<!-- Package System.CodeDom added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.1. This is a dependency of System.Management but the 8.0.1 version wasn't published to nuget. -->
|
||||
<PackageVersion Include="System.CodeDom" Version="9.0.10" />
|
||||
<PackageVersion Include="System.CodeDom" Version="9.0.7" />
|
||||
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
|
||||
<PackageVersion Include="System.ComponentModel.Composition" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Data.OleDb" Version="9.0.10" />
|
||||
<PackageVersion Include="System.ComponentModel.Composition" Version="9.0.7" />
|
||||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.7" />
|
||||
<PackageVersion Include="System.Data.OleDb" Version="9.0.7" />
|
||||
<!-- Package System.Data.SqlClient added to force it as a dependency of Microsoft.Windows.Compatibility to the latest version available at this time. -->
|
||||
<PackageVersion Include="System.Data.SqlClient" Version="4.9.0" />
|
||||
<!-- Package System.Diagnostics.EventLog added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.1. This is a dependency of System.Data.OleDb but the 8.0.1 version wasn't published to nuget. -->
|
||||
<PackageVersion Include="System.Diagnostics.EventLog" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Diagnostics.EventLog" Version="9.0.7" />
|
||||
<!-- Package System.Diagnostics.PerformanceCounter added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.11. -->
|
||||
<PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="9.0.10" />
|
||||
<PackageVersion Include="System.ClientModel" Version="1.7.0" />
|
||||
<PackageVersion Include="System.Drawing.Common" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="9.0.7" />
|
||||
<PackageVersion Include="System.Drawing.Common" Version="9.0.7" />
|
||||
<PackageVersion Include="System.IO.Abstractions" Version="22.0.13" />
|
||||
<PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="22.0.13" />
|
||||
<PackageVersion Include="System.Management" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Management" Version="9.0.7" />
|
||||
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
|
||||
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
|
||||
<PackageVersion Include="System.Reactive" Version="6.0.1" />
|
||||
<PackageVersion Include="System.Runtime.Caching" Version="9.0.10" />
|
||||
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Text.Encoding.CodePages" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Runtime.Caching" Version="9.0.7" />
|
||||
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="9.0.7" />
|
||||
<PackageVersion Include="System.Text.Encoding.CodePages" Version="9.0.7" />
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.7" />
|
||||
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
|
||||
<PackageVersion Include="UnicodeInformation" Version="2.6.0" />
|
||||
<PackageVersion Include="UnitsNet" Version="5.56.0" />
|
||||
<PackageVersion Include="UTF.Unknown" Version="2.6.0" />
|
||||
<PackageVersion Include="WinUIEx" Version="2.8.0" />
|
||||
<PackageVersion Include="UTF.Unknown" Version="2.5.1" />
|
||||
<PackageVersion Include="WinUIEx" Version="2.2.0" />
|
||||
<PackageVersion Include="WPF-UI" Version="3.0.5" />
|
||||
<PackageVersion Include="WyHash" Version="1.0.5" />
|
||||
<PackageVersion Include="WixToolset.Heat" Version="5.0.2" />
|
||||
|
||||
137
NOTICE.md
@@ -1491,50 +1491,93 @@ SOFTWARE.
|
||||
|
||||
## NuGet Packages used by PowerToys
|
||||
|
||||
- AdaptiveCards.ObjectModel.WinUI3
|
||||
- AdaptiveCards.Rendering.WinUI3
|
||||
- AdaptiveCards.Templating
|
||||
- Appium.WebDriver
|
||||
- CoenM.ImageSharp.ImageHash
|
||||
- CommunityToolkit.Common
|
||||
- CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock
|
||||
- CommunityToolkit.Labs.WinUI.Controls.OpacityMaskView
|
||||
- CommunityToolkit.Mvvm
|
||||
- CommunityToolkit.WinUI.Animations
|
||||
- CommunityToolkit.WinUI.Collections
|
||||
- CommunityToolkit.WinUI.Controls.Primitives
|
||||
- CommunityToolkit.WinUI.Controls.Segmented
|
||||
- CommunityToolkit.WinUI.Controls.SettingsControls
|
||||
- CommunityToolkit.WinUI.Controls.Sizers
|
||||
- CommunityToolkit.WinUI.Converters
|
||||
- CommunityToolkit.WinUI.Extensions
|
||||
- CommunityToolkit.WinUI.UI.Controls.DataGrid
|
||||
- ControlzEx
|
||||
- HelixToolkit
|
||||
- HelixToolkit.Core.Wpf
|
||||
- hyjiacan.pinyin4net
|
||||
- Interop.Microsoft.Office.Interop.OneNote
|
||||
- LazyCache
|
||||
- Mages
|
||||
- Markdig.Signed
|
||||
- MessagePack
|
||||
- ModernWpfUI
|
||||
- Moq
|
||||
- MSTest
|
||||
- NJsonSchema
|
||||
- NLog
|
||||
- NLog.Extensions.Logging
|
||||
- NLog.Schema
|
||||
- OpenAI
|
||||
- ReverseMarkdown
|
||||
- ScipBe.Common.Office.OneNote
|
||||
- SharpCompress
|
||||
- SkiaSharp.Views.WinUI
|
||||
- StreamJsonRpc
|
||||
- StyleCop.Analyzers
|
||||
- UnicodeInformation
|
||||
- UnitsNet
|
||||
- UTF.Unknown
|
||||
- WinUIEx
|
||||
- WPF-UI
|
||||
- WyHash
|
||||
- AdaptiveCards.ObjectModel.WinUI3 2.0.0-beta
|
||||
- AdaptiveCards.Rendering.WinUI3 2.1.0-beta
|
||||
- AdaptiveCards.Templating 2.0.5
|
||||
- Appium.WebDriver 4.4.5
|
||||
- Azure.AI.OpenAI 1.0.0-beta.17
|
||||
- CoenM.ImageSharp.ImageHash 1.3.6
|
||||
- CommunityToolkit.Common 8.4.0
|
||||
- CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock 0.1.250703-build.2173
|
||||
- CommunityToolkit.Mvvm 8.4.0
|
||||
- CommunityToolkit.WinUI.Animations 8.2.250402
|
||||
- CommunityToolkit.WinUI.Collections 8.2.250402
|
||||
- CommunityToolkit.WinUI.Controls.Primitives 8.2.250402
|
||||
- CommunityToolkit.WinUI.Controls.Segmented 8.2.250402
|
||||
- CommunityToolkit.WinUI.Controls.SettingsControls 8.2.250402
|
||||
- CommunityToolkit.WinUI.Controls.Sizers 8.2.250402
|
||||
- CommunityToolkit.WinUI.Converters 8.2.250402
|
||||
- CommunityToolkit.WinUI.Extensions 8.2.250402
|
||||
- CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2
|
||||
- CommunityToolkit.WinUI.UI.Controls.Markdown 7.1.2
|
||||
- ControlzEx 6.0.0
|
||||
- HelixToolkit 2.24.0
|
||||
- HelixToolkit.Core.Wpf 2.24.0
|
||||
- hyjiacan.pinyin4net 4.1.1
|
||||
- Interop.Microsoft.Office.Interop.OneNote 1.1.0.2
|
||||
- LazyCache 2.4.0
|
||||
- Mages 3.0.0
|
||||
- Markdig.Signed 0.34.0
|
||||
- MessagePack 3.1.3
|
||||
- Microsoft.Bcl.AsyncInterfaces 9.0.7
|
||||
- Microsoft.Bot.AdaptiveExpressions.Core 4.23.0
|
||||
- Microsoft.CodeAnalysis.NetAnalyzers 9.0.0
|
||||
- Microsoft.Data.Sqlite 9.0.7
|
||||
- Microsoft.Diagnostics.Tracing.TraceEvent 3.1.16
|
||||
- Microsoft.DotNet.ILCompiler (A)
|
||||
- Microsoft.Extensions.DependencyInjection 9.0.7
|
||||
- Microsoft.Extensions.Hosting 9.0.7
|
||||
- Microsoft.Extensions.Hosting.WindowsServices 9.0.7
|
||||
- Microsoft.Extensions.Logging 9.0.7
|
||||
- Microsoft.Extensions.Logging.Abstractions 9.0.7
|
||||
- Microsoft.NET.ILLink.Tasks (A)
|
||||
- Microsoft.SemanticKernel 1.15.0
|
||||
- Microsoft.Toolkit.Uwp.Notifications 7.1.2
|
||||
- Microsoft.Web.WebView2 1.0.2903.40
|
||||
- Microsoft.Win32.SystemEvents 9.0.7
|
||||
- Microsoft.Windows.Compatibility 9.0.7
|
||||
- Microsoft.Windows.CsWin32 0.3.183
|
||||
- Microsoft.Windows.CsWinRT 2.2.0
|
||||
- Microsoft.Windows.SDK.BuildTools 10.0.26100.4188
|
||||
- Microsoft.WindowsAppSDK 1.7.250513003
|
||||
- Microsoft.WindowsPackageManager.ComInterop 1.10.340
|
||||
- Microsoft.Xaml.Behaviors.WinUI.Managed 2.0.9
|
||||
- Microsoft.Xaml.Behaviors.Wpf 1.1.39
|
||||
- ModernWpfUI 0.9.4
|
||||
- Moq 4.18.4
|
||||
- MSTest 3.8.3
|
||||
- NLog.Extensions.Logging 5.3.8
|
||||
- NLog.Schema 5.2.8
|
||||
- OpenAI 2.0.0
|
||||
- ReverseMarkdown 4.1.0
|
||||
- ScipBe.Common.Office.OneNote 3.0.1
|
||||
- SharpCompress 0.37.2
|
||||
- SkiaSharp.Views.WinUI 2.88.9
|
||||
- StreamJsonRpc 2.21.69
|
||||
- StyleCop.Analyzers 1.2.0-beta.556
|
||||
- System.CodeDom 9.0.7
|
||||
- System.CommandLine 2.0.0-beta4.22272.1
|
||||
- System.ComponentModel.Composition 9.0.7
|
||||
- System.Configuration.ConfigurationManager 9.0.7
|
||||
- System.Data.OleDb 9.0.7
|
||||
- System.Data.SqlClient 4.9.0
|
||||
- System.Diagnostics.EventLog 9.0.7
|
||||
- System.Diagnostics.PerformanceCounter 9.0.7
|
||||
- System.Drawing.Common 9.0.7
|
||||
- System.IO.Abstractions 22.0.13
|
||||
- System.IO.Abstractions.TestingHelpers 22.0.13
|
||||
- System.Management 9.0.7
|
||||
- System.Net.Http 4.3.4
|
||||
- System.Private.Uri 4.3.2
|
||||
- System.Reactive 6.0.1
|
||||
- System.Runtime.Caching 9.0.7
|
||||
- System.ServiceProcess.ServiceController 9.0.7
|
||||
- System.Text.Encoding.CodePages 9.0.7
|
||||
- System.Text.Json 9.0.7
|
||||
- System.Text.RegularExpressions 4.3.1
|
||||
- UnicodeInformation 2.6.0
|
||||
- UnitsNet 5.56.0
|
||||
- UTF.Unknown 2.5.1
|
||||
- WinUIEx 2.2.0
|
||||
- WPF-UI 3.0.5
|
||||
- WyHash 1.0.5
|
||||
|
||||
244
PowerToys.sln
@@ -5,13 +5,11 @@ MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "runner", "src\runner\runner.vcxproj", "{9412D5C6-2CF2-4FC2-A601-B55508EA9B27}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{031AC72E-FA28-4AB7-B690-6F7B9C28AA73} = {031AC72E-FA28-4AB7-B690-6F7B9C28AA73}
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC} = {08E71C67-6A7E-4CA1-B04E-2FB336410BAC}
|
||||
{0B43679E-EDFA-4DA0-AD30-F4628B308B1B} = {0B43679E-EDFA-4DA0-AD30-F4628B308B1B}
|
||||
{0B593A6C-4143-4337-860E-DB5710FB87DB} = {0B593A6C-4143-4337-860E-DB5710FB87DB}
|
||||
{17DA04DF-E393-4397-9CF0-84DABE11032E} = {17DA04DF-E393-4397-9CF0-84DABE11032E}
|
||||
{217DF501-135C-4E38-BFC8-99D4821032EA} = {217DF501-135C-4E38-BFC8-99D4821032EA}
|
||||
{2BE46397-4DFA-414C-9BD4-41E4BBF8CB34} = {2BE46397-4DFA-414C-9BD4-41E4BBF8CB34}
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166} = {38177D56-6AD1-4ADF-88C9-2843A7932166}
|
||||
{48804216-2A0E-4168-A6D8-9CD068D14227} = {48804216-2A0E-4168-A6D8-9CD068D14227}
|
||||
{51920F1F-C28C-4ADF-8660-4238766796C2} = {51920F1F-C28C-4ADF-8660-4238766796C2}
|
||||
{5CCC8468-DEC8-4D36-99D4-5C891BEBD481} = {5CCC8468-DEC8-4D36-99D4-5C891BEBD481}
|
||||
@@ -26,7 +24,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "runner", "src\runner\runner
|
||||
{D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D} = {D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D}
|
||||
{D940E07F-532C-4FF3-883F-790DA014F19A} = {D940E07F-532C-4FF3-883F-790DA014F19A}
|
||||
{DA425894-6E13-404F-8DCB-78584EC0557A} = {DA425894-6E13-404F-8DCB-78584EC0557A}
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D} = {E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}
|
||||
{E364F67B-BB12-4E91-B639-355866EBCD8B} = {E364F67B-BB12-4E91-B639-355866EBCD8B}
|
||||
{F9C68EDF-AC74-4B77-9AF1-005D9C9F6A99} = {F9C68EDF-AC74-4B77-9AF1-005D9C9F6A99}
|
||||
EndProjectSection
|
||||
@@ -51,8 +48,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{1AFB64
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common.Lib.UnitTests", "src\common\UnitTests-CommonLib\UnitTests-CommonLib.vcxproj", "{1A066C63-64B3-45F8-92FE-664E1CCE8077}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PackageIdentity", "src\PackageIdentity\PackageIdentity.vcxproj", "{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FancyZonesEditor", "src\modules\fancyzones\editor\FancyZonesEditor\FancyZonesEditor.csproj", "{5CCC8468-DEC8-4D36-99D4-5C891BEBD481}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "powerrename", "powerrename", "{89E20BCE-EB9C-46C8-8B50-E01A82E6FDC3}"
|
||||
@@ -286,7 +281,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "utils", "utils", "{B39DC643
|
||||
src\common\utils\registry.h = src\common\utils\registry.h
|
||||
src\common\utils\resources.h = src\common\utils\resources.h
|
||||
src\common\utils\serialized.h = src\common\utils\serialized.h
|
||||
src\common\utils\shell_ext_registration.h = src\common\utils\shell_ext_registration.h
|
||||
src\common\utils\string_utils.h = src\common\utils\string_utils.h
|
||||
src\common\utils\timeutil.h = src\common\utils\timeutil.h
|
||||
src\common\utils\UnhandledExceptionHandler.h = src\common\utils\UnhandledExceptionHandler.h
|
||||
@@ -467,8 +461,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Peek.Common", "src\modules\
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Peek.FilePreviewer", "src\modules\peek\Peek.FilePreviewer\Peek.FilePreviewer.csproj", "{AA9F0AF8-7924-4D59-BAA1-E36F1304E0DC}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Peek.UITests", "src\modules\peek\Peek.UITests\Peek.UITests.csproj", "{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MarkdownPreviewHandlerCpp", "src\modules\previewpane\MarkdownPreviewHandlerCpp\MarkdownPreviewHandlerCpp.vcxproj", "{ED9A1AC6-AEB0-4569-A6E9-E1696182B545}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GcodePreviewHandlerCpp", "src\modules\previewpane\GcodePreviewHandlerCpp\GcodePreviewHandlerCpp.vcxproj", "{5A5DD09D-723A-44D3-8F2B-293584C3D731}"
|
||||
@@ -643,7 +635,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.CommandPalette.Ex
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CommandPalette.Extensions.Toolkit", "src\modules\cmdpal\extensionsdk\Microsoft.CommandPalette.Extensions.Toolkit\Microsoft.CommandPalette.Extensions.Toolkit.csproj", "{CA4D810F-C8F4-4B61-9DA9-71807E0B9F24}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CmdPal.Core.Common", "src\modules\cmdpal\Core\Microsoft.CmdPal.Core.Common\Microsoft.CmdPal.Core.Common.csproj", "{14E62033-58D0-4A7D-8990-52F50A08BBBD}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CmdPal.Common", "src\modules\cmdpal\Microsoft.CmdPal.Common\Microsoft.CmdPal.Common.csproj", "{14E62033-58D0-4A7D-8990-52F50A08BBBD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Terminal.UI", "src\modules\cmdpal\Microsoft.Terminal.UI\Microsoft.Terminal.UI.vcxproj", "{6515F03F-E56D-4DB4-B23D-AC4FB80DB36F}"
|
||||
EndProject
|
||||
@@ -717,10 +709,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Preview.BgcodePreviewHandle
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Preview.BgcodeThumbnailProvider.UnitTests", "src\modules\previewpane\UnitTests-BgcodeThumbnailProvider\Preview.BgcodeThumbnailProvider.UnitTests.csproj", "{61CBF221-9452-4934-B685-146285E080D7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Search", "src\common\Common.Search\Common.Search.csproj", "{38F187B2-6638-5A40-072F-DBE5E54070A0}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Settings.UI.XamlIndexBuilder", "src\settings-ui\Settings.UI.XamlIndexBuilder\Settings.UI.XamlIndexBuilder.csproj", "{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MouseUtils.UITests", "src\modules\MouseUtils\MouseUtils.UITests\MouseUtils.UITests.csproj", "{4E0AE3A4-2EE0-44D7-A2D0-8769977254A1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Workspaces.Editor.UITests", "src\modules\Workspaces\WorkspacesEditorUITest\Workspaces.Editor.UITests.csproj", "{43E779F3-D83C-48B1-BA8D-1912DBD76FC9}"
|
||||
@@ -733,7 +721,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerRename.UITests", "src\
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Core.ViewModels", "src\modules\cmdpal\Core\Microsoft.CmdPal.Core.ViewModels\Microsoft.CmdPal.Core.ViewModels.csproj", "{24133F7F-C1D1-DE04-EFA8-F5D5467FE027}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Core.ViewModels", "src\modules\cmdpal\Microsoft.CmdPal.Core.ViewModels\Microsoft.CmdPal.Core.ViewModels.csproj", "{24133F7F-C1D1-DE04-EFA8-F5D5467FE027}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{0E556541-6A45-42CB-AE49-EE5A9BE05E7C}"
|
||||
EndProject
|
||||
@@ -796,44 +784,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.TimeDa
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.WindowWalker.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.WindowWalker.UnitTests\Microsoft.CmdPal.Ext.WindowWalker.UnitTests.csproj", "{E816D7B0-4688-4ECB-97CC-3D8E798F3829}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.UnitTestBase", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.UnitTestsBase\Microsoft.CmdPal.Ext.UnitTestBase.csproj", "{00D8659C-2068-40B6-8B86-759CD6284BBB}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LightSwitch", "LightSwitch", "{5B201255-53C8-490B-A34F-01F05D48A477}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LightSwitchModuleInterface", "src\modules\LightSwitch\LightSwitchModuleInterface\LightSwitchModuleInterface.vcxproj", "{38177D56-6AD1-4ADF-88C9-2843A7932166}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LightSwitchService", "src\modules\LightSwitch\LightSwitchService\LightSwitchService.vcxproj", "{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{E11826E1-76DF-42AC-985C-164CC2EE57A1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScreenRuler.UITests", "src\modules\MeasureTool\Tests\ScreenRuler.UITests\ScreenRuler.UITests.csproj", "{66C069F8-C548-4CA6-8CDE-239104D68E88}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "v3", "v3", "{9605B84E-FAC4-477B-B9EC-0753177EE6A8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerToys.DSC", "src\dsc\v3\PowerToys.DSC\PowerToys.DSC.csproj", "{94CDC147-6137-45E9-AEDE-17FF809607C0}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerToys.DSC.UnitTests", "src\dsc\v3\PowerToys.DSC.UnitTests\PowerToys.DSC.UnitTests.csproj", "{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.Apps.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.Apps.UnitTests\Microsoft.CmdPal.Ext.Apps.UnitTests.csproj", "{E816D7B1-4688-4ECB-97CC-3D8E798F3830}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.Bookmarks.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.Bookmarks.UnitTests\Microsoft.CmdPal.Ext.Bookmarks.UnitTests.csproj", "{E816D7B3-4688-4ECB-97CC-3D8E798F3832}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.WebSearch.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.WebSearch.UnitTests\Microsoft.CmdPal.Ext.WebSearch.UnitTests.csproj", "{E816D7B2-4688-4ECB-97CC-3D8E798F3831}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.Shell.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.Shell.UnitTests\Microsoft.CmdPal.Ext.Shell.UnitTests.csproj", "{E816D7B4-4688-4ECB-97CC-3D8E798F3833}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CursorWrap", "src\modules\MouseUtils\CursorWrap\CursorWrap.vcxproj", "{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{3DCCD936-D085-4869-A1DE-CA6A64152C94}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LightSwitch.UITests", "src\modules\LightSwitch\Tests\LightSwitch.UITests\LightSwitch.UITests.csproj", "{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.ClipboardHistory.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.ClipboardHistory.UnitTests\Microsoft.CmdPal.Ext.ClipboardHistory.UnitTests.csproj", "{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LanguageModelProvider", "src\common\LanguageModelProvider\LanguageModelProvider.csproj", "{45354F4F-1414-45CE-B600-51CD1209FD19}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.UI.ViewModels.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.UI.ViewModels.UnitTests\Microsoft.CmdPal.UI.ViewModels.UnitTests.csproj", "{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|ARM64 = Debug|ARM64
|
||||
@@ -874,14 +824,6 @@ Global
|
||||
{1A066C63-64B3-45F8-92FE-664E1CCE8077}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{1A066C63-64B3-45F8-92FE-664E1CCE8077}.Release|x64.ActiveCfg = Release|x64
|
||||
{1A066C63-64B3-45F8-92FE-664E1CCE8077}.Release|x64.Build.0 = Release|x64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Debug|x64.Build.0 = Debug|x64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Release|x64.ActiveCfg = Release|x64
|
||||
{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}.Release|x64.Build.0 = Release|x64
|
||||
{5CCC8468-DEC8-4D36-99D4-5C891BEBD481}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{5CCC8468-DEC8-4D36-99D4-5C891BEBD481}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{5CCC8468-DEC8-4D36-99D4-5C891BEBD481}.Debug|x64.ActiveCfg = Debug|x64
|
||||
@@ -1910,14 +1852,6 @@ Global
|
||||
{AA9F0AF8-7924-4D59-BAA1-E36F1304E0DC}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{AA9F0AF8-7924-4D59-BAA1-E36F1304E0DC}.Release|x64.ActiveCfg = Release|x64
|
||||
{AA9F0AF8-7924-4D59-BAA1-E36F1304E0DC}.Release|x64.Build.0 = Release|x64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Debug|x64.Build.0 = Debug|x64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Release|x64.ActiveCfg = Release|x64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5}.Release|x64.Build.0 = Release|x64
|
||||
{ED9A1AC6-AEB0-4569-A6E9-E1696182B545}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{ED9A1AC6-AEB0-4569-A6E9-E1696182B545}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{ED9A1AC6-AEB0-4569-A6E9-E1696182B545}.Debug|x64.ActiveCfg = Debug|x64
|
||||
@@ -2736,22 +2670,6 @@ Global
|
||||
{61CBF221-9452-4934-B685-146285E080D7}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{61CBF221-9452-4934-B685-146285E080D7}.Release|x64.ActiveCfg = Release|x64
|
||||
{61CBF221-9452-4934-B685-146285E080D7}.Release|x64.Build.0 = Release|x64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Debug|x64.Build.0 = Debug|x64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Release|x64.ActiveCfg = Release|x64
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0}.Release|x64.Build.0 = Release|x64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Debug|x64.Build.0 = Debug|x64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Release|x64.ActiveCfg = Release|x64
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE}.Release|x64.Build.0 = Release|x64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A1}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A1}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A1}.Debug|x64.ActiveCfg = Debug|x64
|
||||
@@ -2912,130 +2830,6 @@ Global
|
||||
{E816D7B0-4688-4ECB-97CC-3D8E798F3829}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{E816D7B0-4688-4ECB-97CC-3D8E798F3829}.Release|x64.ActiveCfg = Release|x64
|
||||
{E816D7B0-4688-4ECB-97CC-3D8E798F3829}.Release|x64.Build.0 = Release|x64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Debug|x64.Build.0 = Debug|x64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Release|x64.ActiveCfg = Release|x64
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB}.Release|x64.Build.0 = Release|x64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Debug|x64.Build.0 = Debug|x64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Release|x64.ActiveCfg = Release|x64
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166}.Release|x64.Build.0 = Release|x64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Debug|x64.Build.0 = Debug|x64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Release|x64.ActiveCfg = Release|x64
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC}.Release|x64.Build.0 = Release|x64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Debug|x64.Build.0 = Debug|x64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Release|x64.ActiveCfg = Release|x64
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88}.Release|x64.Build.0 = Release|x64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Debug|x64.Build.0 = Debug|x64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Release|x64.ActiveCfg = Release|x64
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0}.Release|x64.Build.0 = Release|x64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Debug|x64.Build.0 = Debug|x64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Release|x64.ActiveCfg = Release|x64
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78}.Release|x64.Build.0 = Release|x64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Debug|x64.Build.0 = Debug|x64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Release|x64.ActiveCfg = Release|x64
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830}.Release|x64.Build.0 = Release|x64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Debug|x64.Build.0 = Debug|x64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Release|x64.ActiveCfg = Release|x64
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832}.Release|x64.Build.0 = Release|x64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Debug|x64.Build.0 = Debug|x64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Release|x64.ActiveCfg = Release|x64
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831}.Release|x64.Build.0 = Release|x64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Debug|x64.Build.0 = Debug|x64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Release|x64.ActiveCfg = Release|x64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Release|x64.Build.0 = Release|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|x64.Build.0 = Debug|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|x64.ActiveCfg = Release|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|x64.Build.0 = Release|x64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|ARM64.Deploy.0 = Debug|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|x64.Build.0 = Debug|x64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|x64.Deploy.0 = Debug|x64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Release|ARM64.Deploy.0 = Release|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Release|x64.ActiveCfg = Release|x64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Release|x64.Build.0 = Release|x64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Release|x64.Deploy.0 = Release|x64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Debug|x64.Build.0 = Debug|x64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Release|x64.ActiveCfg = Release|x64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Release|x64.Build.0 = Release|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|x64.Build.0 = Debug|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|x64.ActiveCfg = Release|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|x64.Build.0 = Release|x64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Debug|x64.Build.0 = Debug|x64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Release|x64.ActiveCfg = Release|x64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@@ -3194,7 +2988,6 @@ Global
|
||||
{9D7A6DE0-7D27-424D-ABAE-41B2161F9A03} = {17B4FA70-001E-4D33-BBBB-0D142DBC2E20}
|
||||
{17A99C7C-0BFF-45BB-A9FD-63A0DDC105BB} = {17B4FA70-001E-4D33-BBBB-0D142DBC2E20}
|
||||
{AA9F0AF8-7924-4D59-BAA1-E36F1304E0DC} = {17B4FA70-001E-4D33-BBBB-0D142DBC2E20}
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A5} = {17B4FA70-001E-4D33-BBBB-0D142DBC2E20}
|
||||
{ED9A1AC6-AEB0-4569-A6E9-E1696182B545} = {2F305555-C296-497E-AC20-5FA1B237996A}
|
||||
{5A5DD09D-723A-44D3-8F2B-293584C3D731} = {2F305555-C296-497E-AC20-5FA1B237996A}
|
||||
{B3E869C4-8210-4EBD-A621-FF4C4AFCBFA9} = {2F305555-C296-497E-AC20-5FA1B237996A}
|
||||
@@ -3273,7 +3066,7 @@ Global
|
||||
{F3D09629-59A2-4924-A4B9-D6BFAA2C1B49} = {3846508C-77EB-4034-A702-F8BB263C4F79}
|
||||
{305DD37E-C85D-4B08-AAFE-7381FA890463} = {F3D09629-59A2-4924-A4B9-D6BFAA2C1B49}
|
||||
{CA4D810F-C8F4-4B61-9DA9-71807E0B9F24} = {F3D09629-59A2-4924-A4B9-D6BFAA2C1B49}
|
||||
{14E62033-58D0-4A7D-8990-52F50A08BBBD} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
|
||||
{14E62033-58D0-4A7D-8990-52F50A08BBBD} = {7520A2FE-00A2-49B8-83ED-DB216E874C04}
|
||||
{6515F03F-E56D-4DB4-B23D-AC4FB80DB36F} = {7520A2FE-00A2-49B8-83ED-DB216E874C04}
|
||||
{071E18A4-A530-46B8-AB7D-B862EE55E24E} = {3846508C-77EB-4034-A702-F8BB263C4F79}
|
||||
{C846F7A7-792A-47D9-B0CB-417C900EE03D} = {071E18A4-A530-46B8-AB7D-B862EE55E24E}
|
||||
@@ -3310,8 +3103,6 @@ Global
|
||||
{9BC1C986-1E97-4D07-A7B1-CE226C239EFA} = {2F305555-C296-497E-AC20-5FA1B237996A}
|
||||
{99CA1509-FB73-456E-AFAF-AB89C017BD72} = {6B01F1CF-F4DB-48B5-BFE7-0BF576C1D704}
|
||||
{61CBF221-9452-4934-B685-146285E080D7} = {6B01F1CF-F4DB-48B5-BFE7-0BF576C1D704}
|
||||
{38F187B2-6638-5A40-072F-DBE5E54070A0} = {1AFB6476-670D-4E80-A464-657E01DFF482}
|
||||
{DA0744BC-E822-680E-9CEB-D0FBA903A8EE} = {C3081D9A-1586-441A-B5F4-ED815B3719C1}
|
||||
{4E0AE3A4-2EE0-44D7-A2D0-8769977254A1} = {2C318EC3-BA86-4372-B1BC-DB0F33C208B2}
|
||||
{43E779F3-D83C-48B1-BA8D-1912DBD76FC9} = {68328142-5B31-4715-BCBB-7B6345EE0971}
|
||||
{2CF78CF7-8FEB-4BE1-9591-55FA25B48FC6} = {1AFB6476-670D-4E80-A464-657E01DFF482}
|
||||
@@ -3326,6 +3117,11 @@ Global
|
||||
{D9BD324E-1D80-44AA-8E7B-73EB00944434} = {38BDB927-829B-4C65-9CD9-93FB05D66D65}
|
||||
{8EF25507-2575-4ADE-BF7E-D23376903AB8} = {3846508C-77EB-4034-A702-F8BB263C4F79}
|
||||
{070AC093-C9F2-20AD-0BCD-F318FC2761EA} = {B1234567-1234-1234-1234-123456789ABC}
|
||||
{E816D7AC-4688-4ECB-97CC-3D8E798F3825} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7AD-4688-4ECB-97CC-3D8E798F3826} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7AE-4688-4ECB-97CC-3D8E798F3827} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7AF-4688-4ECB-97CC-3D8E798F3828} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7B0-4688-4ECB-97CC-3D8E798F3829} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{2C318EC3-BA86-4372-B1BC-DB0F33C208B2} = {322566EF-20DC-43A6-B9F8-616AF942579A}
|
||||
{BFFB607F-7C78-434B-86B9-DA4C8196A1B5} = {B6C42F16-73EB-477E-8B0D-4E6CF6C20AAC}
|
||||
{66E1534A-1587-42B2-912F-45C994D32904} = {89E20BCE-EB9C-46C8-8B50-E01A82E6FDC3}
|
||||
@@ -3343,30 +3139,6 @@ Global
|
||||
{806BF185-8B89-5BE1-9AA1-DA5BC9487DB9} = {264B412F-DB8B-4CF8-A74B-96998B183045}
|
||||
{F93C2817-C846-4259-84D8-B39A6B57C8DE} = {3527BF37-DFC5-4309-A032-29278CA21328}
|
||||
{8131151D-B0E9-4E18-84A5-E5F946C4480A} = {929C1324-22E8-4412-A9A8-80E85F3985A5}
|
||||
{E816D7AC-4688-4ECB-97CC-3D8E798F3825} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7AD-4688-4ECB-97CC-3D8E798F3826} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7AE-4688-4ECB-97CC-3D8E798F3827} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7AF-4688-4ECB-97CC-3D8E798F3828} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7B0-4688-4ECB-97CC-3D8E798F3829} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{00D8659C-2068-40B6-8B86-759CD6284BBB} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{5B201255-53C8-490B-A34F-01F05D48A477} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
|
||||
{38177D56-6AD1-4ADF-88C9-2843A7932166} = {5B201255-53C8-490B-A34F-01F05D48A477}
|
||||
{08E71C67-6A7E-4CA1-B04E-2FB336410BAC} = {5B201255-53C8-490B-A34F-01F05D48A477}
|
||||
{E11826E1-76DF-42AC-985C-164CC2EE57A1} = {7AC943C9-52E8-44CF-9083-744D8049667B}
|
||||
{66C069F8-C548-4CA6-8CDE-239104D68E88} = {E11826E1-76DF-42AC-985C-164CC2EE57A1}
|
||||
{9605B84E-FAC4-477B-B9EC-0753177EE6A8} = {557C4636-D7E1-4838-A504-7D19B725EE95}
|
||||
{94CDC147-6137-45E9-AEDE-17FF809607C0} = {9605B84E-FAC4-477B-B9EC-0753177EE6A8}
|
||||
{A24BF1AF-79AA-4896-BAE3-CCBBE0380A78} = {9605B84E-FAC4-477B-B9EC-0753177EE6A8}
|
||||
{E816D7B1-4688-4ECB-97CC-3D8E798F3830} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5} = {322566EF-20DC-43A6-B9F8-616AF942579A}
|
||||
{3DCCD936-D085-4869-A1DE-CA6A64152C94} = {5B201255-53C8-490B-A34F-01F05D48A477}
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F} = {3DCCD936-D085-4869-A1DE-CA6A64152C94}
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19} = {1AFB6476-670D-4E80-A464-657E01DFF482}
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {C3A2F9D1-7930-4EF4-A6FC-7EE0A99821D0}
|
||||
|
||||
408
README.md
@@ -1,280 +1,252 @@
|
||||
<p align="center">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: light)" srcset="./doc/images/readme/pt-hero.light.png" />
|
||||
<img src="./doc/images/readme/pt-hero.dark.png" />
|
||||
</picture>
|
||||
</p>
|
||||
<h1 align="center">
|
||||
<span>Microsoft PowerToys</span>
|
||||
</h1>
|
||||
<p align="center">
|
||||
<span align="center">Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks.</span>
|
||||
</p>
|
||||
<h3 align="center">
|
||||
<a href="#-installation">Installation</a>
|
||||
<span> · </span>
|
||||
<a href="https://aka.ms/powertoys-docs">Documentation</a>
|
||||
<span> · </span>
|
||||
<a href="https://aka.ms/powertoys-releaseblog">Blog</a>
|
||||
<span> · </span>
|
||||
<a href="#-whats-new">Release notes</a>
|
||||
</h3>
|
||||
<br/><br/>
|
||||
# Microsoft PowerToys
|
||||
|
||||
## 🔨 Utilities
|
||||

|
||||
|
||||
PowerToys includes over 25 utilities to help you customize and optimize your Windows experience:
|
||||
[How to use PowerToys][usingPowerToys-docs-link] | [Downloads & Release notes][github-release-link] | [Contributing to PowerToys](#contributing) | [What's Happening](#whats-happening) | [Roadmap](#powertoys-roadmap)
|
||||
|
||||
| | | |
|
||||
|---|---|---|
|
||||
| [<img src="doc/images/icons/AdvancedPaste.png" alt="Advanced Paste icon" height="16"> Advanced Paste](https://aka.ms/PowerToysOverview_AdvancedPaste) | [<img src="doc/images/icons/Always%20On%20Top.png" alt="Always on Top icon" height="16"> Always on Top](https://aka.ms/PowerToysOverview_AoT) | [<img src="doc/images/icons/Awake.png" alt="Awake icon" height="16"> Awake](https://aka.ms/PowerToysOverview_Awake) |
|
||||
| [<img src="doc/images/icons/Color%20Picker.png" alt="Color Picker icon" height="16"> Color Picker](https://aka.ms/PowerToysOverview_ColorPicker) | [<img src="doc/images/icons/Command%20Not%20Found.png" alt="Command Not Found icon" height="16"> Command Not Found](https://aka.ms/PowerToysOverview_CmdNotFound) | [<img src="doc/images/icons/Command Palette.png" alt="Command Palette icon" height="16"> Command Palette](https://aka.ms/PowerToysOverview_CmdPal) |
|
||||
| [<img src="doc/images/icons/Crop%20And%20Lock.png" alt="Crop and Lock icon" height="16"> Crop And Lock](https://aka.ms/PowerToysOverview_CropAndLock) | [<img src="doc/images/icons/Environment%20Manager.png" alt="Environment Variables icon" height="16"> Environment Variables](https://aka.ms/PowerToysOverview_EnvironmentVariables) | [<img src="doc/images/icons/FancyZones.png" alt="FancyZones icon" height="16"> FancyZones](https://aka.ms/PowerToysOverview_FancyZones) |
|
||||
| [<img src="doc/images/icons/File%20Explorer%20Preview.png" alt="File Explorer Add-ons icon" height="16"> File Explorer Add-ons](https://aka.ms/PowerToysOverview_FileExplorerAddOns) | [<img src="doc/images/icons/File%20Locksmith.png" alt="File Locksmith icon" height="16"> File Locksmith](https://aka.ms/PowerToysOverview_FileLocksmith) | [<img src="doc/images/icons/Host%20File%20Editor.png" alt="Hosts File Editor icon" height="16"> Hosts File Editor](https://aka.ms/PowerToysOverview_HostsFileEditor) |
|
||||
| [<img src="doc/images/icons/Image%20Resizer.png" alt="Image Resizer icon" height="16"> Image Resizer](https://aka.ms/PowerToysOverview_ImageResizer) | [<img src="doc/images/icons/Keyboard%20Manager.png" alt="Keyboard Manager icon" height="16"> Keyboard Manager](https://aka.ms/PowerToysOverview_KeyboardManager) | [<img src="doc/images/icons/Light Switch.png" alt="Light Switch icon" height="16"> Light Switch](https://aka.ms/PowerToysOverview_LightSwitch) |
|
||||
| [<img src="doc/images/icons/Find My Mouse.png" alt="Mouse Utilities icon" height="16"> Mouse Utilities](https://aka.ms/PowerToysOverview_MouseUtilities) | [<img src="doc/images/icons/MouseWithoutBorders.png" alt="Mouse Without Borders icon" height="16"> Mouse Without Borders](https://aka.ms/PowerToysOverview_MouseWithoutBorders) | [<img src="doc/images/icons/NewPlus.png" alt="New+ icon" height="16"> New+](https://aka.ms/PowerToysOverview_NewPlus) |
|
||||
| [<img src="doc/images/icons/Peek.png" alt="Peek icon" height="16"> Peek](https://aka.ms/PowerToysOverview_Peek) | [<img src="doc/images/icons/PowerRename.png" alt="PowerRename icon" height="16"> PowerRename](https://aka.ms/PowerToysOverview_PowerRename) | [<img src="doc/images/icons/PowerToys%20Run.png" alt="PowerToys Run icon" height="16"> PowerToys Run](https://aka.ms/PowerToysOverview_PowerToysRun) |
|
||||
| [<img src="doc/images/icons/PowerAccent.png" alt="Quick Accent icon" height="16"> Quick Accent](https://aka.ms/PowerToysOverview_QuickAccent) | [<img src="doc/images/icons/Registry%20Preview.png" alt="Registry Preview icon" height="16"> Registry Preview](https://aka.ms/PowerToysOverview_RegistryPreview) | [<img src="doc/images/icons/MeasureTool.png" alt="Screen Ruler icon" height="16"> Screen Ruler](https://aka.ms/PowerToysOverview_ScreenRuler) |
|
||||
| [<img src="doc/images/icons/Shortcut%20Guide.png" alt="Shortcut Guide icon" height="16"> Shortcut Guide](https://aka.ms/PowerToysOverview_ShortcutGuide) | [<img src="doc/images/icons/PowerOCR.png" alt="Text Extractor icon" height="16"> Text Extractor](https://aka.ms/PowerToysOverview_TextExtractor) | [<img src="doc/images/icons/Workspaces.png" alt="Workspaces icon" height="16"> Workspaces](https://aka.ms/PowerToysOverview_Workspaces) |
|
||||
| [<img src="doc/images/icons/ZoomIt.png" alt="ZoomIt icon" height="16"> ZoomIt](https://aka.ms/PowerToysOverview_ZoomIt) | | |
|
||||
## About
|
||||
|
||||
Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. For more info on [PowerToys overviews and how to use the utilities][usingPowerToys-docs-link], or any other tools and resources for [Windows development environments](https://learn.microsoft.com/windows/dev-environment/overview), head over to [learn.microsoft.com][usingPowerToys-docs-link]!
|
||||
|
||||
## 📋 Installation
|
||||
| | Current utilities: | |
|
||||
|--------------|--------------------|--------------|
|
||||
| [Advanced Paste](https://aka.ms/PowerToysOverview_AdvancedPaste) | [Always on Top](https://aka.ms/PowerToysOverview_AoT) | [PowerToys Awake](https://aka.ms/PowerToysOverview_Awake) |
|
||||
| [Color Picker](https://aka.ms/PowerToysOverview_ColorPicker) | [Command Not Found](https://aka.ms/PowerToysOverview_CmdNotFound) | [Command Palette](https://aka.ms/PowerToysOverview_CmdPal) |
|
||||
| [Crop And Lock](https://aka.ms/PowerToysOverview_CropAndLock) | [Environment Variables](https://aka.ms/PowerToysOverview_EnvironmentVariables) | [FancyZones](https://aka.ms/PowerToysOverview_FancyZones) |
|
||||
| [File Explorer Add-ons](https://aka.ms/PowerToysOverview_FileExplorerAddOns) | [File Locksmith](https://aka.ms/PowerToysOverview_FileLocksmith) | [Hosts File Editor](https://aka.ms/PowerToysOverview_HostsFileEditor) |
|
||||
| [Image Resizer](https://aka.ms/PowerToysOverview_ImageResizer) | [Keyboard Manager](https://aka.ms/PowerToysOverview_KeyboardManager) | [Mouse utilities](https://aka.ms/PowerToysOverview_MouseUtilities) |
|
||||
| [Mouse Without Borders](https://aka.ms/PowerToysOverview_MouseWithoutBorders) | [New+](https://aka.ms/PowerToysOverview_NewPlus) | [Paste as Plain Text](https://aka.ms/PowerToysOverview_PastePlain) |
|
||||
| [Peek](https://aka.ms/PowerToysOverview_Peek) | [PowerRename](https://aka.ms/PowerToysOverview_PowerRename) | [PowerToys Run](https://aka.ms/PowerToysOverview_PowerToysRun) |
|
||||
| [Quick Accent](https://aka.ms/PowerToysOverview_QuickAccent) | [Registry Preview](https://aka.ms/PowerToysOverview_RegistryPreview) | [Screen Ruler](https://aka.ms/PowerToysOverview_ScreenRuler) |
|
||||
| [Shortcut Guide](https://aka.ms/PowerToysOverview_ShortcutGuide) | [Text Extractor](https://aka.ms/PowerToysOverview_TextExtractor) | [Workspaces](https://aka.ms/PowerToysOverview_Workspaces) |
|
||||
| [ZoomIt](https://aka.ms/PowerToysOverview_ZoomIt) |
|
||||
|
||||
For detailed installation instructions and system requirements, visit the [installation docs](https://learn.microsoft.com/windows/powertoys/install).
|
||||
## Installing and running Microsoft PowerToys
|
||||
|
||||
But to get started quickly, choose one of the installation methods below:
|
||||
<br/><br/>
|
||||
<details open>
|
||||
<summary><strong>Download .exe from GitHub</strong></summary>
|
||||
<br/>
|
||||
Go to the [PowerToys GitHub releases][github-release-link], click Assets to reveal the downloads, and choose the installer that matches your architecture and install scope. For most devices, that's the x64 per-user installer.
|
||||
### Requirements
|
||||
|
||||
- Windows 11 or Windows 10 version 2004 (code name 20H1 / build number 19041) or newer.
|
||||
- x64 or ARM64 processor
|
||||
- Our installer will install the following items:
|
||||
- [Microsoft Edge WebView2 Runtime](https://go.microsoft.com/fwlink/p/?LinkId=2124703) bootstrapper. This will install the latest version.
|
||||
|
||||
### Via GitHub with EXE [Recommended]
|
||||
|
||||
Go to the [Microsoft PowerToys GitHub releases page][github-release-link] and click on `Assets` at the bottom to show the files available in the release. Please use the appropriate PowerToys installer that matches your machine's architecture and install scope. For most, it is `x64` and per-user.
|
||||
|
||||
<!-- items that need to be updated release to release -->
|
||||
[github-next-release-work]: https://github.com/microsoft/PowerToys/issues?q=is%3Aissue+milestone%3A%22PowerToys+0.96%22
|
||||
[github-current-release-work]: https://github.com/microsoft/PowerToys/issues?q=is%3Aissue+milestone%3A%22PowerToys+0.95%22
|
||||
[ptUserX64]: https://github.com/microsoft/PowerToys/releases/download/v0.95.1/PowerToysUserSetup-0.95.1-x64.exe
|
||||
[ptUserArm64]: https://github.com/microsoft/PowerToys/releases/download/v0.95.1/PowerToysUserSetup-0.95.1-arm64.exe
|
||||
[ptMachineX64]: https://github.com/microsoft/PowerToys/releases/download/v0.95.1/PowerToysSetup-0.95.1-x64.exe
|
||||
[ptMachineArm64]: https://github.com/microsoft/PowerToys/releases/download/v0.95.1/PowerToysSetup-0.95.1-arm64.exe
|
||||
[github-next-release-work]: https://github.com/microsoft/PowerToys/issues?q=is%3Aissue+milestone%3A%22PowerToys+0.93%22
|
||||
[github-current-release-work]: https://github.com/microsoft/PowerToys/issues?q=is%3Aissue+milestone%3A%22PowerToys+0.92%22
|
||||
[ptUserX64]: https://github.com/microsoft/PowerToys/releases/download/v0.92.1/PowerToysUserSetup-0.92.1-x64.exe
|
||||
[ptUserArm64]: https://github.com/microsoft/PowerToys/releases/download/v0.92.1/PowerToysUserSetup-0.92.1-arm64.exe
|
||||
[ptMachineX64]: https://github.com/microsoft/PowerToys/releases/download/v0.92.1/PowerToysSetup-0.92.1-x64.exe
|
||||
[ptMachineArm64]: https://github.com/microsoft/PowerToys/releases/download/v0.92.1/PowerToysSetup-0.92.1-arm64.exe
|
||||
|
||||
| Description | Filename |
|
||||
|----------------|----------|
|
||||
| Per user - x64 | [PowerToysUserSetup-0.95.1-x64.exe][ptUserX64] |
|
||||
| Per user - ARM64 | [PowerToysUserSetup-0.95.1-arm64.exe][ptUserArm64] |
|
||||
| Machine wide - x64 | [PowerToysSetup-0.95.1-x64.exe][ptMachineX64] |
|
||||
| Machine wide - ARM64 | [PowerToysSetup-0.95.1-arm64.exe][ptMachineArm64] |
|
||||
</details>
|
||||
| Per user - x64 | [PowerToysUserSetup-0.92.1-x64.exe][ptUserX64] |
|
||||
| Per user - ARM64 | [PowerToysUserSetup-0.92.1-arm64.exe][ptUserArm64] |
|
||||
| Machine wide - x64 | [PowerToysSetup-0.92.1-x64.exe][ptMachineX64] |
|
||||
| Machine wide - ARM64 | [PowerToysSetup-0.92.1-arm64.exe][ptMachineArm64] |
|
||||
|
||||
<details>
|
||||
<summary><strong>Microsoft Store</strong></summary>
|
||||
<br/>
|
||||
You can easily install PowerToys from the Microsoft Store:
|
||||
<p>
|
||||
<a style="text-decoration:none" href="https://aka.ms/getPowertoys">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: light)" srcset="doc/images/readme/StoreBadge-dark.png" width="148" />
|
||||
<img src="doc/images/readme/StoreBadge-light.png" width="148" />
|
||||
</picture></a>
|
||||
</p>
|
||||
</details>
|
||||
This is our preferred method.
|
||||
|
||||
<details>
|
||||
<summary><strong>WinGet</strong></summary>
|
||||
<br/>
|
||||
### Via Microsoft Store
|
||||
|
||||
Install from the [Microsoft Store's PowerToys page][microsoft-store-link]. You must be using the [new Microsoft Store](https://blogs.windows.com/windowsExperience/2021/06/24/building-a-new-open-microsoft-store-on-windows-11/), which is available for both Windows 11 and Windows 10.
|
||||
|
||||
### Via WinGet
|
||||
Download PowerToys from [WinGet][winget-link]. Updating PowerToys via winget will respect the current PowerToys installation scope. To install PowerToys, run the following command from the command line / PowerShell:
|
||||
|
||||
*User scope installer [default]*
|
||||
#### User scope installer [default]
|
||||
```powershell
|
||||
winget install Microsoft.PowerToys -s winget
|
||||
```
|
||||
|
||||
*Machine-wide scope installer*
|
||||
#### Machine-wide scope installer
|
||||
|
||||
```powershell
|
||||
winget install --scope machine Microsoft.PowerToys -s winget
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Other methods</strong></summary>
|
||||
<br/>
|
||||
### Other install methods
|
||||
|
||||
There are [community driven install methods](./doc/unofficialInstallMethods.md) such as Chocolatey and Scoop. If these are your preferred install solutions, you can find the install instructions there.
|
||||
</details>
|
||||
|
||||
## ✨ What's new
|
||||
**Version 0.95 (October 2025)**
|
||||
## Third-Party Run Plugins
|
||||
|
||||
For an in-depth look at the latest changes, visit the [Windows Command Line blog](https://aka.ms/powertoys-releaseblog).
|
||||
There is a collection of [third-party plugins](./doc/thirdPartyRunPlugins.md) created by the community that aren't distributed with PowerToys.
|
||||
|
||||
**✨ Highlights**
|
||||
- **NEW:** The **Light Switch** utility in PowerToys allows you to automatically switch between light and dark themes in Windows based on the time of day.
|
||||
- Command Palette delivered major search performance gains (new fuzzy matcher and smarter fallbacks) improving relevance and speed.
|
||||
- Peek can now be activated using just the Spacebar!
|
||||
- Find My Mouse added transparent spotlight with independent backdrop opacity, boosting focus and accessibility.
|
||||
- Settings now lets you delete shortcuts entirely and ignore conflicts.
|
||||
- Mouse Pointer Crosshairs gained orientation options (vertical / horizontal / both) for customizable accessibility. Thanks [@mikehall-ms](https://github.com/mikehall-ms)!
|
||||
- PowerRename fixed enumeration counter skipping ensuring reliable batch renames. Thanks [@daverayment](https://github.com/daverayment)!
|
||||
- ZoomIt restored legacy draw and snipping behaviors, and fixed recording issues, improving reliability. Thanks [@chakrik73](https://github.com/chakrik73)!
|
||||
## Contributing
|
||||
|
||||
This project welcomes contributions of all types. Besides coding features / bug fixes, other ways to assist include spec writing, design, documentation, and finding bugs. We are excited to work with the power user community to build a set of tools for helping you get the most out of Windows.
|
||||
|
||||
We ask that **before you start work on a feature that you would like to contribute**, please read our [Contributor's Guide](CONTRIBUTING.md). We would be happy to work with you to figure out the best approach, provide guidance and mentorship throughout feature development, and help avoid any wasted or duplicate effort.
|
||||
|
||||
Most contributions require you to agree to a [Contributor License Agreement (CLA)][oss-CLA] declaring that you grant us the rights to use your contribution and that you have permission to do so.
|
||||
|
||||
For guidance on developing for PowerToys, please read the [developer docs](./doc/devdocs) for a detailed breakdown. This includes how to setup your computer to compile.
|
||||
|
||||
## What's Happening
|
||||
|
||||
### PowerToys Roadmap
|
||||
|
||||
Our [prioritized roadmap][roadmap] of features and utilities that the core team is focusing on.
|
||||
|
||||
### 0.92 - June 2025 Update
|
||||
|
||||
In this release, we focused on new features, stability, optimization improvements, and automation.
|
||||
|
||||
**✨Highlights**
|
||||
|
||||
- PowerToys settings now has a toggle for the system tray icon, giving users control over its visibility based on personal preference. Thanks [@BLM16](https://github.com/BLM16)!
|
||||
- Command Palette now has Ahead-of-Time ([AOT](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot)) compatibility for all first-party extensions, improved extensibility, and core UX fixes, resulting in better performance and stability across commands.
|
||||
- Color Picker now has customizable mouse button actions, enabling more personalized workflows by assigning functions to left, right, and middle clicks. Thanks [@PesBandi](https://github.com/PesBandi)!
|
||||
- Bug Report Tool now has a faster and clearer reporting process, with progress indicators, improved compression, auto-cleanup of old trace logs, and inclusion of MSIX installer logs for more efficient diagnostics.
|
||||
- File Explorer add-ons now have improved rendering stability, resolving issues with PDF previews, blank thumbnails, and text file crashes during file browsing.
|
||||
|
||||
### Color Picker
|
||||
|
||||
- Added mouse button actions so you can choose what left, right, or middle click does. Thanks [@PesBandi](https://github.com/PesBandi)!
|
||||
|
||||
### Crop & Lock
|
||||
|
||||
- Aligned window styling with current Windows theme for a cleaner look. Thanks [@sadirano](https://github.com/sadirano)!
|
||||
|
||||
### Command Palette
|
||||
- Applied conditional margin for icon-only tags to tighten layout. Thanks [@samrueby](https://github.com/samrueby)
|
||||
- Improved the reliability of accessing Command Palette settings through PowerToys Settings and executing other x-cmdpal:// protocol commands. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Enabled AOT by default for improved performance while simplifying publish configs.
|
||||
- Replaced service state color dots with play/pause/stop icons for enhanced accessibility. Thanks [@samrueby](https://github.com/samrueby)
|
||||
- Fixed filter dropdown sync and crash by binding SelectedValue and raising UI-thread notifications. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Ensured long links wrap correctly in details view.
|
||||
- Removed animation and enforced minimum width on filter dropdown for clarity. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Restored focus to More button after ESC closes context menu, improving keyboard flow. Thanks [@chatasweetie](https://github.com/chatasweetie)
|
||||
- Marked main and toast windows as tool windows to keep them out of Alt+Tab while preserving style. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Fixed AOT template and theming issues for filter separators. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Introduced grid layouts (small, medium, gallery) for richer page presentation.
|
||||
- Materialized result lists to avoid rescoring overhead.
|
||||
- Disabled problematic selection TextToSuggest behind environment flag.
|
||||
- Major search performance improvements (new fuzzy matcher, smarter fallbacks, fewer exceptions).
|
||||
- Added context menu "Show Details" command when details pane is hidden.
|
||||
- Reduced window flicker by avoiding unnecessary cloaking. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Restored EmptyContent rendering for blank states. Thanks [@DevLGuilherme](https://github.com/DevLGuilherme)
|
||||
- Saved new state even if prior app state file was corrupt (better resilience). Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Migrated settings window to WinUI TitleBar control. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Prevented crash on duplicate keybindings and simplified matching. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Hotkeys now always respect the “Ignore shortcut in fullscreen” setting. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Hid search box on content pages, improving focus and accessibility, and added Home title. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Blocked Ctrl+I from inserting stray tabs in search box.
|
||||
- Logged HRESULT codes in error logs for deeper diagnostics. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Advanced font and emoji icon classification and alignment improvements. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Ensured that fallback command icons are visible on the extension settings page. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Fixed breadcrumb margin misalignment (visual polish). Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Truncated overly long command labels with ellipsis to prevent overflow.
|
||||
- Added a setting to configure the page transition animation.
|
||||
- Collection of small improvements and nits for Run Commands.
|
||||
- Improved bookmarks performance and experience. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Added Ctrl+O shortcut in Clipboard History to open links directly.
|
||||
- Resolved conflict with external software that blocked Command Palette from hiding.
|
||||
- Updated context menu items to reflect name and icon changes, and ensured application icons are displayed correctly. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Added Alt+Home shortcut to return immediately to the Command Palette home page. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Fixed a crash when displaying code blocks in markdown on detail or content pages. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Fixed an issue where the search bar icon and title were not updated when rapidly switching pages. Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Improved the appearance of the search box in the context menu.
|
||||
|
||||
- Enhanced performance by resolving a regression in page loading.
|
||||
- Applied consistent hotkey handling across all Command Palette commands for a smoother user experience.
|
||||
- Improved graceful closing of Command Palette. Thanks [@davidegiacometti](https://github.com/davidegiacometti)!
|
||||
- Fixed consistency issue for extensions' alias with "Direct" setting and enabled localization for "Direct" and "Indirect" for better user understanding. Thanks [@davidegiacometti](https://github.com/davidegiacometti)!
|
||||
- Improved visual clarity by styling critical context items correctly.
|
||||
- Automatically focused the field when only one is present on the content page.
|
||||
- Improved stability and efficiency when loading file icons in SDK ThumbnailHelper.cs by removing unnecessary operations. Thanks [@OldUser101](https://github.com/OldUser101)!
|
||||
- Enhanced details view with commands implementation. (See [Extension sample](./src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleListPageWithDetails.cs))
|
||||
|
||||
### Command Palette Extensions
|
||||
- Replaced localized WebSearch setting keys with stable literals and numeric history count. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Enabled advanced markdown tables and emphasis extensions. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Added setting to choose Clipboard History primary action (Paste vs Copy). Thanks [@jiripolasek](https://github.com/jiripolasek)
|
||||
- Added actionable empty-state hints for File Search (search PC / open indexing settings). Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Ensured all WinGet extension assets copy reliably to output. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Improved Run command line parsing for paths with spaces; sped up related tests.
|
||||
- Updated WebSearch extension icon set for enhanced clarity and contrast. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Added Terminal profile sort order setting including MRU tracking. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Added Uninstall Application command (UWP direct, Win32 via Settings). Thanks [@mKpwnz](https://github.com/mKpwnz)!
|
||||
- Deferred WinGet details loading and added timing logs.
|
||||
- Removed LINQ from All Apps extension for performance.
|
||||
- Added standardized key chord system + shortcuts to File Search commands. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Added Terminal channel filter & remembered selection option. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Enabled loading local/data/app images in markdown with sizing hints. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Added external extension reload via x-cmdpal://reload (configurable). Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Instant WebSearch history updates with in-memory store & events. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Added keep-after-paste option and safe delete with confirmation for Clipboard History. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
### Command Palette extensions
|
||||
|
||||
### Environment Variables
|
||||
- Replaced custom window chrome with WinUI TitleBar for cleaner, maintainable Environment Variables UI.
|
||||
- Added "Copy Path" command to *App* search results for convenience. Thanks [@PesBandi](https://github.com/PesBandi)!
|
||||
- Improved *Calculator* input experience by ignoring leading equal signs. Thanks [@PesBandi](https://github.com/PesBandi)!
|
||||
- Corrected input handling in the *Calculator* extension to avoid showing errors for input with only leading whitespace.
|
||||
- Improved *New Extension* wizard by validating names to prevent namespace errors.
|
||||
- Ensured consistent context items display for the *Run* extension between fallback and top-level results.
|
||||
- Fixed missing *Time & Date* commands in fallback results. Thanks [@htcfreek](https://github.com/htcfreek)!
|
||||
- Fixed outdated results in the *Time & Date* extension. Thanks [@htcfreek](https://github.com/htcfreek)!
|
||||
- Fixed an issue where *Web Search* always opened Microsoft Edge instead of the user's default browser on Windows 11 24H2 and later. Thanks [@RuggMatt](https://github.com/RuggMatt)!
|
||||
- Improved ordering of *Windows Settings* extension search results from alphabetical to relevance-based for quicker access.
|
||||
- Added "Restart Windows Explorer" command to the *Windows System Commands* provider for gracefully terminate and relaunch explorer.exe. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
|
||||
### File Locksmith
|
||||
- Adopted WinUI TitleBar to simplify window chrome while preserving appearance.
|
||||
### Command Palette Ahead-of-Time (AOT) readiness
|
||||
|
||||
### Find My Mouse
|
||||
- Added transparent spotlight support with separate backdrop opacity; migrated to Windows App SDK composition APIs.
|
||||
- We’ve made foundational changes to prepare the Command Palette for future Ahead-of-Time (AOT) publishing. This includes replacing the calculator library with ExprTk, improving COM object handling, refining Win32 interop, and correcting trimming behavior—all to ensure compatibility, performance, and reliability under AOT constraints. All first-party extensions are now AOT-compatible. These improvements lay the groundwork for publishing Command Palette as an AOT application in the next release.
|
||||
- Special thanks to [@Sergio0694](https://github.com/Sergio0694) for guidance on making COM APIs AOT-compatible, [@jtschuster](https://github.com/jtschuster) for fixing COM object handling, [@ArashPartow](https://github.com/ArashPartow) from ExprTk for integration suggestions, and [@tian-lt](https://github.com/tian-lt) from the Windows Calculator team for valuable suggestion throughout the migration journey and review.
|
||||
- As part of the upcoming release, we’re also enabling AOT compatibility for key dependencies, including markdown rendering, Adaptive Cards, internal logging and telemetry library, and the core Command Palette UX.
|
||||
|
||||
### FancyZones
|
||||
|
||||
- Fixed DPI-scaling issues to ensure FancyZones Editor displays crisply on high-resolution monitors. Thanks [@HO-COOH](https://github.com/HO-COOH)! This inspired us a broader review across other PowerToys modules, leading to DPI display optimizations in Awake, Color Picker, PowerAccent, and more.
|
||||
|
||||
### File Explorer add-ons
|
||||
|
||||
- Fixed potential failures in PDF previewer and thumbnail generation, improving reliability when browsing PDF files. Thanks [@mohiuddin-khan-shiam](https://github.com/mohiuddin-khan-shiam)!
|
||||
- Prevented Monaco Preview Handler crash when opening UTF-8-BOM text files.
|
||||
|
||||
### Hosts File Editor
|
||||
- Migrated to native WinUI TitleBar for cleaner, maintainable window chrome.
|
||||
|
||||
### Light Switch
|
||||
- Introduced as a brand-new PowerToy module.
|
||||
- Automatically switches between light and dark themes.
|
||||
- Supports time-based scheduling or location-based sunrise/sunset switching.
|
||||
- Supports using a keyboard shortcut to force a change.
|
||||
- Supports filtering changes for Apps and/or System Theme.
|
||||
|
||||
### Mouse Pointer Crosshairs
|
||||
- Added Esc key to cancel active gliding cursor sequence. Thanks [@mikehall-ms](https://github.com/mikehall-ms)!
|
||||
- Added orientation option (vertical / horizontal / both) for crosshairs customization. Thanks [@mikehall-ms](https://github.com/mikehall-ms)!
|
||||
- Added an in-app *“Learn more”* link to warning dialogs for quick guidance. Thanks [@PesBandi](https://github.com/PesBandi)!
|
||||
|
||||
### Mouse Without Borders
|
||||
- Continued Common class refactor (part 5/7) by extracting clipboard and init/cleanup logic into focused classes. Thanks [@mikeclayton](https://github.com/mikeclayton)!
|
||||
|
||||
- Fix connection failures caused by conflicting MachineId across machines. Thanks [@noraa-junker](https://github.com/noraa-junker) for troubleshooting!
|
||||
- Fixed firewall rule so MWB now accepts connections from IPs outside your local subnet.
|
||||
- Cleaned legacy logs to reduce disk usage and noise.
|
||||
|
||||
### Peek
|
||||
- Added the option to activate Peek with just the Spacebar.
|
||||
|
||||
- Updated QOI reader so 3-channel QOI images preview correctly in Peek and File Explorer. Thanks [@mbartlett21](https://github.com/mbartlett21)!
|
||||
- Added codec detection with a clear warning when a video can’t be previewed, along with a link to the Microsoft Store to download the required codec.
|
||||
|
||||
### PowerRename
|
||||
- Fixed enumeration counter skipping when regex replacement equals original filename (counters now advance reliably). Thanks [@daverayment](https://github.com/daverayment)!
|
||||
|
||||
### Quick Accent
|
||||
- Expanded Welsh layout with acute, grave, and dieresis variants for vowels (consistent ordering). Thanks [@PesBandi](https://github.com/PesBandi)!
|
||||
- Added support for $YY-$MM-$DD in ModificationTime and AccessTime to enable flexible date-based renaming.
|
||||
|
||||
### PowerToys Run
|
||||
|
||||
- Suppressed error UI for known WPF-related crashes to reduce user confusion, while retaining diagnostic logging for analysis. This targets COMException 0xD0000701 and 0x80263001 caused by temporary DWM unavailability.
|
||||
|
||||
### Registry Preview
|
||||
- Migrated to native TitleBar and AppWindow APIs for cleaner window chrome.
|
||||
|
||||
### Screen Ruler
|
||||
- Fixed ARM64 crash by aligning cursor position structure to 8-byte boundary.
|
||||
- Added "Extended data preview" via magnifier icon and context menu in the Data Grid, enabled easier inspection of complex registry types like REG_BINARY, REG_EXPAND_SZ, and REG_MULTI_SZ, etc. Thanks [@htcfreek](https://github.com/htcfreek)!
|
||||
- Improved file-saving experience in Registry Preview by aligning with Notepad-like behavior, enhancing user prompts, error handling, and preventing crashes during unsaved or interrupted actions. Thanks [@htcfreek](https://github.com/htcfreek)!
|
||||
|
||||
### Settings
|
||||
- Added ability to ignore specific hotkey conflicts to reduce noise.
|
||||
- Stopped creating backup directory during dry-run status checks (cleaner first-run).
|
||||
- Standardized casing and localization for ZoomIt and modules header.
|
||||
- Improved search results page accessibility and conditional module grouping.
|
||||
|
||||
### ZoomIt
|
||||
- Updated resource file to reflect standalone v9.01 and current copyright year. Thanks [@foxmsft](https://github.com/foxmsft)!
|
||||
- Restored legacy draw/snipping behaviors and fixed recording race conditions. Thanks [@chakrik73](https://github.com/chakrik73)!
|
||||
- Added smooth image option for improved zoom quality using GDI+ for static zoom and Magnifier API for live zoom. Thanks [@markrussinovich](https://github.com/markrussinovich)!
|
||||
- Added an option to hide or show the PowerToys system tray icon. Thanks [@BLM16](https://github.com/BLM16)!
|
||||
- Improved settings to show progress while a bug report package is being generated.
|
||||
|
||||
### Documentation
|
||||
- New Microsoft Learn documentation for the Light Switch module.
|
||||
- New dev docs for the Light Switch module.
|
||||
### Workspaces
|
||||
|
||||
### Development (Area-Build & Area-Tests)
|
||||
- Allowed debug launches to continue when modules fail to load, speeding developer iteration.
|
||||
- Fixed spell checker dictionary entry (advapi) to eliminate false error.
|
||||
- Added VS Code development guide and launch configs to streamline cross-editor workflows.
|
||||
- Upgraded Windows App SDK and related dependencies to 1.8 for newer platform features.
|
||||
- Rewrote YAML comment to resolve new spell checker forbidden pattern. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Corrected solution structure by returning misplaced Common project, reducing build confusion.
|
||||
- Modernized build scripts with shared helpers and VS environment autodetection for simpler CLI builds.
|
||||
- Standardized build scripts and platform detection to improve reliability and reuse.
|
||||
- Added missing Command Palette version bump to align module release cadence.
|
||||
- Added EXECUTEDEFAULT term to dictionary to prevent regression build failures. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Introduced nightly pre-warm pipeline and configurable MSBuild cache mode to improve CI performance.
|
||||
- Resolved CI forbidden pattern spelling complaint to keep pipelines green.
|
||||
- Added AI contributor instruction set to clarify code area expectations.
|
||||
- Added accessibility IDs to settings and FancyZones toggles, stabilizing UI tests.
|
||||
- Added automatic log collection on UI test failures to speed root cause analysis.
|
||||
- Stabilized Mouse Utils tests by switching to AccessibilityId selectors.
|
||||
- Added Screen Ruler UI test coverage to validate core measurement workflows.
|
||||
- Stored Workspaces icons in user AppData to ensure profile portability and prevent loss during temporary folder cleanup.
|
||||
- Enabled capture and launch of PWAs on non-default Edge or Chrome profiles, ensuring consistent behavior during creation and execution.
|
||||
|
||||
## 🛣️ Roadmap
|
||||
We are planning some nice new features and improvements for the next releases – a revamped Keyboard Manager UI, custom endpoint and local model support for Advanced Paste, Command Palette improvements and a brand-new Shortcut Guide experience! Stay tuned for [v0.96][github-next-release-work]!
|
||||
### Documentation
|
||||
|
||||
## ❤️ PowerToys Community
|
||||
The PowerToys team is extremely grateful to have the [support of an amazing active community][community-link]. The work you do is incredibly important. PowerToys wouldn't be nearly what it is today without your help filing bugs, updating documentation, guiding the design, or writing features. We want to say thank you and take time to recognize your work. Your contributions and feedback improve PowerToys month after month!
|
||||
- Added SpeedTest and Dictionary Definition to the third-party plugins documentation for PowerToys Run. Thanks [@ruslanlap](https://github.com/ruslanlap)!
|
||||
- Corrected sample links and typo in Command Palette documentation. Thanks [@daverayment](https://github.com/daverayment) and [@roycewilliams](https://github.com/roycewilliams)!
|
||||
|
||||
## Contributing
|
||||
This project welcomes contributions of all types. Besides coding features / bug fixes, other ways to assist include spec writing, design, documentation, and finding bugs. We are excited to work with the power user community to build a set of tools for helping you get the most out of Windows. We ask that **before you start work on a feature that you would like to contribute**, please read our [Contributor's Guide](CONTRIBUTING.md). We would be happy to work with you to figure out the best approach, provide guidance and mentorship throughout feature development, and help avoid any wasted or duplicate effort. Most contributions require you to agree to a [Contributor License Agreement (CLA)][oss-CLA] declaring that you grant us the rights to use your contribution and that you have permission to do so. For guidance on developing for PowerToys, please read the [developer docs](./doc/devdocs) for a detailed breakdown. This includes how to setup your computer to compile.
|
||||
### Development
|
||||
|
||||
## Code of Conduct
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct][oss-conduct-code].
|
||||
- Updated .NET libraries to 9.0.6 for performance and security. Thanks [@snickler](https://github.com/snickler)!
|
||||
- Updated WinAppSDK to 1.7.2 for better stability and Windows support.
|
||||
- Introduced a one-step local build script that generates a signed installer, enhancing developer productivity.
|
||||
- Generated portable PDBs so cross-platform debuggers can read symbol files, improving debugging experience in VSCode and other tools.
|
||||
- Simplified WinGet configuration files by using the [Microsoft.Windows.Settings](https://www.powershellgallery.com/packages/Microsoft.Windows.Settings) module to enable Developer Mode. Thanks [@mdanish-kh](https://github.com/mdanish-kh)!
|
||||
- Adjusted build scripts for the latest Az.Accounts module to keep CI green.
|
||||
- Streamlined release pipeline by removing hard-coded telemetry version numbers, and unified Command Palette versioning with Windows Terminal's versioning method for consistent updates.
|
||||
- Enhanced the build validation step to show detailed differences between NOTICE.md and actual package dependencies and versions.
|
||||
- Improved spell-checking accuracy across the repo. Thanks [@rovercoder](https://github.com/rovercoder)!
|
||||
- Upgraded CI to TouchdownBuild v5 for faster pipelines.
|
||||
- Added context comments to *Resources.resw* to help translators.
|
||||
- Expanded fuzz testing coverage to include FancyZones.
|
||||
- Integrated all unit tests into the CI pipeline, increasing from ~3,000 to ~5,000 tests.
|
||||
- Enabled daily UI test automation on the main branch, now covering over 370 UI tests for end-to-end validation.
|
||||
- Newly added unit tests for WorkspacesLib to improve reliability and maintainability.
|
||||
|
||||
## Privacy Statement
|
||||
The application logs basic diagnostic data (telemetry). For more privacy information and what we collect, see our [PowerToys Data and Privacy documentation](https://aka.ms/powertoys-data-and-privacy-documentation).
|
||||
### General
|
||||
|
||||
[oss-CLA]: https://cla.opensource.microsoft.com
|
||||
[oss-conduct-code]: CODE_OF_CONDUCT.md
|
||||
[community-link]: COMMUNITY.md
|
||||
[github-release-link]: https://aka.ms/installPowerToys
|
||||
[microsoft-store-link]: https://aka.ms/getPowertoys
|
||||
[winget-link]: https://github.com/microsoft/winget-cli#installing-the-client
|
||||
- Updated bug report compression library (cziplib 0.3.3) for faster and more reliable package creation. Thanks [@Chubercik](https://github.com/Chubercik)!
|
||||
- Included App Installer (“AppX Deployment Server”) event logs in bug reports for more thorough diagnostics.
|
||||
|
||||
### What is being planned for version 0.93
|
||||
|
||||
For [v0.93][github-next-release-work], we'll work on the items below:
|
||||
|
||||
- Continued Command Palette polish
|
||||
- New UI automation tests
|
||||
- Working on installer upgrades
|
||||
- Working on shortcut conflict detection
|
||||
- Upgrading Keyboard Manager's editor UI
|
||||
- Stability, bug fixes
|
||||
|
||||
## PowerToys Community
|
||||
|
||||
The PowerToys team is extremely grateful to have the [support of an amazing active community][community-link]. The work you do is incredibly important. PowerToys wouldn’t be nearly what it is today without your help filing bugs, updating documentation, guiding the design, or writing features. We want to say thank you and take time to recognize your work. Month by month, you directly help make PowerToys a better piece of software.
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct][oss-conduct-code].
|
||||
|
||||
## Privacy Statement
|
||||
|
||||
The application logs basic diagnostic data (telemetry). For more privacy information and what we collect, see our [PowerToys Data and Privacy documentation](https://aka.ms/powertoys-data-and-privacy-documentation).
|
||||
|
||||
[oss-CLA]: https://cla.opensource.microsoft.com
|
||||
[oss-conduct-code]: CODE_OF_CONDUCT.md
|
||||
[community-link]: COMMUNITY.md
|
||||
[github-release-link]: https://aka.ms/installPowerToys
|
||||
[microsoft-store-link]: https://aka.ms/getPowertoys
|
||||
[winget-link]: https://github.com/microsoft/winget-cli#installing-the-client
|
||||
[roadmap]: https://github.com/microsoft/PowerToys/wiki/Roadmap
|
||||
[privacy-link]: http://go.microsoft.com/fwlink/?LinkId=521839
|
||||
[loc-bug]: https://github.com/microsoft/PowerToys/issues/new?assignees=&labels=&template=translation_issue.md&title=
|
||||
[privacy-link]: http://go.microsoft.com/fwlink/?LinkId=521839
|
||||
[loc-bug]: https://github.com/microsoft/PowerToys/issues/new?assignees=&labels=&template=translation_issue.md&title=
|
||||
[usingPowerToys-docs-link]: https://aka.ms/powertoys-docs
|
||||
|
||||
1
deps/cziplib
vendored
Submodule
@@ -22,23 +22,23 @@ The PowerToys UI test pipeline provides flexible options for building and testin
|
||||
|
||||
### Pipeline Options
|
||||
|
||||
- **buildSource**: Select the build type for testing:
|
||||
- `latestMainOfficialBuild`: Downloads and uses the latest official PowerToys build from main branch
|
||||
- `buildNow`: Builds PowerToys from current source code and uses it for testing
|
||||
- `specificBuildId`: Downloads a specific PowerToys build using the build ID specified in `specificBuildId` parameter
|
||||
- **useLatestOfficialBuild**: When checked, downloads the latest official PowerToys build and installs it for testing. This skips the full solution build and only builds UI test projects.
|
||||
|
||||
**Default value**: `latestMainOfficialBuild`
|
||||
- **useCurrentBranchBuild**: When checked along with `useLatestOfficialBuild`, downloads the official build from the current branch instead of main.
|
||||
|
||||
- **specificBuildId**: When `buildSource` is set to `specificBuildId`, specify the exact PowerToys build ID to download and test against.
|
||||
|
||||
**Default value**: `"xxxx"` (placeholder, enter actual build ID when using specificBuildId option)
|
||||
**Default value**: `false` (downloads from main branch)
|
||||
|
||||
**When to use this**:
|
||||
- Testing against a specific known build for reproducibility
|
||||
- Regression testing against a particular build version
|
||||
- Validating fixes in a specific build before release
|
||||
- **Default scenario**: The pipeline tests against the latest signed PowerToys build from the `main` branch, regardless of which branch your test code changes are from
|
||||
- **Custom branch testing**: Only specify `true` when:
|
||||
- Your branch has produced its own signed PowerToys build via the official build pipeline
|
||||
- You want to test against that specific branch's PowerToys build instead of main
|
||||
- You are testing PowerToys functionality changes that are only available in your branch's build
|
||||
|
||||
**Usage**: Enter the build ID number (e.g., `12345`) to download that specific build. Only used when `buildSource` is set to `specificBuildId`.
|
||||
**Important notes**:
|
||||
- The test pipeline itself runs from your specified branch, but by default tests against the main branch's PowerToys build
|
||||
- Not all branches have signed builds available - only use this if you're certain your branch has a signed build
|
||||
- If enabled but no build exists for your branch, the pipeline may fail or fall back to main
|
||||
|
||||
- **uiTestModules**: Specify which UI test modules to build and run. This parameter controls both the `.csproj` projects to build and the `.dll` test assemblies to execute. Examples:
|
||||
- `['UITests-FancyZones']` - Only FancyZones UI tests
|
||||
@@ -50,19 +50,19 @@ The PowerToys UI test pipeline provides flexible options for building and testin
|
||||
|
||||
### Build Modes
|
||||
|
||||
1. **Official Build Testing** (`buildSource = latestMainOfficialBuild` or `specificBuildId`)
|
||||
- Downloads and installs official PowerToys build (latest from main or specific build ID)
|
||||
- Builds only UI test projects (all or specific based on `uiTestModules`)
|
||||
- Runs UI tests against installed PowerToys
|
||||
- Tests both machine-level and per-user installation modes automatically
|
||||
1. **Official Build + Selective Testing** (`useLatestOfficialBuild = true`)
|
||||
- Downloads and installs official PowerToys build
|
||||
- Builds only specified UI test projects
|
||||
- Runs specified UI tests against installed PowerToys
|
||||
- Controlled by `uiTestModules` parameter
|
||||
|
||||
2. **Current Source Build Testing** (`buildSource = buildNow`)
|
||||
- Builds entire PowerToys solution from current source code
|
||||
2. **Full Build + Testing** (`useLatestOfficialBuild = false`)
|
||||
- Builds entire PowerToys solution
|
||||
- Builds UI test projects (all or specific based on `uiTestModules`)
|
||||
- Runs UI tests against freshly built PowerToys
|
||||
- Uses artifacts from current pipeline build
|
||||
- Runs UI tests (all or specific based on `uiTestModules`)
|
||||
- Uses freshly built PowerToys for testing
|
||||
|
||||
> **Note**: All modes support the `uiTestModules` parameter to control which specific UI test modules to build and run. Both machine-level and per-user installation modes are tested automatically when using official builds.
|
||||
> **Note**: Both modes support the `uiTestModules` parameter to control which specific UI test modules to build and run.
|
||||
|
||||
### Pipeline Access
|
||||
- Pipeline: https://microsoft.visualstudio.com/Dart/_build?definitionId=161438&_a=summary
|
||||
@@ -1,6 +1,6 @@
|
||||
# PowerToys Installer
|
||||
|
||||
## Installer Architecture (WiX 5)
|
||||
## Installer Architecture (WiX 3/ WiX 5)
|
||||
|
||||
- Uses a bootstrapper to check dependencies and close PowerToys
|
||||
- MSI defined in product.wxs
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
### MSI Installer Build Process
|
||||
|
||||
- First builds `PowerToysSetupCustomActionsVNext` DLL and signs it
|
||||
- First builds `PowerToysSetupCustomActions` DLL and signs it, for WiX5 project, installer will build `PowerToysSetupCustomActionsVNext` DLL.
|
||||
- Then builds the installer without cleaning, to reuse the signed DLL
|
||||
- Uses PowerShell scripts to modify .wxs files before build
|
||||
- Restores original .wxs files after build completes
|
||||
@@ -87,23 +87,11 @@
|
||||
|
||||
### Building PowerToys Locally
|
||||
|
||||
#### One stop script for building installer
|
||||
1. Open developer powershell for vs 2022
|
||||
2. Run tools\build\build-installer.ps1
|
||||
> For the first-time setup, please run the installer as an administrator. This ensures that the Wix tool can move wix.target to the desired location and trust the certificate used to sign the MSIX packages.
|
||||
|
||||
The following manual steps will not install the MSIX apps (such as Command Palette) on your local installer.
|
||||
|
||||
#### Prerequisites for building the MSI installer
|
||||
|
||||
PowerToys uses WiX v5 for creating installers. The WiX v5 tools are automatically installed during the build process via dotnet tool.
|
||||
|
||||
For manual installation of WiX v5 tools:
|
||||
```powershell
|
||||
dotnet tool install --global wix --version 5.0.2
|
||||
```
|
||||
|
||||
> **Note:** As of release 0.94, PowerToys has migrated from WiX v3 to WiX v5. The WiX v3 toolset is no longer required.
|
||||
1. Install the [WiX Toolset Visual Studio 2022 Extension](https://marketplace.visualstudio.com/items?itemName=WixToolset.WixToolsetVisualStudio2022Extension).
|
||||
1. Install the [WiX Toolset build tools](https://github.com/wixtoolset/wix3/releases/tag/wix3141rtm). (installer [direct link](https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314.exe))
|
||||
1. Download [WiX binaries](https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip) and extract `wix.targets` to `C:\Program Files (x86)\WiX Toolset v3.14`.
|
||||
|
||||
#### Building prerequisite projects
|
||||
|
||||
@@ -138,9 +126,17 @@ If you prefer, you can alternatively build prerequisite projects for the install
|
||||
1. In Visual Studio, in the `Solutions Configuration` drop-down menu select `Release`
|
||||
1. From the `Build` menu choose `Build Solution`.
|
||||
|
||||
The resulting installer will be available in the `installer\PowerToysSetupVNext\x64\Release\` folder.
|
||||
The resulting `PowerToysSetup.msi` installer will be available in the `installer\PowerToysSetup\x64\Release\` folder.
|
||||
|
||||
To build the installer from the command line, run `Developer Command Prompt for VS 2022` in admin mode and execute the following commands. The generated installer package will be located at `\installer\PowerToysSetupVNext\{platform}\Release\MachineSetup`.
|
||||
For WiX3 project, run `Developer Command Prompt for VS 2022` in admin mode and execute the following command to build the installer. The generated installer package will be located at `\installer\PowerToysSetup\{platform}\Release\MachineSetup`.
|
||||
|
||||
```
|
||||
git clean -xfd -e *exe -- .\installer\
|
||||
MSBuild -t:restore .\installer\PowerToysSetup.sln -p:RestorePackagesConfig=true /p:Platform="x64" /p:Configuration=Release
|
||||
MSBuild -m .\installer\PowerToysSetup.sln /t:PowerToysInstaller /p:Configuration=Release /p:Platform="x64"
|
||||
MSBuild -m .\installer\PowerToysSetup.sln /t:PowerToysBootstrapper /p:Configuration=Release /p:Platform="x64"
|
||||
```
|
||||
For WiX5 project, run `Developer Command Prompt for VS 2022` in admin mode and execute the following command to build the installer. The generated installer package will be located at `\installer\PowerToysSetupVNext\{platform}\Release\MachineSetup`.
|
||||
|
||||
```
|
||||
git clean -xfd -e *exe -- .\installer\
|
||||
|
||||
@@ -71,41 +71,6 @@ When the user changes settings in the UI:
|
||||
3. The runner calls the `set_config` function on the appropriate module
|
||||
4. The module parses the JSON and applies the new settings
|
||||
|
||||
# Shortcut Conflict Detection
|
||||
|
||||
Steps to enable conflict detection for a hotkey:
|
||||
|
||||
### 1. Implement module interface for hotkeys
|
||||
Ensure the module interface provides either `size_t get_hotkeys(Hotkey* hotkeys, size_t buffer_size)` or `std::optional<HotkeyEx> GetHotkeyEx()`.
|
||||
|
||||
- If not yet implemented, you need to add it so that it returns all hotkeys used by the module.
|
||||
- **Important**: The order of the returned hotkeys matters. This order is used as an index to uniquely identify each hotkey for conflict detection and lookup.
|
||||
- For reference, see: `src/modules/AdvancedPaste/AdvancedPasteModuleInterface/dllmain.cpp`
|
||||
|
||||
### 2. Implement IHotkeyConfig in the module settings (UI side)
|
||||
Make sure the module’s settings file inherits from `IHotkeyConfig` and implements `HotkeyAccessor[] GetAllHotkeyAccessors()`.
|
||||
|
||||
- This method should return all hotkeys used in the module.
|
||||
- **Important**: The order of the returned hotkeys must be consistent with step 1 (`get_hotkeys()` or `GetHotkeyEx()`).
|
||||
- For reference, see: `src/settings-ui/Settings.UI.Library/AdvancedPasteSettings.cs`
|
||||
- **_Note:_** `HotkeyAccessor` is a wrapper around HotkeySettings.
|
||||
It provides both `getter` and `setter` methods to read and update the corresponding hotkey.
|
||||
Additionally, each `HotkeyAccessor` requires a resource string that describes the purpose of the hotkey.
|
||||
This string is typically defined in: `src/settings-ui/Settings.UI/Strings/en-us/Resources.resw`
|
||||
|
||||
### 3. Update the module’s ViewModel
|
||||
The corresponding ViewModel should inherit from `PageViewModelBase` and implement `Dictionary<string, HotkeySettings[]> GetAllHotkeySettings()`.
|
||||
|
||||
- This method should return all hotkeys, maintaining the same order as in steps 1 and 2.
|
||||
- For reference, see: `src/settings-ui/Settings.UI/ViewModels/AdvancedPasteViewModel.cs`
|
||||
|
||||
### 4. Ensure the module’s Views call `OnPageLoaded()`
|
||||
Once the module’s view is loaded, make sure to invoke the ViewModel’s `OnPageLoaded()` method:
|
||||
```cs
|
||||
Loaded += (s, e) => ViewModel.OnPageLoaded();
|
||||
```
|
||||
- For reference, see: `src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml.cs`
|
||||
|
||||
## Debugging Settings
|
||||
|
||||
To debug settings issues:
|
||||
|
||||
@@ -18,8 +18,8 @@ You can build the entire solution from the command line, which is sometimes fast
|
||||
1. Open Developer Command Prompt for VS 2022
|
||||
2. Navigate to the repository root directory
|
||||
3. Run the following command(don't forget to set the correct platform):
|
||||
```pwsh
|
||||
msbuild -restore -p:RestorePackagesConfig=true -p:Platform=ARM64 -m PowerToys.sln /tl /p:NuGetInteractive="true"
|
||||
```
|
||||
msbuild -restore -p:RestorePackagesConfig=true -p:Platform=ARM64 -m PowerToys.sln
|
||||
```
|
||||
4. This process should complete in approximately 13-14 minutes for a full build
|
||||
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
## Developing PowerToys with Visual Studio Code
|
||||
|
||||
This guide shows how to build, debug, and contribute to PowerToys using VS Code instead of (or alongside) full Visual Studio. It focuses on common inner‑loop tasks for C++, .NET, and mixed scenarios present in the solution.
|
||||
|
||||
> PowerToys is a large mixed C++ / C# / WinAppSDK solution. VS Code works well for incremental development and quick module iterations, but occasionally you may still prefer full Visual Studio for designer tooling or specialized diagnostics.
|
||||
|
||||
---
|
||||
VS Code extensions Needed:
|
||||
|
||||
| Area | Extension | Notes |
|
||||
|------|-----------|-------|
|
||||
| C++ | ms-vscode.cpptools | IntelliSense, debugging (cppvsdbg) |
|
||||
| C# | ms-dotnettools.csdevkit (or C#) | Language service / test explorer |
|
||||
|
||||
---
|
||||
|
||||
## Building in VS Code
|
||||
### Configure developer powershell for vs2022 for more convenient dev in vscode.
|
||||
1. Configure profile in in settings, entry: "terminal.integrated.profiles.windows"
|
||||
2. Add below config as entry:
|
||||
```json
|
||||
"Developer PowerShell for VS 2022": {
|
||||
// Configure based on your preference
|
||||
"path": "C:\\Program Files\\WindowsApps\\Microsoft.PowerShell_7.5.2.0_arm64__8wekyb3d8bbwe\\pwsh.exe",
|
||||
"args": [
|
||||
"-NoExit",
|
||||
"-Command",
|
||||
"& {",
|
||||
"$orig = Get-Location;",
|
||||
// Configure based on your environment
|
||||
"& 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\Tools\\Launch-VsDevShell.ps1';",
|
||||
"Set-Location $orig",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
```
|
||||
3. [Optional] Set Developer PowerShell for VS 2022 as your default profile, so that you can get a deep integration with vscode coding agent.
|
||||
|
||||
4. Now You can build with plain `msbuild` or configure tasks.json in below section
|
||||
Or reach out to "tools\build\BUILD-GUIDELINES.md"
|
||||
|
||||
### Sample plain msbuild command
|
||||
```powershell
|
||||
# Restore:
|
||||
msbuild powertoys.sln -t:restore -p:configuration=debug -p:platform=x64 -m
|
||||
|
||||
# Build powertoys sln
|
||||
msbuild powertoys.sln -p:configuration=debug -p:platform=x64 -m
|
||||
|
||||
# dotnet project
|
||||
msbuild src\settings-ui\Settings.UI\PowerToys.Settings.csproj -p:Platform=x64 -p:Configuration=Debug -m
|
||||
|
||||
# native project
|
||||
msbuild "src\modules\MouseUtils\FindMyMouse\FindMyMouse.vcxproj" -p:Configuration=Debug -p:Platform=x64 -m
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Debugging
|
||||
|
||||
### Existing launch configuration
|
||||
|
||||
The repo provides `.vscode/launch.json` with:
|
||||
|
||||
- `Run PowerToys.exe (no build)`: Launches the already-built executable at `x64/Debug/PowerToys.exe` using `cppvsdbg`.
|
||||
|
||||
Build first, then press F5. To switch configuration (Release / ARM64) either edit the path or create additional launch entries.
|
||||
|
||||
### Attaching to a running instance
|
||||
|
||||
If PowerToys is already running, you can attach to that process:
|
||||
|
||||
2. VS Code command palette: “C/C++: (Windows) Attach to Process”.
|
||||
3. Filter for `PowerToys.exe` / module-specific processes.
|
||||
|
||||
### Debugging managed components
|
||||
|
||||
Many modules have a managed component loaded into the PowerToys process. `cppvsdbg` can debug mixed mode, but if you need richer .NET inspection you can create a second configuration using `type: coreclr` and `processId` attachment after the native launch, or just attach separately:
|
||||
|
||||
Similar for attach to managed code.
|
||||
> Note: In arm64 machine, can only debug arm64 code.
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Run native executable (no build)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\x64\\Debug\\PowerToys.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"console": "integratedTerminal"
|
||||
},
|
||||
{
|
||||
"name": "C/C++ Attach to PowerToys Process (native)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}",
|
||||
"symbolSearchPath": "${workspaceFolder}\\x64\\Debug;${workspaceFolder}\\Debug;${workspaceFolder}\\symbols"
|
||||
},
|
||||
{
|
||||
"name": "Run managed code (managed, no build)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\arm64\\Debug\\WinUI3Apps\\PowerToys.Settings.exe",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {},
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
---
|
||||
|
||||
## 6. Common tasks & tips
|
||||
|
||||
| Task | Command / Action | Notes |
|
||||
|------|------------------|-------|
|
||||
| Clean | `git clean -xdf` (careful) or `msbuild /t:Clean PowerToys.sln` | Deep clean removes packages & build outputs |
|
||||
| Rebuild single project | `msbuild path\to\proj.vcxproj /t:Rebuild -p:Platform=x64 -p:Configuration=Debug` | Faster than whole solution |
|
||||
| Generate installer (rare in inner loop) | See `tools\build\build-installer.ps1` | Usually not needed for local debug |
|
||||
| Resource conversion errors | Re-run restore + build | Triggers custom PowerShell targets |
|
||||
@@ -1,33 +0,0 @@
|
||||
## If for any reason, you'd like to test winget install scenario, you can follow this doc:
|
||||
|
||||
### Powertoys winget manifest definition:
|
||||
[winget repository](https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Microsoft/PowerToys)
|
||||
|
||||
### How to test a winget installation locally:
|
||||
1. Get artifacts from release CI pipeline Pipelines - Runs for PowerToys Signed YAML Release Build, or you can build one yourself by execute the
|
||||
'tools\build\build-installer.ps1' script
|
||||
|
||||
2. Get the artifact hash, this is required to define winget manifest
|
||||
```powershell
|
||||
cd /path/to/your/directory/contains/installer
|
||||
Get-FileHash -Path ".\<Installer-name>.exe" -Algorithm SHA256
|
||||
```
|
||||
3. Host your installer.exe - Attention: staged github release artifacts or artifacts in release pipeline is not OK in this step
|
||||
You can self-host it or you can upload to a publicly available endpoint
|
||||
**How to selfhost it** (A extremely simple way):
|
||||
```powershell
|
||||
python -m http.server 8000
|
||||
```
|
||||
|
||||
4. Download a version folder from wingetpkgs like: [version 0.92.1](https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Microsoft/PowerToys/0.92.1)
|
||||
and you get **a folder contains 3 yml files**
|
||||
>note: Do not put any files other than these three in this folder
|
||||
|
||||
5. Modify the yml files based on your version and the self hosted artifact link, and modify the sha256 hash for the installer you'd like to use
|
||||
|
||||
6. Start winget install:
|
||||
```powershell
|
||||
#execute as admin
|
||||
winget settings --enable LocalManifestFiles
|
||||
winget install --manifest "<folder_path_of_manifest_files>" --architecture x64 --scope user
|
||||
```
|
||||
@@ -1,107 +0,0 @@
|
||||
# Light Switch
|
||||
|
||||
[Public Overview – Microsoft Learn](https://learn.microsoft.com/en-us/windows/powertoys/light-switch)
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [All Issues](https://github.com/microsoft/PowerToys/issues?q=is%3Aissue%20state%3Aopen%20label%3AProduct-LightSwitch)
|
||||
* [Bugs](https://github.com/microsoft/PowerToys/issues?q=is%3Aissue%20state%3Aopen%20label%3AProduct-LightSwitch%20label%3AIssue-Bug)
|
||||
* [Pull Requests](https://github.com/microsoft/PowerToys/pulls?q=is%3Apr+is%3Aopen+label%3AProduct-LightSwitch)
|
||||
|
||||
## Overview
|
||||
|
||||
The **Light Switch** module lets users automatically transition between light and dark mode using a timed schedule or a keyboard shortcut.
|
||||
|
||||
## Features
|
||||
|
||||
* Set custom times to start and stop dark mode.
|
||||
* Use geolocation to determine local sunrise and sunset times.
|
||||
* Apply offsets in sunrise mode (e.g., 15 minutes before sunset).
|
||||
* Quickly toggle between modes with a keyboard shortcut (`Ctrl+Shift+Win+D` by default).
|
||||
* Choose whether theme changes apply to:
|
||||
|
||||
* Apps only
|
||||
* System only
|
||||
* Both apps and system
|
||||
|
||||
## Architecture
|
||||
|
||||
### Main Components
|
||||
|
||||
* **Shortcut/Hotkey**
|
||||
Listens for a hotkey event. Calling `onHotkey()` flips the theme flags.
|
||||
|
||||
> **Note:** Using the shortcut overrides the current schedule until the next transition event.
|
||||
|
||||
* **LightSwitchService**
|
||||
Reads settings and applies theming. Runs a check every minute to ensure the state is correct.
|
||||
|
||||
* **SettingsXAML/LightSwitch**
|
||||
Provides the settings UI for configuring schedules, syncing location, and customizing shortcuts.
|
||||
|
||||
* **Settings.UI/ViewModels/LightSwitchViewModel.cs**
|
||||
Handles updates to the settings file and communicates changes to the front end.
|
||||
|
||||
* **modules/LightSwitch/Tests**
|
||||
Contains UI tests that verify interactions between the settings UI, system state, and `settings.json`.
|
||||
|
||||
### Data Flow
|
||||
|
||||
1. User configures settings in the UI (default: manual mode, light mode from 06:00–18:00).
|
||||
2. Every minute, the service checks the time.
|
||||
|
||||
* If it’s not a threshold, the service sleeps until the next minute.
|
||||
* If it matches a threshold, the service applies the theme based on settings and returns to sleep.
|
||||
3. At **midnight**, when in *Sunrise to Sunset* mode, the service updates daily sunrise and sunset times.
|
||||
4. If the machine was asleep during a scheduled event, the service applies the correct settings at the next check.
|
||||
|
||||
## User Interface
|
||||
|
||||
The module’s settings are exposed in the PowerToys Settings UI. Options include:
|
||||
|
||||
* Shortcut customization
|
||||
* Mode selection (Manual or Sunrise to Sunset)
|
||||
* Manual start/stop times (manual mode only)
|
||||
* Automatic sunrise/sunset calculation (location-based)
|
||||
* Time offsets (sunrise mode)
|
||||
* Target scope (system, apps, or both)
|
||||
|
||||
## Development Environment Setup
|
||||
|
||||
### Prerequisites
|
||||
|
||||
* Visual Studio 2019 or later
|
||||
* Windows 10 SDK
|
||||
* PowerToys repository cloned from GitHub
|
||||
|
||||
### Building and Testing
|
||||
|
||||
1. Clone the repo:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/microsoft/PowerToys.git
|
||||
```
|
||||
2. Initialize submodules:
|
||||
|
||||
```sh
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
3. Build the solution:
|
||||
|
||||
```sh
|
||||
msbuild -restore -p:RestorePackagesConfig=true -p:Platform=ARM64 -m PowerToys.sln
|
||||
```
|
||||
|
||||
> Note: This may take some time.
|
||||
4. Set `runner` as the startup project and press **F5**.
|
||||
5. Enable Light Switch in PowerToys Settings.
|
||||
6. To debug the service:
|
||||
|
||||
* Press `Ctrl+Alt+P` or go to **Debug > Attach to Process**.
|
||||
* Select `LightSwitchService.exe` and click **Attach**.
|
||||
* You can now set breakpoints in the service files.
|
||||
7. To debug the Settings UI:
|
||||
|
||||
* Set the startup project to `PowerToys.Settings` and press **F5**.
|
||||
* Note: Light Switch settings will not persist in this mode (they depend on the service executable).
|
||||
* Alternatively, you can attach `PowerToys.Settings.exe` to the debugger while `runner` is running to test the full flow with breakpoints.
|
||||
@@ -52,7 +52,7 @@ Once you've discussed your proposed feature/fix/etc. with a team member, and an
|
||||
## Rules
|
||||
|
||||
- **Follow the pattern of what you already see in the code.**
|
||||
- [Coding style](style.md).
|
||||
- [Coding style](development/style.md).
|
||||
- Try to package new functionality/components into libraries that have nicely defined interfaces.
|
||||
- Package new functionality into classes or refactor existing functionality into a class as you extend the code.
|
||||
- When adding new classes/methods/changing existing code, add new unit tests or update the existing tests.
|
||||
@@ -76,7 +76,6 @@ Once you've discussed your proposed feature/fix/etc. with a team member, and an
|
||||
1. Windows 10 April 2018 Update (version 1803) or newer
|
||||
1. Visual Studio Community/Professional/Enterprise 2022 17.4 or newer
|
||||
1. A local clone of the PowerToys repository
|
||||
1. Enable long paths in Windows (see [Enable Long Paths](https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation#enabling-long-paths-in-windows-10-version-1607-and-later) for details)
|
||||
|
||||
### Install Visual Studio dependencies
|
||||
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
# Settings resource
|
||||
Manage the settings for PowerToys modules
|
||||
|
||||
## Commands
|
||||
|
||||
### ✨ Modules
|
||||
List all the modules supported by the settings resource.
|
||||
```shell
|
||||
PS C:\> PowerToys.DSC.exe modules --resource 'settings'
|
||||
AdvancedPaste
|
||||
AlwaysOnTop
|
||||
App
|
||||
Awake
|
||||
ColorPicker
|
||||
CropAndLock
|
||||
EnvironmentVariables
|
||||
FancyZones
|
||||
FileLocksmith
|
||||
FindMyMouse
|
||||
Hosts
|
||||
ImageResizer
|
||||
KeyboardManager
|
||||
MeasureTool
|
||||
MouseHighlighter
|
||||
MouseJump
|
||||
MousePointerCrosshairs
|
||||
Peek
|
||||
PowerAccent
|
||||
PowerOCR
|
||||
PowerRename
|
||||
RegistryPreview
|
||||
ShortcutGuide
|
||||
Workspaces
|
||||
ZoomIt
|
||||
```
|
||||
|
||||
### 📄 Get
|
||||
Get the settings for a specific module.
|
||||
```shell
|
||||
PS C:\> PowerToys.DSC.exe get --resource 'settings' --module EnvironmentVariables
|
||||
{"settings":{"properties":{"LaunchAdministrator":{"value":true}},"name":"EnvironmentVariables","version":"1.0"}}
|
||||
```
|
||||
|
||||
### 🖨️ Export
|
||||
Export the settings for a specific module.
|
||||
|
||||
ℹ️ Settings resource Get and Export operation output states are identical.
|
||||
```shell
|
||||
PS C:\> PowerToys.DSC.exe get --resource 'settings' --module EnvironmentVariables
|
||||
{"settings":{"properties":{"LaunchAdministrator":{"value":true}},"name":"EnvironmentVariables","version":"1.0"}}
|
||||
```
|
||||
|
||||
### 📝 Set
|
||||
Set the settings for a specific module. This command will update the settings to the specified values.
|
||||
```shell
|
||||
PS C:\> PowerToys.DSC.exe set --resource 'settings' --module Awake --input '{"settings":{"properties":{"keepDisplayOn":false,"mode":0,"intervalHours":0,"intervalMinutes":1,"expirationDateTime":"2025-08-13T10:10:00.000001-07:00","customTrayTimes":{}},"name":"Awake","version":"0.0.1"}}'
|
||||
{"settings":{"properties":{"keepDisplayOn":false,"mode":0,"intervalHours":0,"intervalMinutes":1,"expirationDateTime":"2025-08-13T10:10:00.000001-07:00","customTrayTimes":{}},"name":"Awake","version":"0.0.1"}}
|
||||
["settings"]
|
||||
```
|
||||
|
||||
### 🧪 Test
|
||||
Test the settings for a specific module. This command will check if the current settings match the desired state.
|
||||
```shell
|
||||
PS C:\> PowerToys.DSC.exe test --resource 'settings' --module Awake --input '{"settings":{"properties":{"keepDisplayOn":false,"mode":0,"intervalHours":0,"intervalMinutes":1,"expirationDateTime":"2025-08-13T10:10:00.000002-07:00","customTrayTimes":{}},"name":"Awake","version":"0.0.1"}}'
|
||||
{"settings":{"properties":{"keepDisplayOn":false,"mode":0,"intervalHours":0,"intervalMinutes":1,"expirationDateTime":"2025-08-13T10:10:00.000001-07:00","customTrayTimes":{}},"name":"Awake","version":"0.0.1"},"_inDesiredState":false}
|
||||
["settings"]
|
||||
```
|
||||
|
||||
### 🛠️ Schema
|
||||
Generates the JSON schema for the settings resource of a specific module.
|
||||
```shell
|
||||
PS C:\> PowerToys.DSC.exe schema --resource 'settings' --module Awake
|
||||
{"$schema":"http://json-schema.org/draft-04/schema#","title":"SettingsResourceObjectOfAwakeSettings","type":"object","additionalProperties":false,"required":["settings"],"properties":{"_inDesiredState":{"type":["boolean","null"],"description":"Indicates whether an instance is in the desired state"},"settings":{"description":"The settings content for the module."}}}
|
||||
PS E:\src\powertoys> PowerToys.DSC.exe schema --resource 'settings' --module Awake | Format-Json
|
||||
```
|
||||
|
||||
### 📦 Manifest
|
||||
Generates a manifest dsc resource JSON file for the specified module.
|
||||
- If the module is not specified, it will generate a manifest for all modules.
|
||||
- If the output directory is not specified, it will print the manifest to the console.
|
||||
```shell
|
||||
PS C:\> PowerToys.DSC.exe manifest --resource settings --module 'Awake' --outputDir "C:\manifests"
|
||||
```
|
||||
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 124 KiB |
BIN
doc/images/overview/PT_hero_image.png
Normal file
|
After Width: | Height: | Size: 394 KiB |
BIN
doc/images/overview/PT_large.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
doc/images/overview/PT_small.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 464 KiB |
|
Before Width: | Height: | Size: 502 KiB |
@@ -1,110 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart as admin and verify FZ can snap an elevated window
|
||||
- [x] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify the notification doesn't appear
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* In the Settings change the duration from 900ms to 200ms
|
||||
- [x] Verify the guide open after quicker when holding the `Win` key
|
||||
* Restore the 900ms duration
|
||||
* Run PowerToys as admin:
|
||||
- [x] Open an elevated app and keep it on foreground
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* Run PowerToys as user
|
||||
- [x] Verify the taskbar shortcut `Win + digit` works
|
||||
- [x] Verify the first four shortcuts work
|
||||
@@ -1,159 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [ ] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [ ] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [ ] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [ ] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [ ] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [ ] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [ ] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [ ] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [ ] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [ ] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [ ] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. $hh-$mm-$ss-$fff $DD_$MMMM_$YYYY)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax.
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application and a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Indexer - open a file on the disk.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space.
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree, copy key path, open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] System - test lock, sign out, restart, empty recycle bin.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are populated to PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are populated to PT Run
|
||||
- [x] Change `Include in global result` and verify changes are populated to PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message
|
||||
- [x] Disable all plugins and verify the warning message
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* In the Settings change the duration from 900ms to 200ms
|
||||
- [x] Verify the guide open after quicker when holding the `Win` key
|
||||
* Restore the 900ms duration
|
||||
* Run PowerToys as admin:
|
||||
* Open an elevated app and keep it on foreground
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* Run PowerToys as user
|
||||
- [x] Verify the first four shortcuts work
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,241 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version). In case version of PowerToys is still 0.0.1 delete old version and install new.
|
||||
- [X] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [X] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [X] restart as admin and verify FZ can snap an elevated window
|
||||
- [X] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [X] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [X] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [X] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [X] turn off all the modules and verify all module are off
|
||||
- [X] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [X] turn on all the module, all module are now working
|
||||
- [X] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify the notification doesn't appear
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [X] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [X] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [X] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [X] Try to copy color formats to the clipboard from the Editor
|
||||
- [X] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [X] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [X] Select a color from the history in the Editor
|
||||
- [X] Remove color from the history in the Editor
|
||||
- [X] Open the Color Picker from the Editor
|
||||
- [X] Open Adjust color from the Editor
|
||||
- [X] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [X] Open editor from the settings
|
||||
- [X] Open editor with a shortcut
|
||||
- [X] Create a new layout (grid and canvas)
|
||||
- [X] Duplicate a template and a custom layout
|
||||
- [X] Delete layout
|
||||
- [X] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [X] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [X] Edit grid layout: split, merge, resize zones.
|
||||
- [X] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [X] Assign a layout to each monitor.
|
||||
- [X] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [X] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [X] Change zone colors and opacity.
|
||||
- [X] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [X] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [X] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [X] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [X] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [X] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [X] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [X] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [X] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [X] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [X] Disable FZ
|
||||
- [X] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [X] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [X] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [X] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [X] Resize one image
|
||||
- [X] Resize multiple images
|
||||
|
||||
- [X] Resize images with `Fill` option
|
||||
- [X] Resize images with `Fit` option
|
||||
- [X] Resize images with `Stretch` option
|
||||
|
||||
- [X] Resize images using dimension: Centimeters
|
||||
- [X] Resize images using dimension: Inches
|
||||
- [X] Resize images using dimension: Percents
|
||||
- [X] Resize images using dimension: Pixels
|
||||
|
||||
- [X] Try to resize wmf image. Resized image has to be of fallback encoder type
|
||||
- [X] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [X] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [X] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [X] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [X] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [ ] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [ ] Search with an expression (e.g. `(.*).png`)
|
||||
- [ ] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [ ] Replace using file creation date and time (e.g. $hh-$mm-$ss-$fff $DD_$MMMM_$YYYY)
|
||||
- [ ] Turn on `Use Boost library` and test with Perl Regular Expression Syntax.
|
||||
* File list filters.
|
||||
- [ ] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [ ] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,131 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart as admin and verify FZ can snap an elevated window
|
||||
- [x] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify the notification doesn't appear
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
@@ -1,151 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,96 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
@@ -1,125 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [X] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [X] restart as admin and verify FZ can snap an elevated window
|
||||
- [X] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [X] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [X] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [X] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [X] turn off all the modules and verify all module are off
|
||||
- [X] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [X] turn on all the module, all module are now working
|
||||
- [X] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify the notification doesn't appear
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [X] Open editor from the settings
|
||||
- [X] Open editor with a shortcut
|
||||
- [X] Create a new layout (grid and canvas)
|
||||
- [X] Duplicate a template and a custom layout
|
||||
- [X] Delete layout
|
||||
- [X] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [X] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [X] Edit grid layout: split, merge, resize zones.
|
||||
- [X] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [X] Assign a layout to each monitor.
|
||||
- [X] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
@@ -1,129 +0,0 @@
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* Run PowerToys as admin:
|
||||
- [x] Open an elevated app and keep it on foreground
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
* Run PowerToys as user
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,230 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
@@ -1,162 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [X] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [X] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [X] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [X] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [X] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [X] Resize one image
|
||||
- [X] Resize multiple images
|
||||
|
||||
- [X] Resize images with `Fill` option
|
||||
- [X] Resize images with `Fit` option
|
||||
- [X] Resize images with `Stretch` option
|
||||
|
||||
- [X] Resize images using dimension: Centimeters
|
||||
- [X] Resize images using dimension: Inches
|
||||
- [X] Resize images using dimension: Percents
|
||||
- [X] Resize images using dimension: Pixels
|
||||
|
||||
- [X] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [X] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [X] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [X] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [X] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [X] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [X] Search with an expression (e.g. `(.*).png`)
|
||||
- [X] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [X] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [X] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [X] Click on the `Renamed` column to filter results.
|
||||
- [X] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [X] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [X] Open the guide and close it pressing `Esc`
|
||||
- [X] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,172 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,84 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
@@ -1,130 +0,0 @@
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Expresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
@@ -1,130 +0,0 @@
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [X] Open the guide and close it pressing `Esc`
|
||||
- [X] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Expresso
|
||||
- [X] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [X] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [X] Search with an expression (e.g. `(.*).png`)
|
||||
- [X] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [X] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [X] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [X] Click on the `Renamed` column to filter results.
|
||||
- [X] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [X] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
## Install tests
|
||||
- [x] install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
- [x] open the Settings and for each module change at least one option
|
||||
- [x] open the FancyZones editor and create two custom layouts:
|
||||
- [x] a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
- [x] one from grid template using 4 zones and splitting one zone
|
||||
- [x] apply the custom canvas layout to the primary desktop
|
||||
- [x] create a virtual desktop and apply the custom grid layout
|
||||
- [x] if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* [x] install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
@@ -1,148 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Espresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,117 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Espresso
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,126 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [X] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [X] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [X] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [X] Try to copy color formats to the clipboard from the Editor
|
||||
- [X] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [X] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [X] Select a color from the history in the Editor
|
||||
- [X] Remove color from the history in the Editor
|
||||
- [X] Open the Color Picker from the Editor
|
||||
- [X] Open Adjust color from the Editor
|
||||
- [X] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [X] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [X] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [X] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [X] Resize one image
|
||||
- [X] Resize multiple images
|
||||
|
||||
- [X] Resize images with `Fill` option
|
||||
- [X] Resize images with `Fit` option
|
||||
- [X] Resize images with `Stretch` option
|
||||
|
||||
- [X] Resize images using dimension: Centimeters
|
||||
- [X] Resize images using dimension: Inches
|
||||
- [X] Resize images using dimension: Percents
|
||||
- [X] Resize images using dimension: Pixels
|
||||
|
||||
- [X] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [X] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [X] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [X] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [X] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [X] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [X] Search with an expression (e.g. `(.*).png`)
|
||||
- [X] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [X] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [X] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [X] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [X] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [X] Open the guide and close it pressing `Esc`
|
||||
- [X] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,96 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [issue reported internally] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide // holding doesn't work
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
@@ -1,148 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Espresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,117 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Espresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||