Bug 416170

Summary: Optional feature to Minimize Elisa to the system tray
Product: [Applications] Elisa Reporter: Kristopher Ives <kristopher.ives>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: wishlist CC: cullmann, decedion, nate
Priority: NOR    
Version: 19.12.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 20.04.0

Description Kristopher Ives 2020-01-12 15:16:50 UTC
SUMMARY
It would be nice to be able to minimize Elisa to the system tray / notification tray area.

STEPS TO REPRODUCE
1. Open Elisa
2. Play a track
3. Close the Elisa window

OBSERVED RESULT
Playback stops and Elisa is gone.

EXPECTED RESULT
Playback could continue and Elisa could be in the system tray / notification tray area.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2
Kernel Version: 4.15.0-74-generic
OS Type: 64-bit
Comment 1 Nate Graham 2020-01-12 17:35:11 UTC
Personally I hate this behavior because I like to have a clean System Tray that shows a bare minimum of items and I use an Icons-Only Task Manager which makes it no big deal to have a bunch of running minimized items.

However my preferences are not everybody's, and this behavior is common among other apps that you might want to have running without cluttering up a traditional Windows XP/Vista Task Manager like we ship by default.

Seems like a legitimate request.
Comment 2 Kristopher Ives 2020-01-12 17:40:55 UTC
I agree people have different window manager preferences. I also agree it should be an entirely optional feature disabled by default.
Comment 3 Christoph Cullmann 2020-03-02 19:38:27 UTC
+1 for this idea ;=)

The current behavior (at least that it closes without any question even if still stuff is playing) often leads to accidents here, too.

I agree that this might be optional, but at least for me, it feels strange that the music player not per default just minimized somewhere but really stop playing and closes down.
Comment 4 Juan Simón 2020-03-03 14:18:15 UTC
As a newcomer to KDE Plasma I miss this option too.
Comment 5 Matthieu Gallien 2020-03-16 17:21:19 UTC
https://invent.kde.org/kde/elisa/-/merge_requests/103 is trying to implement that.

If you are able to test, that would be nice.
Comment 6 Matthieu Gallien 2020-03-19 13:50:48 UTC
Git commit f7d3a26fb50d5eea723dee384422a30c6aef7b15 by Matthieu Gallien.
Committed on 16/03/2020 at 17:16.
Pushed by mgallien into branch 'release/20.04'.

allow to have an Elisa icon in system tray and to close main window

M  +2    -0    src/elisa_core.kcfg
M  +8    -0    src/elisaapplication.cpp
M  +8    -0    src/elisaapplication.h
M  +14   -0    src/localFileConfiguration/elisaconfigurationdialog.cpp
M  +18   -1    src/localFileConfiguration/elisaconfigurationdialog.h
M  +1    -0    src/musiclistenersmanager.cpp
M  +4    -1    src/qml/ElisaMainWindow.qml
M  +8    -0    src/qml/GeneralConfiguration.qml
M  +33   -1    src/qml/PlatformIntegration.qml

https://invent.kde.org/kde/elisa/commit/f7d3a26fb50d5eea723dee384422a30c6aef7b15
Comment 7 Christoph Cullmann 2020-03-19 17:02:20 UTC
Thanks a lot for taking care of this!
Comment 8 Matthieu Gallien 2020-03-19 22:21:28 UTC
(In reply to Christoph Cullmann from comment #7)
> Thanks a lot for taking care of this!

Thanks for your support