microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.27k stars 6.55k forks source link

[bug] redundant / double entries in PowerToys Run #17843

Open makedir opened 2 years ago

makedir commented 2 years ago

Microsoft PowerToys version

0.57.2

Running as admin

Area(s) with issue?

PowerToys Run

Steps to reproduce

Since some of the last versions, sometimes it happens that double or even way more of the same elements are shown, or missing icons:

image

image

✔️ Expected Behavior

no double entries

❌ Actual Behavior

double or even more elements of the same kind shown

Other Software

No response

Aaron-Junker commented 2 years ago

Cc: @htcfreek

htcfreek commented 2 years ago

@makedir Only for results from program plugin?

/bugreport

ghost commented 2 years ago

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

makedir commented 2 years ago

I cant reproduce this always, it happens randomly or I dont see a pattern behind it. Then it also seems just to happen with UWP apps, and then you cant open them too there comes some error message that UWP is not installed or something.

htcfreek commented 2 years ago

Burgreport won't help here. I saw this sometimes while working on WW plugin too. This isn't related to a specific plugin and there is nothing interesting in the logs.

Might be a timing nug or something else.

jaimecbernardo commented 2 years ago

It might be the case that these many entries actually correspond to distinct shortcuts. Can you please select the "Open containing folder" option for each entry to see if they are different shortcuts? /needinfo

htcfreek commented 2 years ago

@jaimecbernardo If I am imagine right I had this with ww results too. As I debugged the results returned by query interface were correct. So the bug must in the ux logic.

makedir commented 2 years ago

I cant reproduce the issue anymore since a few days, after I de-installed the UWP app seen in the above screenshot (Notepads) and reinstalled them. It may be some nasty bug, as usual, with Windows 11 and/or Windows 11 app store in combination with not properly installed UWP apps. I just had this issue with UWP apps actually I think of double/multi entries, the other screenshot of notepad.exe is actually indeed a redundant double entry of two different exe/folders.

jaimecbernardo commented 2 years ago

It might be the case that we don't remove the entry for uninstalled UWP apps? Worth investigating, anyway. It seems low priority at this moment, though.

Cmdr-Keene commented 5 months ago

only occurs to PWA entries for me. I opened a new bug #33322 for this just now but I'll go close it since this thread is the primary. here's what I see by the way

image