Compare commits
11 Commits
releaseChe
...
0.95.1_hot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a66c0151f2 | ||
|
|
b2a2d85c74 | ||
|
|
e556d8ad7d | ||
|
|
e6727044ca | ||
|
|
88370626d3 | ||
|
|
fd2a3915ef | ||
|
|
4345b95527 | ||
|
|
c0f7ec0265 | ||
|
|
c2d1214974 | ||
|
|
f732185885 | ||
|
|
ad207da3f3 |
7
.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:
|
||||
|
||||
7
.github/actions/spell-check/allow/code.txt
vendored
@@ -321,10 +321,3 @@ REGSTR
|
||||
|
||||
# Misc Win32 APIs and PInvokes
|
||||
INVOKEIDLIST
|
||||
|
||||
# PowerRename metadata pattern abbreviations (used in tests and regex patterns)
|
||||
DDDD
|
||||
FFF
|
||||
HHH
|
||||
riday
|
||||
YYY
|
||||
|
||||
1
.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$
|
||||
|
||||
80
.github/actions/spell-check/expect.txt
vendored
@@ -22,7 +22,6 @@ ADate
|
||||
ADDSTRING
|
||||
ADDUNDORECORD
|
||||
ADifferent
|
||||
adjacents
|
||||
ADMINS
|
||||
adml
|
||||
admx
|
||||
@@ -35,7 +34,6 @@ AFX
|
||||
AGGREGATABLE
|
||||
AHK
|
||||
AHybrid
|
||||
AIUI
|
||||
akv
|
||||
ALarger
|
||||
ALIGNRIGHT
|
||||
@@ -65,7 +63,6 @@ APIIs
|
||||
Apm
|
||||
APPBARDATA
|
||||
APPEXECLINK
|
||||
appext
|
||||
APPLICATIONFRAMEHOST
|
||||
appmanifest
|
||||
APPMODEL
|
||||
@@ -97,10 +94,9 @@ ASSOCSTR
|
||||
ASYNCWINDOWPLACEMENT
|
||||
ASYNCWINDOWPOS
|
||||
atl
|
||||
ATX
|
||||
ATRIOX
|
||||
aumid
|
||||
authenticode
|
||||
Authenticode
|
||||
AUTOBUDDY
|
||||
AUTOCHECKBOX
|
||||
AUTOHIDE
|
||||
@@ -114,13 +110,9 @@ AValid
|
||||
AWAYMODE
|
||||
azcliversion
|
||||
azman
|
||||
azureaiinference
|
||||
azureinference
|
||||
azureopenai
|
||||
bbwe
|
||||
BCIE
|
||||
bck
|
||||
backticks
|
||||
BESTEFFORT
|
||||
bezelled
|
||||
bhid
|
||||
@@ -141,14 +133,13 @@ bla
|
||||
BLACKFRAME
|
||||
BLENDFUNCTION
|
||||
Blockquotes
|
||||
blt
|
||||
Blt
|
||||
BLURBEHIND
|
||||
BLURREGION
|
||||
bmi
|
||||
BNumber
|
||||
BODGY
|
||||
BOklab
|
||||
Bootstrappers
|
||||
BOOTSTRAPPERINSTALLFOLDER
|
||||
BOTTOMALIGN
|
||||
boxmodel
|
||||
@@ -176,18 +167,14 @@ BYPOSITION
|
||||
CALCRECT
|
||||
CALG
|
||||
callbackptr
|
||||
cabstr
|
||||
calpwstr
|
||||
caub
|
||||
Cangjie
|
||||
CANRENAME
|
||||
Carlseibert
|
||||
Canvascustomlayout
|
||||
CAPTUREBLT
|
||||
CAPTURECHANGED
|
||||
CARETBLINKING
|
||||
CAtl
|
||||
CBN
|
||||
cch
|
||||
CCHDEVICENAME
|
||||
CCHFORMNAME
|
||||
@@ -206,16 +193,13 @@ changecursor
|
||||
CHILDACTIVATE
|
||||
CHILDWINDOW
|
||||
CHOOSEFONT
|
||||
CIBUILD
|
||||
cidl
|
||||
CIELCh
|
||||
cim
|
||||
claude
|
||||
CImage
|
||||
cla
|
||||
CLASSDC
|
||||
CLASSNOTAVAILABLE
|
||||
cleanmgr
|
||||
clickable
|
||||
clickonce
|
||||
CLIENTEDGE
|
||||
@@ -244,7 +228,6 @@ CODENAME
|
||||
codereview
|
||||
Codespaces
|
||||
Coen
|
||||
cognitiveservices
|
||||
COINIT
|
||||
colid
|
||||
colorconv
|
||||
@@ -259,7 +242,6 @@ cominterop
|
||||
commandnotfound
|
||||
commandpalette
|
||||
compmgmt
|
||||
COMPOSITIONDISABLED
|
||||
COMPOSITIONFULL
|
||||
CONFIGW
|
||||
CONFLICTINGMODIFIERKEY
|
||||
@@ -285,14 +267,12 @@ countof
|
||||
covrun
|
||||
cpcontrols
|
||||
cph
|
||||
cppcoreguidelines
|
||||
cplusplus
|
||||
CPower
|
||||
cpptools
|
||||
cppvsdbg
|
||||
cppwinrt
|
||||
createdump
|
||||
creativecommons
|
||||
CREATEPROCESS
|
||||
CREATESCHEDULEDTASK
|
||||
CREATESTRUCT
|
||||
@@ -316,7 +296,6 @@ CURRENTDIR
|
||||
CURSORINFO
|
||||
cursorpos
|
||||
CURSORSHOWING
|
||||
CURSORWRAP
|
||||
customaction
|
||||
CUSTOMACTIONTEST
|
||||
CUSTOMFORMATPLACEHOLDER
|
||||
@@ -356,7 +335,6 @@ Deact
|
||||
debugbreak
|
||||
decryptor
|
||||
Dedup
|
||||
dfx
|
||||
Deduplicator
|
||||
Deeplink
|
||||
DEFAULTBOOTSTRAPPERINSTALLFOLDER
|
||||
@@ -391,7 +369,7 @@ devmgmt
|
||||
DEVMODE
|
||||
DEVMODEW
|
||||
devpal
|
||||
dfx
|
||||
DFX
|
||||
DIALOGEX
|
||||
digicert
|
||||
DINORMAL
|
||||
@@ -405,7 +383,6 @@ DISPLAYFREQUENCY
|
||||
displayname
|
||||
DISPLAYORIENTATION
|
||||
divyan
|
||||
djwsxzxb
|
||||
Dlg
|
||||
DLGFRAME
|
||||
DLGMODALFRAME
|
||||
@@ -416,9 +393,6 @@ DNLEN
|
||||
DONOTROUND
|
||||
DONTVALIDATEPATH
|
||||
dotnet
|
||||
downsampled
|
||||
downsampling
|
||||
Downsampled
|
||||
downscale
|
||||
DPICHANGED
|
||||
DPIs
|
||||
@@ -434,7 +408,7 @@ DROPFILES
|
||||
DSTINVERT
|
||||
DString
|
||||
DSVG
|
||||
dto
|
||||
DTo
|
||||
DUMMYUNIONNAME
|
||||
dutil
|
||||
DVASPECT
|
||||
@@ -468,7 +442,7 @@ EDITKEYBOARD
|
||||
EDITSHORTCUTS
|
||||
EDITTEXT
|
||||
EFile
|
||||
eku
|
||||
ekus
|
||||
emojis
|
||||
ENABLEDELAYEDEXPANSION
|
||||
ENABLEDPOPUP
|
||||
@@ -532,12 +506,9 @@ EXTRINSICPROPERTIES
|
||||
eyetracker
|
||||
FANCYZONESDRAWLAYOUTTEST
|
||||
FANCYZONESEDITOR
|
||||
FNumber
|
||||
FARPROC
|
||||
fdx
|
||||
fesf
|
||||
FFFF
|
||||
Figma
|
||||
FILEEXPLORER
|
||||
fileexploreraddons
|
||||
fileexplorerpreview
|
||||
@@ -564,7 +535,6 @@ FIXEDSYS
|
||||
flac
|
||||
flyouts
|
||||
FMask
|
||||
foundrylocal
|
||||
fmtid
|
||||
FOF
|
||||
FOFX
|
||||
@@ -603,7 +573,6 @@ getfilesiginforedist
|
||||
geolocator
|
||||
GETHOTKEY
|
||||
GETICON
|
||||
GETLBTEXT
|
||||
GETMINMAXINFO
|
||||
GETNONCLIENTMETRICS
|
||||
GETPROPERTYSTOREFLAGS
|
||||
@@ -611,7 +580,6 @@ GETSCREENSAVERRUNNING
|
||||
GETSECKEY
|
||||
GETSTICKYKEYS
|
||||
GETTEXTLENGTH
|
||||
GIFs
|
||||
gitmodules
|
||||
GHND
|
||||
GMEM
|
||||
@@ -622,7 +590,6 @@ GPOCA
|
||||
gpp
|
||||
gpu
|
||||
gradians
|
||||
grctlext
|
||||
Gridcustomlayout
|
||||
GSM
|
||||
gtm
|
||||
@@ -632,8 +599,6 @@ GValue
|
||||
gwl
|
||||
GWLP
|
||||
GWLSTYLE
|
||||
googleai
|
||||
googlegemini
|
||||
hangeul
|
||||
Hanzi
|
||||
Hardlines
|
||||
@@ -670,7 +635,6 @@ Hiber
|
||||
Hiberboot
|
||||
HIBYTE
|
||||
hicon
|
||||
HICONSM
|
||||
HIDEREADONLY
|
||||
HIDEWINDOW
|
||||
Hif
|
||||
@@ -722,7 +686,6 @@ HTCLIENT
|
||||
hthumbnail
|
||||
HTOUCHINPUT
|
||||
HTTRANSPARENT
|
||||
hutchinsoniana
|
||||
HVal
|
||||
HValue
|
||||
Hvci
|
||||
@@ -744,9 +707,7 @@ IDCANCEL
|
||||
IDD
|
||||
idk
|
||||
idl
|
||||
IIM
|
||||
idlist
|
||||
ifd
|
||||
IDOK
|
||||
IDOn
|
||||
IDR
|
||||
@@ -763,7 +724,6 @@ Ijwhost
|
||||
ILD
|
||||
IMAGEHLP
|
||||
IMAGERESIZERCONTEXTMENU
|
||||
IPTC
|
||||
IMAGERESIZEREXT
|
||||
imageresizerinput
|
||||
imageresizersettings
|
||||
@@ -782,7 +742,7 @@ INITDIALOG
|
||||
INITGUID
|
||||
INITTOLOGFONTSTRUCT
|
||||
INLINEPREFIX
|
||||
inlines
|
||||
Inlines
|
||||
INPC
|
||||
inproc
|
||||
INPUTHARDWARE
|
||||
@@ -855,7 +815,6 @@ keyvault
|
||||
KILLFOCUS
|
||||
killrunner
|
||||
kmph
|
||||
ksa
|
||||
kvp
|
||||
Kybd
|
||||
LARGEICON
|
||||
@@ -903,7 +862,6 @@ LOCKTYPE
|
||||
LOGFONT
|
||||
LOGFONTW
|
||||
logon
|
||||
lon
|
||||
LOGMSG
|
||||
LOGPIXELSX
|
||||
LOGPIXELSY
|
||||
@@ -963,7 +921,6 @@ LWA
|
||||
lwin
|
||||
LZero
|
||||
MAGTRANSFORM
|
||||
makeappx
|
||||
MAKEINTRESOURCE
|
||||
MAKEINTRESOURCEA
|
||||
MAKEINTRESOURCEW
|
||||
@@ -995,7 +952,6 @@ MENUITEMINFOW
|
||||
MERGECOPY
|
||||
MERGEPAINT
|
||||
Metadatas
|
||||
metadatamatters
|
||||
metafile
|
||||
mfc
|
||||
Mgmt
|
||||
@@ -1063,7 +1019,6 @@ msiexec
|
||||
MSIFASTINSTALL
|
||||
MSIHANDLE
|
||||
MSIRESTARTMANAGERCONTROL
|
||||
MSIs
|
||||
msixbundle
|
||||
MSIXCA
|
||||
MSLLHOOKSTRUCT
|
||||
@@ -1158,7 +1113,6 @@ nonstd
|
||||
NOOWNERZORDER
|
||||
NOPARENTNOTIFY
|
||||
NOPREFIX
|
||||
NPU
|
||||
NOREDIRECTIONBITMAP
|
||||
NOREDRAW
|
||||
NOREMOVE
|
||||
@@ -1195,7 +1149,6 @@ NTSTATUS
|
||||
NTSYSAPI
|
||||
NULLCURSOR
|
||||
nullonfailure
|
||||
nullref
|
||||
numberbox
|
||||
nwc
|
||||
ocr
|
||||
@@ -1218,9 +1171,6 @@ opencode
|
||||
OPENFILENAME
|
||||
opensource
|
||||
openxmlformats
|
||||
ollama
|
||||
Olllama
|
||||
onnx
|
||||
OPTIMIZEFORINVOKE
|
||||
ORPHANEDDIALOGTITLE
|
||||
ORSCANS
|
||||
@@ -1302,7 +1252,6 @@ pinvoke
|
||||
pipename
|
||||
PKBDLLHOOKSTRUCT
|
||||
pkgfamily
|
||||
PKI
|
||||
plib
|
||||
ploc
|
||||
ploca
|
||||
@@ -1315,7 +1264,6 @@ pnid
|
||||
PNMLINK
|
||||
Poc
|
||||
Podcasts
|
||||
Photoshop
|
||||
POINTERID
|
||||
POINTERUPDATE
|
||||
Pokedex
|
||||
@@ -1410,8 +1358,6 @@ pwsz
|
||||
pwtd
|
||||
QDC
|
||||
qit
|
||||
QNN
|
||||
Qualcomm
|
||||
QITAB
|
||||
QITABENT
|
||||
qoi
|
||||
@@ -1520,7 +1466,6 @@ sacl
|
||||
safeprojectname
|
||||
SAMEKEYPREVIOUSLYMAPPED
|
||||
SAMESHORTCUTPREVIOUSLYMAPPED
|
||||
samsung
|
||||
sancov
|
||||
SAVEFAILED
|
||||
scanled
|
||||
@@ -1748,7 +1693,6 @@ syskeydown
|
||||
SYSKEYUP
|
||||
SYSLIB
|
||||
SYSMENU
|
||||
systemai
|
||||
SYSTEMAPPS
|
||||
SYSTEMMODAL
|
||||
SYSTEMTIME
|
||||
@@ -1874,7 +1818,6 @@ UPDATENOW
|
||||
UPDATEREGISTRY
|
||||
updown
|
||||
UPGRADINGPRODUCTCODE
|
||||
upscaling
|
||||
Uptool
|
||||
urld
|
||||
Usb
|
||||
@@ -1884,7 +1827,6 @@ USEINSTALLERFORTEST
|
||||
USESHOWWINDOW
|
||||
USESTDHANDLES
|
||||
USRDLL
|
||||
utm
|
||||
UType
|
||||
uuidv
|
||||
uwp
|
||||
@@ -1961,7 +1903,6 @@ wcsicmp
|
||||
wcsncpy
|
||||
wcsnicmp
|
||||
WCT
|
||||
WCRAPI
|
||||
WDA
|
||||
wdm
|
||||
wdp
|
||||
@@ -1975,7 +1916,6 @@ wgpocpl
|
||||
WHEREID
|
||||
wic
|
||||
wifi
|
||||
wikimedia
|
||||
wikipedia
|
||||
WIL
|
||||
winapi
|
||||
@@ -2005,8 +1945,6 @@ WINL
|
||||
winlogon
|
||||
winmd
|
||||
WINNT
|
||||
windowsml
|
||||
winml
|
||||
winres
|
||||
winrt
|
||||
winsdk
|
||||
@@ -2041,7 +1979,7 @@ WORKSPACESEDITOR
|
||||
WORKSPACESLAUNCHER
|
||||
WORKSPACESSNAPSHOTTOOL
|
||||
WORKSPACESWINDOWARRANGER
|
||||
worktree
|
||||
Worktree
|
||||
wox
|
||||
wparam
|
||||
wpf
|
||||
@@ -2072,9 +2010,7 @@ XAxis
|
||||
XButton
|
||||
xclip
|
||||
xcopy
|
||||
xap
|
||||
XDeployment
|
||||
XDimension
|
||||
xdf
|
||||
XDocument
|
||||
XElement
|
||||
@@ -2092,7 +2028,6 @@ xsi
|
||||
XSpeed
|
||||
XStr
|
||||
xstyler
|
||||
xmp
|
||||
XTimer
|
||||
XUP
|
||||
XVIRTUALSCREEN
|
||||
@@ -2100,7 +2035,6 @@ xxxxxx
|
||||
YAxis
|
||||
ycombinator
|
||||
YIncrement
|
||||
YDimension
|
||||
yinle
|
||||
yinyue
|
||||
YPels
|
||||
|
||||
2
.github/actions/spell-check/patterns.txt
vendored
@@ -253,7 +253,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
|
||||
|
||||
64
.github/copilot-instructions.md
vendored
@@ -1,59 +1,43 @@
|
||||
---
|
||||
description: PowerToys AI contributor guidance.
|
||||
applyTo: pullRequests
|
||||
---
|
||||
|
||||
# PowerToys - Copilot guide (concise)
|
||||
# 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)
|
||||
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)
|
||||
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.
|
||||
- One terminal per operation (build → test). Don’t switch/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).
|
||||
- Use script(s) to build, synchronously block and wait in foreground for it to finish: `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, have Copilot read the errors log in the build folder (e.g., `build.*.*.errors.log`) and surface problems.
|
||||
- Don’t start tests or launch Runner until the previous step succeeded.
|
||||
- Tests (fast + targeted):
|
||||
- Find the test project by product code prefix (e.g., FancyZones, AdvancedPaste). Look for a sibling folder or 1–2 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/adjust tests when changing behavior; if skipped, state why (e.g., comment-only, string rename).
|
||||
|
||||
# Pull requests (expectations)
|
||||
- Atomic: one logical change; no drive-by refactors.
|
||||
- Describe: problem, approach, risk, test evidence.
|
||||
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
|
||||
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.
|
||||
- Cross-module impact (shared enum/struct) not clear.
|
||||
- Security / elevation / 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`.
|
||||
Logging (use existing stacks)
|
||||
- C++: `src/common/logger/**` (`Logger::info|warn|error|debug`). Keep hot paths quiet (hooks, tight loops).
|
||||
- C#: `ManagedCommon.Logger` (`LogInfo|LogWarning|LogError|LogDebug|LogTrace`). Some UIs use injected `ILogger` via `LoggerInstance.Logger`.
|
||||
|
||||
# Docs to consult
|
||||
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`
|
||||
- `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?
|
||||
Done checklist (self review before finishing)
|
||||
- Build clean? Tests updated/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
|
||||
|
||||
2
.github/workflows/msstore-submissions.yml
vendored
@@ -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'
|
||||
|
||||
|
||||
5
.gitignore
vendored
@@ -349,7 +349,10 @@ src/common/Telemetry/*.etl
|
||||
/src/modules/powerrename/ui/RCb24464
|
||||
|
||||
# Generated installer file for Monaco source files.
|
||||
/installer/PowerToysSetup/MonacoSRC.wxs
|
||||
/installer/PowerToysSetup/DscResources.wxs
|
||||
/installer/PowerToysSetupVNext/MonacoSRC.wxs
|
||||
/installer/PowerToysSetupVNext/DscResources.wxs
|
||||
|
||||
# MSBuildCache
|
||||
/MSBuildCacheLogs/
|
||||
@@ -358,4 +361,4 @@ src/common/Telemetry/*.etl
|
||||
/src/settings-ui/Settings.UI/Assets/Settings/search.index.json
|
||||
|
||||
# PowerToysInstaller Build Temp Files
|
||||
installer/*/*.wxs.bk
|
||||
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,7 +27,6 @@
|
||||
"PowerToys.GPOWrapper.dll",
|
||||
"PowerToys.GPOWrapperProjection.dll",
|
||||
"PowerToys.AllExperiments.dll",
|
||||
"LanguageModelProvider.dll",
|
||||
|
||||
"Common.Search.dll",
|
||||
|
||||
@@ -181,7 +181,6 @@
|
||||
"PowerToys.MousePointerCrosshairs.dll",
|
||||
"PowerToys.MouseJumpUI.dll",
|
||||
"PowerToys.MouseJumpUI.exe",
|
||||
"PowerToys.CursorWrap.dll",
|
||||
|
||||
"PowerToys.MouseWithoutBorders.dll",
|
||||
"PowerToys.MouseWithoutBorders.exe",
|
||||
@@ -236,9 +235,7 @@
|
||||
"*Microsoft.CmdPal.UI_*.msix",
|
||||
|
||||
"PowerToys.DSC.dll",
|
||||
"PowerToys.DSC.exe",
|
||||
|
||||
"PowerToysSparse.msix"
|
||||
"PowerToys.DSC.exe"
|
||||
],
|
||||
"SigningInfo": {
|
||||
"Operations": [
|
||||
@@ -347,8 +344,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",
|
||||
|
||||
54
.pipelines/ESRPSigning_installer.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"Version": "1.0.0",
|
||||
"UseMinimatch": false,
|
||||
"SignBatches": [
|
||||
{
|
||||
"MatchedPath": [
|
||||
"PowerToysSetupCustomActions.dll",
|
||||
"PowerToysSetupCustomActionsVNext.dll",
|
||||
"SilentFilesInUseBAFunction.dll",
|
||||
"PowerToys*Setup-*.exe",
|
||||
"PowerToys*Setup-*.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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -65,28 +65,21 @@ if (-not (Test-Path $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: '$outputDir'"
|
||||
|
||||
Write-Host "DSC manifests will be generated to: '$dscOutputDir'"
|
||||
Write-Host "Cleaning previously generated DSC manifest files from '$outputDir'."
|
||||
Get-ChildItem -Path $outputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction SilentlyContinue | Remove-Item -Force
|
||||
|
||||
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)
|
||||
$arguments = @('manifest', '--resource', 'settings', '--outputDir', $outputDir)
|
||||
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
|
||||
$generatedFiles = Get-ChildItem -Path $outputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction Stop
|
||||
if ($generatedFiles.Count -eq 0) {
|
||||
throw "No DSC manifest files were generated in '$dscOutputDir'."
|
||||
throw "No DSC manifest files were generated in '$outputDir'."
|
||||
}
|
||||
|
||||
Write-Host "Generated $($generatedFiles.Count) DSC manifest file(s):"
|
||||
|
||||
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\"
|
||||
@@ -32,7 +32,7 @@ parameters:
|
||||
- name: enableMsBuildCaching
|
||||
type: boolean
|
||||
displayName: "Enable MSBuild Caching"
|
||||
default: false
|
||||
default: true
|
||||
- name: runTests
|
||||
type: boolean
|
||||
displayName: "Run Tests"
|
||||
|
||||
@@ -20,6 +20,11 @@ parameters:
|
||||
type: string
|
||||
default: '0.0.1'
|
||||
|
||||
- name: installerSuffix
|
||||
type: string
|
||||
displayName: "WiX5 installer suffix (e.g., 'wix5', 'vnext', etc.)"
|
||||
default: "wix5"
|
||||
|
||||
- name: buildConfigurations
|
||||
displayName: "Build Configurations"
|
||||
type: object
|
||||
@@ -52,6 +57,8 @@ 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:
|
||||
@@ -71,10 +78,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 +104,8 @@ 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
|
||||
installerSuffix: ${{ parameters.installerSuffix }}
|
||||
additionalBuildOptions: /p:RestoreConfigFile="$(Build.SourcesDirectory)\.pipelines\release-nuget.config" /p:InstallerSuffix=${{ parameters.installerSuffix }} /p:EnableCmdPalAOT=true
|
||||
beforeBuildSteps:
|
||||
# Sets versions for all PowerToy created DLLs
|
||||
- pwsh: |-
|
||||
@@ -123,6 +131,7 @@ extends:
|
||||
parameters:
|
||||
pool:
|
||||
name: SHINE-INT-L
|
||||
image: SHINE-VS17-Latest
|
||||
os: windows
|
||||
official: true
|
||||
codeSign: true
|
||||
|
||||
@@ -65,6 +65,9 @@ parameters:
|
||||
- name: versionNumber
|
||||
type: string
|
||||
default: '0.0.1'
|
||||
- name: installerSuffix
|
||||
type: string
|
||||
default: "wix5"
|
||||
- name: useLatestWinAppSDK
|
||||
type: boolean
|
||||
default: false
|
||||
@@ -111,7 +114,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 +142,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
|
||||
@@ -242,7 +240,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,26 +271,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)
|
||||
@@ -400,7 +380,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 +419,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)'
|
||||
@@ -528,7 +508,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:
|
||||
@@ -536,6 +529,16 @@ jobs:
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
versionNumber: ${{ parameters.versionNumber }}
|
||||
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
|
||||
installerSuffix: ${{ parameters.installerSuffix }}
|
||||
|
||||
- template: steps-build-installer-vnext.yml
|
||||
parameters:
|
||||
codeSign: ${{ parameters.codeSign }}
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
versionNumber: ${{ parameters.versionNumber }}
|
||||
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
|
||||
installerSuffix: ${{ parameters.installerSuffix }}
|
||||
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:
|
||||
@@ -574,16 +577,17 @@ jobs:
|
||||
|
||||
- pwsh: |-
|
||||
$p = "$(JobOutputDirectory)\"
|
||||
$installerSuffix = "${{ parameters.installerSuffix }}"
|
||||
|
||||
# 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" }
|
||||
# Calculate hashes for regular installers (without custom suffix)
|
||||
$userSetupFiles = Get-ChildItem -Path $p -Filter "PowerToysUserSetup*.exe" | Where-Object { $_.Name -notmatch "-$installerSuffix-" }
|
||||
$machineSetupFiles = Get-ChildItem -Path $p -Filter "PowerToysSetup*.exe" | Where-Object { $_.Name -notmatch "-$installerSuffix-" -and $_.Name -notmatch "PowerToysUserSetup" }
|
||||
|
||||
if ($userSetupFiles.Count -gt 0) {
|
||||
$userHash = ($userSetupFiles[0] | Get-FileHash).Hash;
|
||||
$userPlat = "hash_user_$(BuildPlatform).txt";
|
||||
$combinedUserPath = $p + $userPlat;
|
||||
echo "User: $userHash"
|
||||
echo "Regular User: $userHash"
|
||||
$userHash | out-file -filepath $combinedUserPath
|
||||
}
|
||||
|
||||
@@ -591,9 +595,29 @@ jobs:
|
||||
$machineHash = ($machineSetupFiles[0] | Get-FileHash).Hash;
|
||||
$machinePlat = "hash_machine_$(BuildPlatform).txt";
|
||||
$combinedMachinePath = $p + $machinePlat;
|
||||
echo "Machine: $machineHash"
|
||||
echo "Regular Machine: $machineHash"
|
||||
$machineHash | out-file -filepath $combinedMachinePath
|
||||
}
|
||||
|
||||
# Calculate hashes for VNext installers (with custom suffix)
|
||||
$userVNextFiles = Get-ChildItem -Path $p -Filter "PowerToysUserSetup*-$installerSuffix-*.exe"
|
||||
$machineVNextFiles = Get-ChildItem -Path $p -Filter "PowerToysSetup*-$installerSuffix-*.exe" | Where-Object { $_.Name -notmatch "PowerToysUserSetup" }
|
||||
|
||||
if ($userVNextFiles.Count -gt 0) {
|
||||
$userVNextHash = ($userVNextFiles[0] | Get-FileHash).Hash;
|
||||
$userVNextPlat = "hash_user_vnext_$(BuildPlatform).txt";
|
||||
$combinedUserVNextPath = $p + $userVNextPlat;
|
||||
echo "VNext User: $userVNextHash"
|
||||
$userVNextHash | out-file -filepath $combinedUserVNextPath
|
||||
}
|
||||
|
||||
if ($machineVNextFiles.Count -gt 0) {
|
||||
$machineVNextHash = ($machineVNextFiles[0] | Get-FileHash).Hash;
|
||||
$machineVNextPlat = "hash_machine_vnext_$(BuildPlatform).txt";
|
||||
$combinedMachineVNextPath = $p + $machineVNextPlat;
|
||||
echo "VNext Machine: $machineVNextHash"
|
||||
$machineVNextHash | out-file -filepath $combinedMachineVNextPath
|
||||
}
|
||||
displayName: Calculate file hashes for all installers
|
||||
|
||||
# Publishing the GPO files
|
||||
|
||||
@@ -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
|
||||
@@ -11,6 +14,9 @@ parameters:
|
||||
- name: additionalBuildOptions
|
||||
type: string
|
||||
default: ''
|
||||
- name: installerSuffix
|
||||
type: string
|
||||
default: "wix5"
|
||||
|
||||
steps:
|
||||
# Install WiX 5.0.2 tools needed for VNext installer (matching project SDK)
|
||||
@@ -22,26 +28,44 @@ 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: |-
|
||||
# Determine whether this is a per-user build
|
||||
$IsPerUser = $${{ parameters.buildUserInstaller }}
|
||||
|
||||
# Build slug used to locate the artifacts
|
||||
$InstallerBuildSlug = if ($IsPerUser) { 'UserSetup' } else { 'MachineSetup' }
|
||||
|
||||
# VNext bundle folder; base name intentionally omits the VNext suffix
|
||||
$InstallerFolder = 'PowerToysSetupVNext'
|
||||
if ($IsPerUser) {
|
||||
$InstallerBasename = "PowerToysUserSetup-${{ parameters.versionNumber }}-${{ parameters.installerSuffix }}-$(BuildPlatform)"
|
||||
}
|
||||
else {
|
||||
$InstallerBasename = "PowerToysSetup-${{ parameters.versionNumber }}-${{ parameters.installerSuffix }}-$(BuildPlatform)"
|
||||
}
|
||||
|
||||
# Export variables for downstream steps
|
||||
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"
|
||||
Write-Host "##vso[task.setvariable variable=InstallerFolder]$InstallerFolder"
|
||||
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
|
||||
/p:InstallerSuffix=${{ parameters.installerSuffix }}
|
||||
-restore -graph
|
||||
/bl:$(LogOutputDirectory)\installer-actions.binlog
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-actions.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
@@ -50,53 +74,29 @@ 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
|
||||
/p:InstallerSuffix=${{ parameters.installerSuffix }}
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-msi.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
@@ -105,66 +105,79 @@ 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\$(InstallerFolder)\$(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/$(InstallerFolder)/$(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.
|
||||
#### BUILDING AND SIGNING SilentFilesInUseBAFunction DLL
|
||||
- task: VSBuild@1
|
||||
displayName: 💻 Build VNext Bootstrapper
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build SilentFilesInUseBAFunction
|
||||
inputs:
|
||||
solution: "**/installer/PowerToysSetup.sln"
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
/t:SilentFilesInUseBAFunction
|
||||
/p:RunBuildEvents=true;PerUser=${{parameters.buildUserInstaller}};RestorePackagesConfig=true;CIBuild=true
|
||||
/p:InstallerSuffix=${{ parameters.installerSuffix }}
|
||||
-restore -graph
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-SilentFilesInUseBAFunction.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
clean: false # don't undo our hard work above by deleting the msi
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
- ${{ if eq(parameters.codeSign, true) }}:
|
||||
- template: steps-esrp-signing.yml
|
||||
parameters:
|
||||
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign SilentFilesInUseBAFunction
|
||||
signingIdentity: ${{ parameters.signingIdentity }}
|
||||
inputs:
|
||||
FolderPath: 'installer/$(BuildPlatform)/$(BuildConfiguration)'
|
||||
signType: batchSigning
|
||||
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
|
||||
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
|
||||
|
||||
#### END BUILDING AND SIGNING SilentFilesInUseBAFunction DLL
|
||||
|
||||
#### BOOTSTRAP BUILDING AND SIGNING
|
||||
- task: VSBuild@1
|
||||
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
|
||||
${{ 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
|
||||
/p:PerUser=${{parameters.buildUserInstaller}};CIBuild=true
|
||||
/p:InstallerSuffix=${{ parameters.installerSuffix }}
|
||||
/bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-bootstrapper.binlog
|
||||
-restore -graph
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
@@ -175,41 +188,54 @@ steps:
|
||||
# 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\$(InstallerFolder)\$(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\$(InstallerFolder)\$(InstallerRelativePath)\$(InstallerBasename).exe -engine installer\engine.exe -o installer\$(InstallerFolder)\$(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/$(InstallerFolder)/$(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"
|
||||
}
|
||||
]
|
||||
13
.vscode/launch.json
vendored
@@ -38,17 +38,6 @@
|
||||
"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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<Project>
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
||||
@@ -7,9 +7,9 @@
|
||||
<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" />
|
||||
@@ -35,33 +35,23 @@
|
||||
<!-- 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.8" />
|
||||
<!-- 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.Bcl.AsyncInterfaces" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Windows.CppWinRT" Version="2.0.240111.5" />
|
||||
<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.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="9.0.8" />
|
||||
<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" />
|
||||
<!-- 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.8" />
|
||||
<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.8" />
|
||||
<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. -->
|
||||
<!--
|
||||
@@ -71,8 +61,6 @@
|
||||
<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.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" />
|
||||
@@ -84,7 +72,7 @@
|
||||
<PackageVersion Include="NLog" Version="5.2.8" />
|
||||
<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,29 +82,28 @@
|
||||
<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.8" />
|
||||
<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.8" />
|
||||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Data.OleDb" Version="9.0.8" />
|
||||
<!-- 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.8" />
|
||||
<!-- 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.8" />
|
||||
<PackageVersion Include="System.Drawing.Common" Version="9.0.8" />
|
||||
<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.8" />
|
||||
<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.8" />
|
||||
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Text.Encoding.CodePages" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
|
||||
<PackageVersion Include="UnicodeInformation" Version="2.6.0" />
|
||||
<PackageVersion Include="UnitsNet" Version="5.56.0" />
|
||||
@@ -138,4 +125,4 @@
|
||||
<PackageVersion Include="Microsoft.VariantAssignment.Client" Version="2.4.17140001" />
|
||||
<PackageVersion Include="Microsoft.VariantAssignment.Contract" Version="3.0.16990001" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -1495,10 +1495,10 @@ SOFTWARE.
|
||||
- AdaptiveCards.Rendering.WinUI3
|
||||
- AdaptiveCards.Templating
|
||||
- Appium.WebDriver
|
||||
- Azure.AI.OpenAI
|
||||
- CoenM.ImageSharp.ImageHash
|
||||
- CommunityToolkit.Common
|
||||
- CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock
|
||||
- CommunityToolkit.Labs.WinUI.Controls.OpacityMaskView
|
||||
- CommunityToolkit.Mvvm
|
||||
- CommunityToolkit.WinUI.Animations
|
||||
- CommunityToolkit.WinUI.Collections
|
||||
|
||||
@@ -26,7 +26,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 +50,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}"
|
||||
@@ -822,16 +819,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.WebSea
|
||||
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
|
||||
@@ -874,14 +867,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
|
||||
@@ -2992,14 +2977,6 @@ Global
|
||||
{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
|
||||
@@ -3020,14 +2997,6 @@ Global
|
||||
{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
|
||||
@@ -3361,11 +3330,9 @@ Global
|
||||
{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
|
||||
|
||||
347
README.md
@@ -7,9 +7,7 @@
|
||||
<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>
|
||||
@@ -20,10 +18,8 @@
|
||||
<a href="#-whats-new">Release notes</a>
|
||||
</h3>
|
||||
<br/><br/>
|
||||
|
||||
## 🔨 Utilities
|
||||
|
||||
PowerToys includes over 25 utilities to help you customize and optimize your Windows experience:
|
||||
Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks.
|
||||
<br/><br/>
|
||||
|
||||
| | | |
|
||||
|---|---|---|
|
||||
@@ -31,44 +27,50 @@ PowerToys includes over 25 utilities to help you customize and optimize your Win
|
||||
| [<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) | | |
|
||||
| [<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/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) |
|
||||
|
||||
|
||||
## 📋 Installation
|
||||
|
||||
For detailed installation instructions and system requirements, visit the [installation docs](https://learn.microsoft.com/windows/powertoys/install).
|
||||
For detailed installation instructions, visit the [installation docs](https://learn.microsoft.com/windows/powertoys/install).
|
||||
|
||||
Before you begin, make sure your device meets the system requirements:
|
||||
|
||||
> [!NOTE]
|
||||
> - Windows 11 or Windows 10 version 2004 (20H1 / build 19041) or newer
|
||||
> - 64-bit processor: x64 or ARM64
|
||||
> - Latest stable version of [Microsoft Edge WebView2 Runtime](https://go.microsoft.com/fwlink/p/?LinkId=2124703) is installed via the bootstrapper during setup
|
||||
|
||||
Choose one of the installation methods below:
|
||||
|
||||
<details>
|
||||
<summary>Download .exe from GitHub</summary>
|
||||
|
||||
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.
|
||||
|
||||
<!-- 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.95%22
|
||||
[github-current-release-work]: https://github.com/microsoft/PowerToys/issues?q=is%3Aissue+milestone%3A%22PowerToys+0.94%22
|
||||
[ptUserX64]: https://github.com/microsoft/PowerToys/releases/download/v0.94.0/PowerToysUserSetup-0.94.0-x64.exe
|
||||
[ptUserArm64]: https://github.com/microsoft/PowerToys/releases/download/v0.94.0/PowerToysUserSetup-0.94.0-arm64.exe
|
||||
[ptMachineX64]: https://github.com/microsoft/PowerToys/releases/download/v0.94.0/PowerToysSetup-0.94.0-x64.exe
|
||||
[ptMachineArm64]: https://github.com/microsoft/PowerToys/releases/download/v0.94.0/PowerToysSetup-0.94.0-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] |
|
||||
| Per user - x64 | [PowerToysUserSetup-0.94.0-x64.exe][ptUserX64] |
|
||||
| Per user - ARM64 | [PowerToysUserSetup-0.94.0-arm64.exe][ptUserArm64] |
|
||||
| Machine wide - x64 | [PowerToysSetup-0.94.0-x64.exe][ptMachineX64] |
|
||||
| Machine wide - ARM64 | [PowerToysSetup-0.94.0-arm64.exe][ptMachineArm64] |
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Microsoft Store</strong></summary>
|
||||
<br/>
|
||||
<summary>Microsoft Store</summary>
|
||||
You can easily install PowerToys from the Microsoft Store:
|
||||
<p>
|
||||
<a style="text-decoration:none" href="https://aka.ms/getPowertoys">
|
||||
@@ -79,9 +81,10 @@ You can easily install PowerToys from the Microsoft Store:
|
||||
</p>
|
||||
</details>
|
||||
|
||||
|
||||
<details>
|
||||
<summary><strong>WinGet</strong></summary>
|
||||
<br/>
|
||||
<summary>WinGet</summary>
|
||||
|
||||
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]*
|
||||
@@ -96,185 +99,181 @@ winget install --scope machine Microsoft.PowerToys -s winget
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Other methods</strong></summary>
|
||||
<br/>
|
||||
<summary>Other methods</summary>
|
||||
|
||||
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)**
|
||||
**Version 0.94 (September 2025)**
|
||||
|
||||
For an in-depth look at the latest changes, visit the [Windows Command Line blog](https://aka.ms/powertoys-releaseblog).
|
||||
|
||||
**✨ 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)!
|
||||
|
||||
- PowerToys Settings added a Settings search with fuzzy matching, suggestions, a results page, and UX polish to make finding options faster.
|
||||
- A comprehensive hotkey conflict detection system was introduced in Settings to surface and help resolve conflicting shortcuts. Note that the default hotkey settings (Win+Ctrl+Shift+T, Win+Ctrl+V, Win+Ctrl+T, Win+Shift+T) may overlap with existing Windows system shortcuts. This is expected. You can resolve the conflict by assigning different hotkeys.
|
||||
- Mouse Utilities added a “Gliding cursor” accessibility feature to Mouse Pointer Crosshairs for single‑button cursor movement and clicking. Thanks [@mikehall-ms](https://github.com/mikehall-ms)!
|
||||
- The installer was upgraded to WiX 5 after WiX 3 reached end-of-life; this move improved installer security, reliability, and community support.
|
||||
- Tons of bug fixes and improvements for Command Palette, including visual updates and new support for filters on ListPages (handy for extension developers).
|
||||
- Hosts Editor now has a “No leading spaces” option so active host entries can start at column 0 even if others are disabled. Thanks [@mohammed-saalim](https://github.com/mohammed-saalim)!
|
||||
- Context menu registration was moved from the installer to runtime to avoid loading disabled modules (runtime registrations).
|
||||
- Quick Accent now supports Maltese, and frequently used accents appear first (and are remembered across sessions). Thanks [@rovercoder](https://github.com/rovercoder)! [@davidegiacometti](https://github.com/davidegiacometti)!
|
||||
|
||||
### Always On Top
|
||||
|
||||
- Fixed the border hover cursor so it shows the arrow instead of the wait cursor. Thanks [@davidegiacometti](https://github.com/davidegiacometti)!
|
||||
|
||||
### 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.
|
||||
|
||||
- Applied single-click activation only to pointer input; keyboard always activates immediately. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Let context menus open at the cursor by removing window-bound constraints. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Made error messages clearer with timestamps, HRESULTs, and full details for easier diagnosis. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Prevented crashes and improved robustness when updating providers without commands. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Ensured the Settings window reliably comes to the front when opened. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Replaced the Clipboard History icon with a colorful Fluent icon. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Hardened ContentIcon to avoid duplicate parenting and improve diagnostics. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Standardized null checks using C# pattern matching for safer behavior.
|
||||
- Improved accessibility by focusing the activation shortcut dialog and making text reachable. Thanks [@chatasweetie](https://github.com/chatasweetie)!
|
||||
- Moved the extension SDK to a stable Windows SDK and cleaned up message namespaces.
|
||||
- Added path shortcuts: ~ to home, and / or \\ to system root, plus UNC support. Thanks [@davidegiacometti](https://github.com/davidegiacometti)!
|
||||
- Fixed a race in cancellation handling to avoid InvalidOperationException. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Aligned separator styling with WinUI 3 for consistent visuals. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Added ARM64 PDBs to the Extensions SDK NuGet for better debugging.
|
||||
- Added single-select filters to DynamicListPage and updated Windows Services sample.
|
||||
- Updated main page placeholder text to better describe what can be searched. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Removed explicit WinAppSDK/WebView2 dependencies from toolkit and API. Thanks [@rluengen](https://github.com/rluengen)!
|
||||
- Added a local keyboard hook to handle the GoBack key reliably. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Propagated alias changes safely and resolved conflicts across view models.
|
||||
- Allowed providers to override Dispose with a virtual method.
|
||||
- Fixed memory leaks by cleaning up removed or cancelled list items.
|
||||
- Sorted DateTime extension results by relevance for better usability.
|
||||
- Reduced search text "jiggling" by avoiding redundant change notifications.
|
||||
- Centralized automation notifications in a UIHelper for better accessibility. Thanks [@chatasweetie](https://github.com/chatasweetie)!
|
||||
- Preserved Adaptive Card action types during trimming via DynamicDependency.
|
||||
- Added an acrylic backdrop and refined styling to the context menu. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Prevented disposed pages and Settings windows from handling stale messages. Thanks [@jiripolasek](https://github.com/jiripolasek)!
|
||||
- Made the extension API easier to evolve without breaking clients.
|
||||
- Added "evil" sample pages to help reproduce tricky bugs.
|
||||
- Fixed WinGet trim-safety issues by replacing LINQ with manual iteration.
|
||||
- Cancelled stale list fetches to avoid older results overwriting newer ones in CmdPal.
|
||||
|
||||
### 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.
|
||||
|
||||
### File Locksmith
|
||||
- Adopted WinUI TitleBar to simplify window chrome while preserving appearance.
|
||||
|
||||
### Find My Mouse
|
||||
- Added transparent spotlight support with separate backdrop opacity; migrated to Windows App SDK composition APIs.
|
||||
- Improved empty states and ranking logic for multiple extensions. Thanks [@htcfreek](https://github.com/htcfreek)!
|
||||
- Added app icons to the All Apps "Run" context command when available.
|
||||
- Restored missing builtin icons by standardizing extension dependencies.
|
||||
- Unblocked local deployment by adding WinAppSDK to two sample extensions.
|
||||
|
||||
### 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.
|
||||
- Added a "No leading spaces" option so active hosts entries can start at column 0 even when others are disabled. Thanks [@mohammed-saalim](https://github.com/mohammed-saalim)!
|
||||
|
||||
### 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)!
|
||||
### Image Resizer
|
||||
|
||||
- Fixed Image Resizer localization by installing satellite resources under the WinUI 3 apps culture path.
|
||||
|
||||
### Mouse Utilities
|
||||
|
||||
- Introduced "Gliding cursor" to control the pointer and click with a single hotkey for better accessibility. Thanks [@mikehall-ms](https://github.com/mikehall-ms)!
|
||||
|
||||
### 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!
|
||||
- Blocked Easy Mouse from switching machines during fullscreen apps, with an allow-list for exceptions. Thanks [@dot-tb](https://github.com/dot-tb)!
|
||||
|
||||
### Peek
|
||||
- Added the option to activate Peek with just the Spacebar.
|
||||
|
||||
- Added Visual Studio shared project file types to XML preview and fixed bgcode handler registration. Thanks [@rezanid](https://github.com/rezanid)!
|
||||
- Fixes bgcode preview handler registration and events for reliable previews. Thanks [@pedrolamas](https://github.com/pedrolamas)!
|
||||
|
||||
### PowerRename
|
||||
- Fixed enumeration counter skipping when regex replacement equals original filename (counters now advance reliably). Thanks [@daverayment](https://github.com/daverayment)!
|
||||
|
||||
- Changed the Explorer accelerator key to PowErRename to avoid clashing with the New menu. Thanks [@aaron-ni](https://github.com/aaron-ni)!
|
||||
|
||||
### Quick Accent
|
||||
- Expanded Welsh layout with acute, grave, and dieresis variants for vowels (consistent ordering). Thanks [@PesBandi](https://github.com/PesBandi)!
|
||||
|
||||
### 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.
|
||||
- Remembered character usage across sessions so frequently used accents appear first. Thanks [@davidegiacometti](https://github.com/davidegiacometti)!
|
||||
- Added Maltese language support with specific characters and the Euro symbol. Thanks [@rovercoder](https://github.com/rovercoder)!
|
||||
- Reduced GPU usage issues by making the window Topmost only when the picker is visible. Thanks [@daverayment](https://github.com/daverayment)!
|
||||
|
||||
### 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 telemetry to track usage of the new shortcut conflict detection workflow.
|
||||
- Moved the shutdown action from the title bar to a footer menu item with confirmation. Thanks [@davidegiacometti](https://github.com/davidegiacometti)!
|
||||
- Implemented comprehensive hotkey conflict detection with a dedicated resolution dialog.
|
||||
- Added branded visuals for Office and Copilot keys in the KeyVisual control.
|
||||
- Introduced Settings search with fuzzy matching and navigation to specific controls.
|
||||
- Corrected Spanish localization so product names like Awake remain in English across Settings and OOBE.
|
||||
- Simplified the Advanced Paste description in Settings for quicker reading and consistent capitalization. Thanks [@OldUser101](https://github.com/OldUser101)!
|
||||
- Localized conflict messages in the conflict window and dialog.
|
||||
|
||||
### Documentation
|
||||
- New Microsoft Learn documentation for the Light Switch module.
|
||||
- New dev docs for the Light Switch module.
|
||||
### Installer
|
||||
|
||||
### 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.
|
||||
- Upgraded the installer to WiX 5 with silent "Files in Use" handling for smoother winget installs.
|
||||
- Switched Win10 context menu modules to runtime registration and added cleanup on uninstall to avoid stale entries.
|
||||
|
||||
## 🛣️ 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
|
||||
|
||||
- Adds docs for building the installer locally and testing winget installs.
|
||||
- Fixed a broken style guide link in developer documentation. Thanks [@denizmaral](https://github.com/denizmaral)!
|
||||
|
||||
### Development
|
||||
|
||||
- Excluded test and coverage DLLs from BinSkim scans to cut false positives and speed up security analysis.
|
||||
- Simplified NOTICE maintenance by removing version numbers and filtering out Microsoft/System packages.
|
||||
- Improved NuGet dependency validation to prevent package downgrades and catch issues during restore.
|
||||
- Updated UTF.Unknown to a modern version to improve compatibility without breaking changes. Thanks [@304NotModified](https://github.com/304NotModified)!
|
||||
- Refreshed package catalog in CI before installing dependencies to prevent Linux workflow failures.
|
||||
- Refactored CmdPal tests with dependency injection and added coverage for queries and settings.
|
||||
- Added unit tests to verify Close on Enter swaps Copy/Save as expected. Thanks [@mohammed-saalim](https://github.com/mohammed-saalim)!
|
||||
- Added accessibility IDs to CmdPal UI for stable UI tests.
|
||||
- Rewrote system command tests with a new test base and cleaner patterns.
|
||||
- Added unit tests for WebSearch and Shell extensions with mockable settings.
|
||||
- Added unit tests and abstractions for Apps and Bookmarks extensions.
|
||||
- Cleans up AI-generated tests; adds meaningful query tests across extensions.
|
||||
- Removed the obsolete debug dialog from Settings for a smoother developer loop.
|
||||
|
||||
## 🛣️ Roadmap
|
||||
|
||||
For [v0.95][github-next-release-work], we'll work on the items below:
|
||||
|
||||
- Continued Command Palette polish
|
||||
- Working on Shortcut Guide v2 (Thanks [@noraa-junker](https://github.com/noraa-junker)!)
|
||||
- Upgrading Keyboard Manager's editor UI
|
||||
- UI tweaking utility with day/night theme switcher
|
||||
- DSC v3 support for top utilities
|
||||
- New UI automation tests
|
||||
- Stability, bug fixes
|
||||
|
||||
## ❤️ PowerToys Community
|
||||
|
||||
## ❤️ 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!
|
||||
|
||||
## 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.
|
||||
## Contributing
|
||||
|
||||
## Code of Conduct
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct][oss-conduct-code].
|
||||
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.
|
||||
|
||||
## 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).
|
||||
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.
|
||||
|
||||
[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
|
||||
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.
|
||||
|
||||
## 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
@@ -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
|
||||
@@ -96,14 +96,9 @@ The following manual steps will not install the MSIX apps (such as Command Palet
|
||||
|
||||
#### 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 +133,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\
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 13 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 |
@@ -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.
|
||||
@@ -1,127 +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
|
||||
- [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
|
||||
- [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,116 +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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,164 +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.
|
||||
- [ ] 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,149 +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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,130 +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
|
||||
- [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
|
||||
- [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
|
||||
|
||||
## VCM
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,135 +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
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,189 +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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
@@ -1,173 +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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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 (entered as `msedge`), 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.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,150 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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
|
||||
- [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
|
||||
- [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
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,324 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] 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
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [ ] 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.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [ ] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [ ] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [ ] 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
|
||||
- [ ] Resize one image
|
||||
- [ ] Resize multiple images
|
||||
- [ ] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [ ] Resize images with `Fill` option
|
||||
- [ ] Resize images with `Fit` option
|
||||
- [ ] Resize images with `Stretch` option
|
||||
|
||||
- [ ] Resize images using dimension: Centimeters
|
||||
- [ ] Resize images using dimension: Inches
|
||||
- [ ] Resize images using dimension: Percents
|
||||
- [ ] Resize images using dimension: Pixels
|
||||
|
||||
- [ ] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [ ] 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
|
||||
- [ ] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [ ] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [ ] 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 (entered as `msedge`), 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
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] 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 (e.g. `(?<=t)est`)
|
||||
* 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [ ] Program - launch a Win32 application
|
||||
- [ ] Program - launch a Win32 application as admin
|
||||
- [ ] Program - launch a packaged application
|
||||
- [ ] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [ ] Windows Search - open a file on the disk.
|
||||
- [ ] Windows Search - find a file and copy file path.
|
||||
- [ ] Windows Search - find a file and open containing folder.
|
||||
- [ ] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [ ] Folder - Search and open a sub-folder on entering the path.
|
||||
- [ ] Uri - launch a web page on entering the uri.
|
||||
- [ ] Window walker - Switch focus to a running window.
|
||||
- [ ] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [ ] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [ ] Registry - navigate through the registry tree and copy key path.
|
||||
- [ ] System - test `lock`.
|
||||
- [ ] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [ ] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [ ] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [ ] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [ ] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [ ] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [ ] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [ ] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] 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:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,335 +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
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode 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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
- [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 (entered as `msedge`), 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
|
||||
- [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
|
||||
- [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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,327 +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
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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
|
||||
- [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
|
||||
- [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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,337 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode 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
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [ ] 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.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
|
||||
## Image Resizer
|
||||
- [ ] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [ ] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [ ] 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
|
||||
- [ ] Resize one image
|
||||
- [ ] Resize multiple images
|
||||
- [ ] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [ ] Resize images with `Fill` option
|
||||
- [ ] Resize images with `Fit` option
|
||||
- [ ] Resize images with `Stretch` option
|
||||
|
||||
- [ ] Resize images using dimension: Centimeters
|
||||
- [ ] Resize images using dimension: Inches
|
||||
- [ ] Resize images using dimension: Percents
|
||||
- [ ] Resize images using dimension: Pixels
|
||||
|
||||
- [ ] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [ ] 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
|
||||
- [ ] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [ ] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [ ] 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 (entered as `msedge`), 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
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] 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 (e.g. `(?<=t)est`)
|
||||
* 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [ ] Program - launch a Win32 application
|
||||
- [ ] Program - launch a Win32 application as admin
|
||||
- [ ] Program - launch a packaged application
|
||||
- [ ] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [ ] Windows Search - open a file on the disk.
|
||||
- [ ] Windows Search - find a file and copy file path.
|
||||
- [ ] Windows Search - find a file and open containing folder.
|
||||
- [ ] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [ ] Folder - Search and open a sub-folder on entering the path.
|
||||
- [ ] Uri - launch a web page on entering the uri.
|
||||
- [ ] Window walker - Switch focus to a running window.
|
||||
- [ ] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [ ] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [ ] Registry - navigate through the registry tree and copy key path.
|
||||
- [ ] System - test `lock`.
|
||||
- [ ] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [ ] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [ ] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [ ] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [ ] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [ ] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [ ] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [ ] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] 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:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,147 +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
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [!] Try to pin the app in the Game Mode. // always works
|
||||
@@ -1,220 +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\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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,205 +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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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 (entered as `msedge`), 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.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -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
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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
|
||||
- [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
|
||||
- [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
|
||||
|
||||
## VCM
|
||||
- [X] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [X] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [X] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [X] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [X] Verify that changing "toolbar position" setting works
|
||||
- [X] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [X] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,278 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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
|
||||
|
||||
## 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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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 (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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,239 +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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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 (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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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 (entered as `msedge`), 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.
|
||||
|
||||
## 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
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,226 +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
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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
|
||||
- [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
|
||||
- [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
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* 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
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,124 +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
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,140 +0,0 @@
|
||||
## 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
|
||||
|
||||
## 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.
|
||||
|
||||
## 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:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] 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
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,201 +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\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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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 (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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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.
|
||||
|
||||
## 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
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,152 +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.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## 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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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 (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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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 (entered as `msedge`), 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.
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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
|
||||
- [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
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,124 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,140 +0,0 @@
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## PowerRename
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] 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 (e.g. `(?<=t)est`)
|
||||
* 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.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] 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:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [ ] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
- [ ] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [ ] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [ ] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [ ] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [ ] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Crosshairs color
|
||||
- [ ] Crosshairs opacity
|
||||
- [ ] Crosshairs center radius
|
||||
- [ ] Crosshairs thickness
|
||||
- [ ] Crosshairs border color
|
||||
- [ ] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,201 +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\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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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 (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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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.
|
||||
|
||||
## 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
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,152 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] 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.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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 (entered as `msedge`), 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.
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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
|
||||
- [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
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,124 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,140 +0,0 @@
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## PowerRename
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] 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 (e.g. `(?<=t)est`)
|
||||
* 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.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] 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:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [ ] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
- [ ] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [ ] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [ ] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [ ] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [ ] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Crosshairs color
|
||||
- [ ] Crosshairs opacity
|
||||
- [ ] Crosshairs center radius
|
||||
- [ ] Crosshairs thickness
|
||||
- [ ] Crosshairs border color
|
||||
- [ ] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,201 +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\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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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 (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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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.
|
||||
|
||||
## 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
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,152 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] 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.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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 (entered as `msedge`), 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.
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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
|
||||
- [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
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,150 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Open `Task view` , right-click on the window, check the `Show this window on all desktops` or the `Show windows from this app on all desktops` option to turn it on.
|
||||
- [ ] Turn Show this window on all desktops on, verify you can snap this window to a zone.
|
||||
- [ ] Turn Show windows from this app on all desktops on, verify you can snap this window to a zone.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] 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:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated.
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,164 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [ ] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [ ] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [ ] 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
|
||||
- [ ] Resize one image
|
||||
- [ ] Resize multiple images
|
||||
- [ ] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [ ] Resize images with `Fill` option
|
||||
- [ ] Resize images with `Fit` option
|
||||
- [ ] Resize images with `Stretch` option
|
||||
|
||||
- [ ] Resize images using dimension: Centimeters
|
||||
- [ ] Resize images using dimension: Inches
|
||||
- [ ] Resize images using dimension: Percents
|
||||
- [ ] Resize images using dimension: Pixels
|
||||
|
||||
- [ ] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [ ] 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
|
||||
- [ ] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [ ] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [ ] 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
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] 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 (e.g. `(?<=t)est`)
|
||||
* 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [ ] Program - launch a Win32 application
|
||||
- [ ] Program - launch a Win32 application as admin
|
||||
- [ ] Program - launch a packaged application
|
||||
- [ ] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [ ] Windows Search - open a file on the disk.
|
||||
- [ ] Windows Search - find a file and copy file path.
|
||||
- [ ] Windows Search - find a file and open containing folder.
|
||||
- [ ] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [ ] Folder - Search and open a sub-folder on entering the path.
|
||||
- [ ] Uri - launch a web page on entering the uri.
|
||||
- [ ] Window walker - Switch focus to a running window.
|
||||
- [ ] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [ ] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [ ] Registry - navigate through the registry tree and copy key path.
|
||||
- [ ] System - test `lock`.
|
||||
- [ ] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [ ] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [ ] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [ ] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [ ] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [ ] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [ ] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [ ] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] 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:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [ ] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated.
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,224 +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\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)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* 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 (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
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [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 (entered as `msedge`), 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
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* 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
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,210 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Open `Task view` , right-click on the window, check the `Show this window on all desktops` or the `Show windows from this app on all desktops` option to turn it on.
|
||||
- [ ] Turn Show this window on all desktops on, verify you can snap this window to a zone.
|
||||
- [ ] Turn Show windows from this app on all desktops on, verify you can snap this window to a zone.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] 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.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## 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 (entered as `msedge`), 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.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
- [ ] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [ ] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [ ] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [ ] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [ ] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Crosshairs color
|
||||
- [ ] Crosshairs opacity
|
||||
- [ ] Crosshairs center radius
|
||||
- [ ] Crosshairs thickness
|
||||
- [ ] Crosshairs border color
|
||||
- [ ] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,127 +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)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] 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
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Open `Task view` , right-click on the window, check the `Show this window on all desktops` or the `Show windows from this app on all desktops` option to turn it on.
|
||||
- [ ] Turn Show this window on all desktops on, verify you can snap this window to a zone.
|
||||
- [ ] Turn Show windows from this app on all desktops on, verify you can snap this window to a zone.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] 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.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated.
|
||||