Text extractor and Registry preview

This commit is contained in:
Stefan Markovic 2023-11-30 10:17:55 +01:00 committed by GitHub
parent 872b30f41a
commit 8c10325ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,33 +287,33 @@ Repeat the previous subsections steps after enabling `Allow zones to span across
## Text Extractor
* Enable Text Extractor. Then:
- [ ] Press the activation shortcut and verify the overlay appears.
- [ ] Press Escape and verify the overlay disappears.
- [ ] Press the activation shortcut and verify the overlay appears.
- [ ] Right-click and select Cancel. Verify the overlay disappears.
- [ ] Disable Text Extractor and verify that the activation shortuct no longer activates the utility.
- [x] Press the activation shortcut and verify the overlay appears.
- [x] Press Escape and verify the overlay disappears.
- [x] Press the activation shortcut and verify the overlay appears.
- [x] Right-click and select Cancel. Verify the overlay disappears.
- [x] Disable Text Extractor and verify that the activation shortuct no longer activates the utility.
* With Text Extractor enabled and activated:
- [ ] Try to select text and verify it is copied to the clipboard.
- [ ] Try to select a different OCR language by right-clicking and verify the change is applied.
- [x] Try to select text and verify it is copied to the clipboard.
- [x] Try to select a different OCR language by right-clicking and verify the change is applied.
* In a multi-monitor setup with different dpis on each monitor:
- [ ] Verify text is correctly captured on all monitors.
- [x] Verify text is correctly captured on all monitors.
* Test the different settings and verify they are applied:
- [ ] Activation shortcut
- [ ] OCR Language
- [x] Activation shortcut
- [x] OCR Language
## Registry Preview
* Open Registry Editor, add new registry key with 1 string value and 1 binary value in e.g. HKLM/Software/Classes/PowerToysTest. Right click new registry key->export and export it to file.
* Launch Registry Preview by right-clicking exported .reg file->'Preview'. Then:
- [ ] Edit file content. Ensure that visual try is being re-populated while typing. Save the file by pressing Save file button. Confirm that file is properly saved by pressing Edit file... button which will open file in Notepad. Try saving file using Save file as... button.
- [ ] Edit file externaly (e.g. in Notepad) and save it there. Pres Reload from file button and ensure that file content and visual tree are reloaded and show new content.
- [ ] Select some registry key with registry values in visual tree and ensure that registry values are shown properly in bottom-right area.
- [ ] Try opening different registry file by pressing Open file button.
- [ ] Delete newly created registry key from first step manually in Registry Editor, then try writing registry changes to registry by pressing Write to Registry button in Registry Preview. *Be careful what you are writing!*
- [x] Edit file content. Ensure that visual try is being re-populated while typing. Save the file by pressing Save file button. Confirm that file is properly saved by pressing Edit file... button which will open file in Notepad. Try saving file using Save file as... button.
- [x] Edit file externaly (e.g. in Notepad) and save it there. Pres Reload from file button and ensure that file content and visual tree are reloaded and show new content.
- [x] Select some registry key with registry values in visual tree and ensure that registry values are shown properly in bottom-right area.
- [x] Try opening different registry file by pressing Open file button.
- [x] Delete newly created registry key from first step manually in Registry Editor, then try writing registry changes to registry by pressing Write to Registry button in Registry Preview. *Be careful what you are writing!*
* Open Registry Preview Settings. Then:
- [ ] Disable Registry Preview and ensure that Preview context menu option for .reg files no longer appears.
- [ ] Try to launch Registry Preview from it's OOBE page while Registry Preview is disabled and ensure that it does not start.
- [ ] Enable Registry Preview again and ensure that Preview context menu option for .reg files appears and that it starts Registry Preview correctly.
- [ ] Try to launch Registry Preview from it's Settings page and ensure that it is launched properly.
- [ ] Try to launch Registry Preview from it's OOBE page and ensure that it is launched properly.
- [ ] Enable Default app setting. Verify that .reg files are opened with Registry Preview by default. Disable Default app setting. Verify that Registry Editor is now default app.
- [x] Disable Registry Preview and ensure that Preview context menu option for .reg files no longer appears.
- [x] Try to launch Registry Preview from it's OOBE page while Registry Preview is disabled and ensure that it does not start.
- [x] Enable Registry Preview again and ensure that Preview context menu option for .reg files appears and that it starts Registry Preview correctly.
- [x] Try to launch Registry Preview from it's Settings page and ensure that it is launched properly.
- [x] Try to launch Registry Preview from it's OOBE page and ensure that it is launched properly.
- [x] Enable Default app setting. Verify that .reg files are opened with Registry Preview by default. Disable Default app setting. Verify that Registry Editor is now default app.