PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

PT Run not picking up an internet shortcut in the same folder as other internet shortcuts

Open Nerxxy opened this issue 2 years ago • 2 comments

Microsoft PowerToys version

0.67.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. Make a steam friends shortcut (steam://open/friends)

  2. Use power toys run to search for the shortcut

  3. It doesn't show image

  4. Other internet shortcuts do image

✔️ Expected Behavior

The shortcut to show when searching for it in PT Run

❌ Actual Behavior

The shortcut does not show when searching for it in PT Run

Other Software

N/A

Nerxxy avatar Feb 04 '23 14:02 Nerxxy

Thank you for reporting this. We need more information to find the reason. /bugreport

htcfreek avatar Feb 04 '23 15:02 htcfreek

I suspect this is because we only allow shortcuts for some protocols. I'm guessing steam:// it's not one of those.

jaimecbernardo avatar Feb 06 '23 12:02 jaimecbernardo

I suspect this is because we only allow shortcuts for some protocols. I'm guessing steam:// it's not one of those.

steam:// is filtered for special cases.

htcfreek avatar Feb 06 '23 12:02 htcfreek

image I'm guessing we need to add this new special case there in Win32Program.cs

jaimecbernardo avatar Feb 06 '23 12:02 jaimecbernardo

This is just a couple of mins. I'll just do it and open a quick PR

jaimecbernardo avatar Feb 06 '23 12:02 jaimecbernardo

I suspect this is because we only allow shortcuts for some protocols. I'm guessing steam:// it's not one of those.

If that was the issue then rocket league shouldnt show up either as its shortcut is steam://rungameid/252950, no?

Nerxxy avatar Feb 06 '23 23:02 Nerxxy

I suspect this is because we only allow shortcuts for some protocols. I'm guessing steam:// it's not one of those.

If that was the issue then rocket league shouldnt show up either as its shortcut is steam://rungameid/252950, no?

We filter to show only steam://rungameid* and steam://run*. That's the reason why it was shown. No we added the case steam://open* too.

htcfreek avatar Feb 07 '23 00:02 htcfreek

We filter to show only steam://rungameid* and steam://run*. That's the reason why it was shown. No we added the case steam://open* too.

ahh ok that makes more sense, thanks for clarifying

Nerxxy avatar Feb 07 '23 01:02 Nerxxy

This was implemented in release 0.68. Thank you for the bug report!

noraa-junker avatar Mar 19 '23 13:03 noraa-junker

Is there any way too add more protocols? I just downloaded obsidian and I would like to use internet shortcut for "obsdian::".

iceofice avatar Oct 05 '23 11:10 iceofice