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.
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.
Make the default behavior I suggested. But this will be inconvenient for many users.
Screenshots of implementation in other apps


Try to disable tray icon: Settings > Advanced > System integration > Show tray icon
You can open the shortcuts-custom.json file in your tdata profile folder and edit a shortcut for the quit_telegram command.
you can use control+q
@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.jsonfile in yourtdataprofile folder and edit a shortcut for thequit_telegramcommand.
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.
My issue #9000 also requested the same, I would love this feature, thanks.
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.
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.
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.
Most helpful comment
you can use control+q