microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.19k stars 6.54k forks source link

Peek - can't view PDF/HTML soft links #28028

Open YDX-2147483647 opened 1 year ago

YDX-2147483647 commented 1 year ago

Microsoft PowerToys version

At least 0.72.0 and 0.85.1.

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Peek

Steps to reproduce

  1. Creat a PDF. (For example, save this web page as PDF)

  2. Create a soft link targeting it.

    One way to do so is PowerShell:

    New-Item -Type SymbolicLink -Target original.pdf -Path link.pdf
  3. Open the Explorer, Peek at the link.

✔️ Expected Behavior

The PDF is shown.

❌ Actual Behavior

The peek window appears, but the file does not.

Unable to open the file

Something is wrong.

[Refresh the page]

Other Software

MS Edge 115.0.1901.203

Additional information

Relevant but not identical: #2527

Jay-o-Way commented 1 year ago

Must be the "browser" control (using WebView2, iinm)

YDX-2147483647 commented 1 year ago

Thanks, I didn't know it relates to WebView2 before. So I make a few more experiments (based on the source code): soft/hard links × pdf/md/html × peek / double click / paste file URI into MS Edge.

(I've updated Additional information above)

cinnamon-msft commented 6 days ago

Are you still experiencing this issue? /needinfo

YDX-2147483647 commented 5 days ago

Are you still experiencing this issue? /needinfo

Yes, I have just confirmed in v0.85.1. (✅ = confirmed, ❓ = not tested)