PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[Workspaces] Change workspaces icon store position

Open vanzue opened this issue 7 months ago • 1 comments

Summary of the Pull Request

Before, workspaces ico are stored in temp folder, which is easily cleaned up by user. After clean, user has to explicitly save icon once again. With

PR Checklist

  • [X] Closes: #35004
  • [ ] Communication: I've discussed this with core contributors already. If 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
  • [ ] Dev docs: Added/updated
  • [ ] New binaries: Added on the required places
  • [ ] 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

image

vanzue avatar May 23 '25 02:05 vanzue

@vanzue, Do we need to do data migration then? I mean a special job just transfer the tmp folder's workspace icon to this new. If not, all users will be impacted?

yeelam-gordon avatar May 28 '25 10:05 yeelam-gordon

@vanzue, Do we need to do data migration then? I mean a special job just transfer the tmp folder's workspace icon to this new. If not, all users will be impacted?

Icon is stored in temp, and we don't mean to change existing icon right? We have a shortcut on desktop in previous version, and we release a new version, new icon will be pointed to new storage, and old icon will still sits there.

If we don't migrate, users' existing icon will not be deleted, so they will not be affected

vanzue avatar May 28 '25 11:05 vanzue

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

Unrecognized words (1)

Shotcut

These words are not needed and should be removed DEFT iextn localappdata OTHERUNZOOM OTHERZOOM PARENTCLOSING PARENTOPENING pswd SCROLLCHILDREN SHELLEXTENSION SHELLNEWVALUE SHGFIICON SHGFILARGEICON TGM VARENUM

Some files were automatically ignored :see_no_evil:

These sample patterns would exclude them:

^\Q.pipelines/272MSSharedLibSN2048.snk\E$

You should consider adding them to:

.github/actions/spell-check/excludes.txt

File matching is via Perl regular expressions.

To check these files, more of their words need to be in the dictionary than not. You can use patterns.txt to exclude portions, add items to the dictionary (e.g. by adding them to allow.txt), or fix typos.

To accept these unrecognized words as correct, update file exclusions, and remove the previously acknowledged and now absent words, you could run the following commands

... in a clone of the [email protected]:vanzue/PowerToys.git repository on the keep-workspaces-icon branch (:information_source: how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/67debf50669c7fc76fc8f5d7f996384535a72b77/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/15482077392/attempts/1'

Errors (3)

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

:x: Errors Count
:warning: binary-file 1
:x: ignored-expect-variant 2
:warning: no-newline-at-eof 1

See :x: Event descriptions for more information.

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.

github-actions[bot] avatar Jun 06 '25 03:06 github-actions[bot]