mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2.03k stars 829 forks source link

[Bug]: In Ubuntu 24.04, the icon does not appear in the app bar. #3219

Open jclab-joseph opened 4 days ago

jclab-joseph commented 4 days ago

Checks before filing an issue

Mattermost Desktop Version

5.10.1

Operating System

Ubuntu 24.04 LTS x64

Mattermost Server Version

8.1.13

Steps to reproduce

image

image

Expected behavior

should see the mattermost icon instead of the settings icon.

Observed behavior

See the screenshot.

Log Output

[2024-11-22 11:11:22.849] [error] Logger Log level set to: info
[2024-11-22 11:11:23.056] [info]  [App.Config] config.autostart has been configured: true
[2024-11-22 11:11:23.110] [info]  [App.Initialize] Autoupgrade disabled: false
[2024-11-22 11:11:23.110] [error] [MainWindow] Error: Provided bounds info are outside the bounds of your screen, using defaults instead.
    at P.getSavedWindowState (/home/user/.programs/mattermost-desktop-5.10.1-linux-x64/resources/app.asar/index.js:2:877924)
    at P.init (/home/user/.programs/mattermost-desktop-5.10.1-linux-x64/resources/app.asar/index.js:2:874269)
    at P.show (/home/user/.programs/mattermost-desktop-5.10.1-linux-x64/resources/app.asar/index.js:2:876409)
    at /home/user/.programs/mattermost-desktop-5.10.1-linux-x64/resources/app.asar/index.js:2:215792
    at Vr (/home/user/.programs/mattermost-desktop-5.10.1-linux-x64/resources/app.asar/index.js:2:216533)
[2024-11-22 11:11:23.158] [info]  [ServerDropdownView] init
[2024-11-22 11:11:23.177] [info]  [i18nManager] Set new language ko
[2024-11-22 11:11:23.303] [info]  [App.Config] config.autostart has been configured: true
[2024-11-22 11:11:23.639] [info]  [App.Config] config.autostart has been configured: true
[2024-11-22 11:11:24.674] [warn]  [WebContentsEventM...] [renderer] Legacy preload initialized


### Additional Information

_No response_
devinbinnie commented 3 days ago

This looks like an issue with the .desktop file, as I believe it contains the icon information. How did you install Mattermost on your system?

jclab-joseph commented 3 days ago

I downloaded and unpacked the tar archive. Can I regenerate the desktop file? but the app icon path is correct.

devinbinnie commented 12 hours ago

Yes, did you run this script? It's provided for you in the .tar file.