PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Peek should peek the target of a shortcut

Open The-MAZZTer opened this issue 2 years ago • 2 comments
trafficstars

Description of the new feature / enhancement

Right now Peek just shows you details of the shortcut file; might be more useful to peek the target of the shortcut, or provide a button in the UI to quickly jump to the target.

Scenario when this would be used?

  1. Peek a file such as an image.
  2. Create a shortcut to that image.
  3. Peek the shortcut.

It would be useful to be able to see the Peek for the shortcut target easily when peeking a shortcut.

Supporting information

I got nothing.

The-MAZZTer avatar May 23 '23 21:05 The-MAZZTer

Maybe this could be operational with a setting to enable it. I personally think the preview should show the file that is selected and not the shortcut target.

htcfreek avatar May 23 '23 22:05 htcfreek

When do you have a shortcut of a picture? /needinfo

crutkas avatar May 29 '23 04:05 crutkas

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

I too would really like a way to preview the shortcut's target, not the LNK file itself. It can be convenient to see the LNK's details, but I'm doubtful that seeing that over the target is what most people want.

What I propose is:

  • A global option to always show the target of a shortcut.
    • When enabled, and when previewing a LNK, some indication that the preview has followed a link.
  • If the above is disabled, then a button in Peek's titlebar to "→ Peek Target" or similar.

Alternatively, a toggle flow:

  • A global option to always show the target of a shortcut.
  • If the above is disabled, then a button in Peek's titlebar to "→ Peek Target" or similar.
    • When viewing the target, the button now reads "← Peek Link" or similar.

The second variation is probably the better implementation of the two.

redactedscribe avatar Jul 07 '23 16:07 redactedscribe