Skip to content

Updating packages resulted in losing taskbar icons #1005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
havrancek opened this issue May 27, 2021 · 20 comments
Closed

Updating packages resulted in losing taskbar icons #1005

havrancek opened this issue May 27, 2021 · 20 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author
Milestone

Comments

@havrancek
Copy link

_problem

I am a noob using mostly chocolatey, and wanted to see how is microsofts package manager doing... opened it, found a few packages to update and let it do the update... After that I've got what you see on the pic, I completely lost my taskbar icons, clock, date, everything and I can't find a way to restore it

@ghost ghost added the Needs-Triage Issue need to be triaged label May 27, 2021
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels May 28, 2021
@denelon
Copy link
Contributor

denelon commented May 28, 2021

Can you submit feedback and share the link? https://aka.ms/winget-feedback
That sends logs for us to diagnose.

@havrancek
Copy link
Author

I just did. I just hope for some way to fix it. Now I am stuck as without an arm with this issue.

@denelon
Copy link
Contributor

denelon commented May 28, 2021

@havrancek, unfortunately it looks like this was likely due to the behavior from one of the packages during the upgrade. We're still digging in to confirm. Have you tried to "repair" your Windows installation to see if that would return the system to a "two armed" state?

@havrancek
Copy link
Author

you mean with sfc command? well i tried everything i could find

@denelon
Copy link
Contributor

denelon commented May 28, 2021

Bummer 😢 I feel your pain!

I really hope we get to the root cause on this quickly. I want to avoid this from hitting anybody else.

@havrancek
Copy link
Author

I would be eternally grateful. Please get to the bottom of this.

@havrancek
Copy link
Author

I have uninstalled KB5003214 and I have my icons back finally

@denelon
Copy link
Contributor

denelon commented Jun 1, 2021

@havrancek, I'm so glad you found a fix!!! It looks like that was a Windows update. Can you confirm?

I wanted to make sure it wasn't a package in the repository.

@havrancek
Copy link
Author

I dont know what it was, because this issue appeared only after using packages manager update, not windows update, but uninstalling this KB helped. Maybe it is connected, maybe not. But I guess it is up to you to find out, it is out of my reach. I am just happy I have my taskbar with icons back.

@denelon denelon added this to WinGet Oct 1, 2021
@denelon denelon added this to the v1.2-Client milestone Oct 1, 2021
@denelon
Copy link
Contributor

denelon commented Oct 1, 2021

We've published the v1.1 release candidate and updated our troubleshooting guide.

Can you confirm if this is still happening?

@denelon denelon closed this as completed Oct 1, 2021
@KerickHowlett
Copy link

I believe myself to be experiencing the same issues.

I've been trying to work on a dotfiles automations for my Windows 10 Pro system, so I've started using winget to install the Windows apps that need to be rooted outside of WSL2.

However, I think running winget upgrade --all resulted in a mass deletion of all the icons that would have been pulled in through the MS Store.

The initial installs through an exported file I created worked fine, but when I tried to install Telegraph's desktop app through Winget, I ran into the same issue with its icon not appearing. I had to install it through the normal installer file.

I should also add that the missing icons are only for the MS Store acquired & native apps — Calculator, Settings, Skype, MS Store, etc. — and only within the Taskbar Search pane. The icons within the desktop, Start Menu, and the pinned taskbar icons are fine. Again, it's only within the task search pane.

OS: Windows 10 Pro
Winget Version: v1.2.10271
Installed all drivers and the latest update as of this post (KB4023057)

@denelon denelon reopened this Mar 31, 2022
@denelon
Copy link
Contributor

denelon commented Mar 31, 2022

@KerickHowlett,

Can you reproduce this and share logs? Ideally, run the command with "--verbose-logs" so we get more detailed information about what is happening.

@KerickHowlett
Copy link

I would, but I literally just ran a hard reinstall on my computer, because I need my computer running for work... and I didn't think anyone would respond to my post so fast to be honest. 😅

However, I did check the logs in the LocalStateCache from when I ran the update, and I didn't find any errors there.

Most of what I found was it calling a sqlite file labeled as "installed".

@denelon
Copy link
Contributor

denelon commented Mar 31, 2022

I try to be responsive here 😊.

Let me know if you can reproduce this. I'll label it as "Needs-Author-Feedback". I'll get notifications of any replies before then, otherwise I'll be able to close it in 7 days after that. (2 weeks should be enough time to leave it open).

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Mar 31, 2022
@KerickHowlett
Copy link

I'll never complain about prompt responsiveness. Haha!

At any case, it appears I may have jumped the gun. The thing with my search icons still cropped up even after a drive formatting & clean re-install of Windows 10 and without ever using winget.

Although, I think I may have figured out what was the problem: From what I can gather, I used CCleaner and Glary Utilities (not at the same time) on my system, and I think it may have deleted those files by mistake. To further compound matters, my OneDrive, for whatever reason, thought it'd be a good idea to sync those files, so no matter how many hard re-installs I did, as soon as OneDrive synced up my file system, it would again remove those icon files.

I'm assuming its because OneDrive prioritizes the file system saved in OneDrive over what's currently in local. Normally, I get that and wouldn't mind so much (even if annoying), but there isn't any available means to fix it -- not even any documentation for a workaround.

Anyway, I hope I'm right on this.

As an attempted fix, I took all the files I wanted to keep in OneDrive and backed them up into my Google Drive before completely wiping the former clean.

Then, just to be on the safe side, I disabled the autorun for OneDrive, so it won't have the chance of synching anything up in case just simply deleting the files within OneDrive wasn't enough.

Once I'm finished re-configuring my machine, I'm gonna create a back-up image of my Windows setup (via the way it used to be done for Windows 7). That way, when I re-enable the sync for OneDrive and it still ends up deleting those icons again, I'll have a save image to fallback on.

(Sadly, just creating and using a Restore Point does not work.)

I'm posting the details for my workaround/possible fix here, so that way if anyone else encounters this issue, they may hopefully find this post to help solve their problem.

@denelon
Copy link
Contributor

denelon commented Apr 1, 2022

Thanks for sharing! If I see reports like this a few more times, I'll post in our troubleshooting docs, or if you would like, feel free to make a PR 😊

https://github.com/microsoft/winget-cli/tree/master/doc/troubleshooting

@KerickHowlett
Copy link

Sure, but like I said, I don't believe it was caused by winget in my particular case.

I only thought it was, because the outcome of my bug appeared to be identical to this one. It just so happened to be caused by a different source.

Although, I suppose it's possible it was deleted by a combination of winget and some Windows update.

Again, I'm not sure what the ultimate cause of it was.

Nevertheless, I'll be sure to include the workaround to the troubleshoot documentation when I can get around to it. ;)

@ghost ghost added the No-Recent-Activity Issue has no recent activity label Apr 8, 2022
@ghost
Copy link

ghost commented Apr 8, 2022

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

@KerickHowlett
Copy link

KerickHowlett commented Apr 8, 2022

Apologies for not saying this sooner, but y'all can close this ticket.

@ghost ghost removed the No-Recent-Activity Issue has no recent activity label Apr 8, 2022
@denelon denelon closed this as completed Apr 8, 2022
@CXwudi
Copy link

CXwudi commented Mar 18, 2023

Sorry for disturbing everyone here, but this is happening to me even with current v1.4.10173 version of winget.

I just updated two apps and now both apps lost their icons. However, their icons are fine in Start menu, or during the preview windows, or in alt-tab. It is only the taskbar that has the icon missing
image

In case if you are curious, Apps that miss the icon are Edge and WeChat, but both Apps were not installed through winget originally, so not sure if this fact is related.
I also have another app, Brave browser, that is installed purely from winget, it also got its icon missing...

I opened my PC in another day and now all icons are back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback Issue needs attention from issue or PR author
Projects
Archived in project
Development

No branches or pull requests

4 participants