winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Discord Installation on Windows 11 is not installed correctly

Open hambrosia opened this issue 1 year ago • 6 comments

Describe the bug

Discord installation appears to not integrate with Windows Desktop Environment when installed via winutil on Windows 11

Windows Version: Professional Version 10.0.22631 Build 22631

To Reproduce

Steps to reproduce the behavior:

  1. Install Discord via winutil on a fresh Windows11 host
  2. Open and log into Discord
  3. Pin Discord and move it to the left on the taskbar
  4. Restart Computer
  5. On restart, Discord is no longer pinned

Expected behavior

Discord should remain pinned.

hambrosia avatar Jul 24 '24 00:07 hambrosia

Hello @hambrosia

This issue is not because of winutil, nor should be the issue of winget. I am on the same build as you and tested it out, but it stayed pinned as expected.

May I ask if the device is a company device or restricted in some way?

  • I found this reddit post with a user that has the same issue but with firefox.
  • Another way of fixing it was tried over here, but it looks like that did not work.

I suggest running discord with admin, while running right click on the taskbaritem and pin it from there, since I could not recreate the issue and neither of the links seem to be marked as fixed I can't promise that something will work.

MyDrift-user avatar Jul 24 '24 05:07 MyDrift-user

@MyDrift-user thanks for trying to repro.

It's not a company-provided device.

I also noticed issues when trying to uninstall Discord via the winutil and afterward via "add or remove programs."

It would remove the icon when uninstalling but a blank icon would remain and the settings and login data were not removed.

Possibly just something went wrong with my particular install, it may not be the winutil but I wanted to raise it in case there is something happening here. I'm fine to close this if we can't reproduce on other machines though.

I installed quite a few other applications at the same time via winutil so I wonder if there was some interaction or contention for the same resources at some point.

hambrosia avatar Jul 24 '24 15:07 hambrosia

I also noticed issues when trying to uninstall Discord via the winutil and afterward via "add or remove programs."

It would remove the icon when uninstalling but a blank icon would remain and the settings and login data were not removed.

I have actually noticed this issue with Windows in general. Some applications leave behind shortcuts sometimes, and Windows just leaves broken links constantly.

I installed quite a few other applications at the same time via winutil so I wonder if there was some interaction or contention for the same resources at some point.

This is unlikely, as the downloads aren't threaded and happen one after the other. (This is mostly a Windows limitation, in general. MSIX packages can have 6 installations at once, while EXE and MSI packages are limited to 1 installation at a time, even if we were to try to find a way to do parallel downloads.)

ruxunderscore avatar Jul 25 '24 02:07 ruxunderscore

This is a known problem for Discord, (maybe please rename title?). It would be very great if Chris or a Maintainer could create a fix for this (I created a separate Issue for this #2479). The cause is, that Discord creates a new folder/path on each update → so Windows keeps forgetting the Taskbar-Settings for Discord on each Discord-Upate. Would be very great if one could program a scheduler task which sets the tray settings on each reboot (discord has lots of updates). I did try it with PowerShell/ChatGPT but it couldn't find the right Registry keys.

Example path: C:\Users\STC\AppData\Local\Discord\app-1.0.9155\Discord.exe

Further Sources: https://support.discord.com/hc/en-us/community/posts/20509559332375-Stop-changing-the-working-directory-flolder-name-it-breaks-things

stuckydev avatar Jul 28 '24 16:07 stuckydev

I never noticed this issue until using the winutil to install Discord. Could it be winutil is using a version of the Discord application that is susceptible to this problem?

hambrosia avatar Jul 28 '24 18:07 hambrosia

This issue was marked as stale because it has been inactive for 7 days

github-actions[bot] avatar Aug 05 '24 00:08 github-actions[bot]

This issue was closed because it has been inactive for 7 days since it was marked as stale

github-actions[bot] avatar Aug 12 '24 00:08 github-actions[bot]