telegramdesktop / tdesktop

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

[Feature Request] Ability to completely close the application by clicking on the cross or Alt+F4 #8941

Open rakleed opened 3 years ago

rakleed commented 3 years ago

Is your feature request related to a problem?

I would like to completely close applications when I click on the cross or push Alt+F4. Cause now this is not possible, since after that I additionally need to click on the application icon in the tray and click Quit Telegram, which is very inconvenient.

Describe the solution you'd like

Add an option to the setting that would allow me to completely close the application when I click on the cross or push Alt+F4, as is done in most other applications.

Describe alternatives you've considered

Make the default behavior I suggested. But this will be inconvenient for many users.

Additional context

Screenshots of implementation in other apps ![discord-settings](https://user-images.githubusercontent.com/19418601/97742947-04382f00-1af6-11eb-97da-ed8b6f4f1077.png) ![spotify-settings](https://user-images.githubusercontent.com/19418601/97743325-8aed0c00-1af6-11eb-910d-baf3fc9286a4.png)
EricKotato commented 3 years ago

Try to disable tray icon: Settings > Advanced > System integration > Show tray icon

23rd commented 3 years ago

You can open the shortcuts-custom.json file in your tdata profile folder and edit a shortcut for the quit_telegram command.

Aokromes commented 3 years ago

you can use control+q

rakleed commented 3 years ago

@RadRussianRus, @23rd, @Aokromes thank you for the suggestions. .

Try to disable tray icon: Settings > Advanced > System integration > Show tray icon

This is the simplest and most suitable solution, but in this case the Telegram icon will not be displayed in the tray. And this is different from the behavior in those applications that I described. .

You can open the shortcuts-custom.json file in your tdata profile folder and edit a shortcut for the quit_telegram command.

If I set Alt+F4 to quit, then this hotkey still works as a close. .

you can use control+q

This is a good option, but when you click on the cross, the application will still run in the background. . . In any case, these are all workarounds, so I would like to see the implementation of the function proposed by me, since this is done in other applications.

frenchiveruti commented 3 years ago

My issue #9000 also requested the same, I would love this feature, thanks.

Aokromes commented 3 years ago

you can use control+q

This is a good option, but when you click on the cross, the application will still run in the background. . . In any case, these are all workarounds, so I would like to see the implementation of the function proposed by me, since this is done in other applications.

all applications with tray icon enabled works on that way.

rakleed commented 3 years ago

all applications with tray icon enabled works on that way.

@Aokromes the screenshots from the first post show applications (Discord and Spotify) that display a tray icon, but when I click on the cross or Alt+F4, they completely close.

Aokromes commented 3 years ago

all applications with tray icon enabled works on that way.

@Aokromes the screenshots from the first post show applications (Discord and Spotify) that display a tray icon, but when I click on the cross or Alt+F4, they completely close.

No, unless it's bugged:

https://i.imgur.com/wiRMe17.png Telegram is working on exact same way, tray icon enabled, minimize to tray if X or alt f4.

stale[bot] commented 3 years ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further 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!

stale[bot] commented 2 years ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further 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!

stale[bot] commented 2 years ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further 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 1 year ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further 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 1 year ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further 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 11 months ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further 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 5 months ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further 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!