PowerToys
PowerToys copied to clipboard
[PT Run > Wox.Infrastructure.Image] Fix dispatcher crash
Summary of the Pull Request
This PR fixes the dispatcher crash in thumbnail loading code caused by the thumbnail preview handler of Adobe Reader and Acrobat Pro. With the changes the crash doesn't happen anymore and it shows the file type icon for PDF files if the thumbnail provider is set to Acrobat Pro or Adobe Reader.
The codes supports the following cases:
- Acrobat thumbnail provider. => Show only icons.
- Different thumbnail provider (Foxit, PT, ...). => Show thumbnails.
- Acrobat provider is installed, but PT, Foxit or an other provider has precedence. => Show thumbnails.
- Acrobat provider is installed, but not associated. => Show thumbnail if there is an other provider installed and associated.
How to reproduce the crash:
- Install Acrobat Reader, enable thumbnail provider.
- Exit PT.
- Delete the
%localappdata%
folder of PT Run. - Start PT Run and search for an PDF file.
Note:
- Step 2 and 3 can be replaced with creating a new PDF. Important here is that no image exists in PT Run's image cache for the file.
- I can't reproduce the dispatcher crash in the debug build/with debugger attached. It happens only in the release build.
PR Checklist
- [x] Closes: #18166
- [x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
- [x] Tests: Added/updated and all pass
- [ ] Localization: All end user facing strings can be localized
- [ ] Dev docs: Added/updated
- [ ] New binaries: Added on the required places
- [ ] JSON for signing for new binaries
- [ ] WXS for installer for new binaries and localization folder
- [ ] YML for CI pipeline for new test projects
- [ ] YML for signed pipeline
- [ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (7)
additionaly bitamp getimage ishellitemimagefactory nint RESIZETOFIT transpaerent
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4078628009/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2144) from .github/actions/spell-check/expect.txt and unrecognized words (7)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 32 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (1)
transparrent
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4078703298/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2148) from .github/actions/spell-check/expect.txt and unrecognized words (1)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 32 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@crutkas, @jaimecbernardo I think I have fixed it. But can you please test it on Win11 and can we create a test build to let our users test it too. (Btw, this fix might be relevant for Peek too.)
What exactly does "We now only show thumbnails for files other than images, if the thumbnails already exist in Explorers thumbnail cache." mean? Sounds like it fixes something what isn't broken.
As I do not have Adobe Acrobat thumbnails activated, I want to see the thumbnail for every file in the results - even if the Explorer hasn't generated any.
It works with PowerToys PDF explorer extensions, so why change that behavior. You could at check whether this feature is enabled and would work without problems. Or at least add a config option to turn it on my own risk...
@daniel-richter This is a good point.
What I mean is we check if the file is an image. If not we request only the already cached thumbnail instead the thumbnail from file/without restrictions.
The problem is that the code to read the thumbnail hangs instead of returning an hresult error when the problem occurs.
What we can do is either a global setting or implement the cache requirement only for pdf files.
Additional there is this strange bug that if no chached thumbnail exists, a transparent rectangle is returned instead of the file icons. For this I added a workaround code that checks if it is a transparent image and if yes we request the icon then.
One small thing I can try tomorrow is if it helps to not change its size/allow bigger ones when requesting them.
(At the end it seems that we will never get valid thumbnails if Adobe Acrobat is the provider. And Explorer on my machine loads them delayed for the first time.)
@jaimecbernardo thoughts on this being a hot fix?
By e-mail we discussed for the hotfix it might be better to just try blacklisting Adobe Reader as a thumbnail generator somehow.
By e-mail we discussed for the hotfix it might be better to just try blacklisting Adobe Reader as a thumbnail generator somehow.
I know how. I will update the PR within the next days.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (2)
Adboe PDFs
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath getimage ishellitemimagefactory nint :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4087559909/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2148) from .github/actions/spell-check/expect.txt and unrecognized words (2)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (2)
Adboe PDFs
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4087578459/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2145) from .github/actions/spell-check/expect.txt and unrecognized words (2)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (2)
Adboe PDFs
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4087795527/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2145) from .github/actions/spell-check/expect.txt and unrecognized words (2)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (2)
Acobat Adboe
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4087947395/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2145) from .github/actions/spell-check/expect.txt and unrecognized words (2)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@jaimecbernardo , @crutkas , @daniel-richter I updated the code to only skip PDF files and only if Acrobat is set as thumbnail provider/handler. The configured provider gets evaluated in real time. The evaluation happens, if no thumbnail exists in PT Run's cache and it is a PDF file.
The codes supports the following cases:
- Acrobat thumbnail provider. => Show only icons.
- Different thumbnail provider (Foxit, PT, ...). => Show thumbnails.
- Acrobat provider is installed, but PT, Foxit or an other provider has precedence. => Show thumbnails.
- Acrobat provider is installed, but not associated. => Show thumbnail if there is an other provider installed and associated.
It is working like a charm:
@jaimecbernardo Can you please test it again and especially if our provider (PT PDF Thumbnail) is respected. And can you please check the grammar of the new comments.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (1)
querries
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4093400557/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2145) from .github/actions/spell-check/expect.txt and unrecognized words (1)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (1)
querries
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4093422268/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2145) from .github/actions/spell-check/expect.txt and unrecognized words (1)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (1)
crashe
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4093458236/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2145) from .github/actions/spell-check/expect.txt and unrecognized words (1)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (1)
crashe
Previously acknowledged words that are now absent
AMF chromaticities depsjsonpath :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:htcfreek/PowerToys.git repository
on the PT_Thumbnail
branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/4093776416/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (2145) from .github/actions/spell-check/expect.txt and unrecognized words (1)
Dictionary | Entries | Covers |
---|---|---|
cspell:cpp/src/cpp.txt | 30216 | 121 |
cspell:win32/src/win32.txt | 53509 | 117 |
cspell:python/src/python/python-lib.txt | 3873 | 31 |
cspell:php/php.txt | 2597 | 16 |
cspell:node/node.txt | 1768 | 13 |
cspell:typescript/typescript.txt | 1211 | 12 |
cspell:python/src/python/python.txt | 453 | 10 |
cspell:java/java.txt | 7642 | 10 |
cspell:aws/aws.txt | 218 | 8 |
cspell:python/src/common/extra.txt | 741 | 7 |
Consider adding them using (in .github/workflows/spelling2.yml
):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:node/node.txt
cspell:typescript/typescript.txt
cspell:python/src/python/python.txt
cspell:java/java.txt
cspell:aws/aws.txt
cspell:python/src/common/extra.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@jaimecbernardo I did some tweaking and bug fixing:
- New: We cache the last result for 5 seconds to reduce the amount of Registry queries.
- Fixed: The PDF app detection was wrong if the assignment was changed from Explorer instead of Adobe Reader.
- Changed: Return true on exception to not crash if Adobe is used.
- Improved: The Adobe detection note is written again, if an other provider was used temporary.
- Improved: Log text.
- Code clean up and improved comments.
/azp run
Azure Pipelines successfully started running 1 pipeline(s).