Bug 416170 - Optional feature to Minimize Elisa to the system tray
Summary: Optional feature to Minimize Elisa to the system tray
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 19.12.1
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Matthieu Gallien
Depends on:
Reported: 2020-01-12 15:16 UTC by Kristopher Ives
Modified: 2020-03-19 22:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 20.04.0


Note You need to log in before you can comment on or make changes to this bug.
Description Kristopher Ives 2020-01-12 15:16:50 UTC
It would be nice to be able to minimize Elisa to the system tray / notification tray area.

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

Playback stops and Elisa is gone.

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

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

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