telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26k stars 5.16k forks source link

Telegram autostarts in weird state #7332

Closed remcohaszing closed 3 years ago

remcohaszing commented 4 years ago

Steps to reproduce

  1. Configure Telegram to autostart in the system tray.
  2. Reboot

~/.config/autostart/telegramdesktop.desktop:

[Desktop Entry]
Version=1.0
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
TryExec=/home/remco/.local/share/Telegram/Telegram
Exec=/home/remco/.local/share/Telegram/Telegram -autostart
Icon=telegram
Terminal=false
StartupWMClass=TelegramDesktop
Type=Application
Categories=Chat;Network;InstantMessaging;Qt;
MimeType=x-scheme-handler/tg;
Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;
X-GNOME-UsesNotifications=true

Expected behaviour

Telegram autostarts hidden in the system tray.

Actual behaviour

Sometimes the expected, sometimes what is shown in this screenshot:

image

Configuration

Operating system: Pop_OS! 19.10

Version of Telegram Desktop: 1.9.19 beta

Used theme: Custom

Aokromes commented 4 years ago

i am quite sure this is duplicate

Aokromes commented 4 years ago

ok, it's duplicate of one ancient ticket i closed after asking if it's still valid, i leave this open. https://github.com/telegramdesktop/tdesktop/issues/512

Aokromes commented 4 years ago

this issue is still valid on 2.1.8?

ilya-fedin commented 4 years ago

this issue is still valid on 2.1.8?

Yes, I fighting with this, but the fix breaks tdesktop on Windows (client just crashed on start) and I don't know how to debug on Windows...

remcohaszing commented 4 years ago

After nog having encountered the issue for months, I just ran into the problem after pressing the Upgrade Telegram button to upgrade to version 2.2.

stale[bot] commented 3 years ago

Hey there!

This issue will be automatically closed in 7 days if there would be no activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.