Skip to content
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

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

Open
6 tasks done
jclab-joseph opened this issue Nov 22, 2024 · 5 comments
Open
6 tasks done

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

jclab-joseph opened this issue Nov 22, 2024 · 5 comments

Comments

@jclab-joseph
Copy link

jclab-joseph commented Nov 22, 2024

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
Copy link
Member

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
Copy link
Author

jclab-joseph commented Nov 22, 2024

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

@devinbinnie
Copy link
Member

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

@jclab-joseph
Copy link
Author

It was created as below, and even when I run it, the icon does not appear.

[Desktop Entry]
Name=Mattermost
Comment=Mattermost Desktop application for Linux
Exec="/home/USER/.programs/mattermost-desktop-5.10.1-linux-x64/mattermost-desktop" %U
Terminal=false
Type=Application
MimeType=x-scheme-handler/mattermost
Icon=/home/USER/.programs/mattermost-desktop-5.10.1-linux-x64/app_icon.png
Categories=Network;InstantMessaging;

image
image

@devinbinnie
Copy link
Member

I can't reproduce this I'm afraid, perhaps try restarting your session or remaking the .desktop file. Which window manager are you using? I was able to get it working with default GNOME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants