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

Telegram does not start in minimized form at system startup #27451

Closed
AlexanderShad opened this issue Feb 5, 2024 · 9 comments · Fixed by #27474
Closed

Telegram does not start in minimized form at system startup #27451

AlexanderShad opened this issue Feb 5, 2024 · 9 comments · Fixed by #27474
Labels

Comments

@AlexanderShad
Copy link

Steps to reproduce

  1. Go to "Settings"
  2. "Advanced settings"
  3. check the box "Launch Telegram at system startup"
  4. check the box "Run minimized"
  5. reboot

Expected behaviour

When the system starts, Telegram should be loaded into the tray, but not open as a window.

Actual behaviour

When the system starts, Telegram starts, but does not minimize to the system tray. The "Run minimized" checkbox does not work.

Operating system

ALT Linux Regular Sisyphus x86_64

Version of Telegram Desktop

4.14.4

Installation source

Other (unofficial) source

Crash ID

No response

Logs

No response

@ilya-fedin
Copy link
Contributor

Sorry but I can't confirm your issue. Perhaps something is missing in steps to reproduce or your distro is bugged.

@ilya-fedin
Copy link
Contributor

Other (unofficial) source

Ah, just noticed, sorry but you can't report with third party builds here, please use official build for reporting or delegate this job to your build supplier.

@Aokromes
Copy link
Collaborator

Aokromes commented Feb 5, 2024

plz try downloading official static (non-flakpak, non-snap) version from https://desktop.telegram.org

@AlexanderShad
Copy link
Author

Telegram is loaded along with the computer. An icon appears in the system tray. But the Telegram window should be minimized and not shown when the system starts, as indicated by the “Run minimized” checkbox in the settings. But Telegram launches with the program window open and minimized = false
I don't know if I explained it clearly.
In general, the window should be minimized, but it is expanded when the system starts.

@ilya-fedin
Copy link
Contributor

Yes, I can't reproduce the behavior you described in my testing VM. I set the minimized checkbox an it starts minimized.

@AlexanderShad
Copy link
Author

It's clear. I'll write it in the Alt Linux bugzilla

@ilya-fedin
Copy link
Contributor

It might be an issue with your system, e.g. maybe you have enabled Telegram to autostart by other means, now it starts multiple times what leads to the window being opened, just like when you open already running instance with applications menu.

@AlexanderShad
Copy link
Author

At the moment, I got around this situation on wayland in the following way.
added the telegram.desktop file to $HOME/.config/autotart
with the following content

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Name=Telegram
NoDisplay=true
Comment=telegram on sys trey
Exec=telegram -startintray
Terminal=false

At the same time, the autorun and tray launch checkboxes are disabled

@ilya-fedin
Copy link
Contributor

Looks like I reproduced

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants