Bug 455465 - Elisa in system tray loses volume controls in Icons-only Task Manager
Summary: Elisa in system tray loses volume controls in Icons-only Task Manager
Status: RESOLVED NOT A BUG
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.2
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-17 08:44 UTC by raguse
Modified: 2022-06-17 19:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
IMG04_Elisa_inTray_after_plasmashell-replace (62.41 KB, image/png)
2022-06-17 08:44 UTC, raguse
Details
IMG01_Elisa_maximized (30.95 KB, image/png)
2022-06-17 08:45 UTC, raguse
Details
IMG02_Elisa_minimized (60.64 KB, image/png)
2022-06-17 08:46 UTC, raguse
Details
IMG03_Elisa_in_Tray (49.69 KB, image/png)
2022-06-17 08:46 UTC, raguse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raguse 2022-06-17 08:44:39 UTC
Created attachment 149842 [details]
IMG04_Elisa_inTray_after_plasmashell-replace

SUMMARY
Waited for 5.25 release in the hope this was corrected:
When Elisa is configured to 'keep running in tray when the main window is closed' the application icon in the icons-only task manager loses its volume controls in the tooltip as they are displayed when the Elisa window is just minimized. With executing command 'plasmashell --replace' in Krunner when Elisa is in tray the volume controls appear back in the icons-only task manager as I think they are correct.
‘Mark applications that play sound’ is activated in the icons-only task manager settings.

With this, it takes 2-3 clicks to quickly mute/unmute Elisa instead on 1 click. Think of tablet usage.

See attached screenshots.

STEPS TO REPRODUCE
1. Open Elisa application
2. In Elisa settings configure 'Keep running in System Tray hen main window is closed'
3. For Icons-only Task Manager make sure in settings it's configured to 'Mark applications that play audio' (default)
4.  Play music in Elisa
5. Close Elisa application window to system tray > Elisa in Icons-only Task Manager does not display audio controls
6. Start Krunner and execute command 'plasmashell --replace'
7. Elisa in Icons-only Task Manager displays audio controls 

OBSERVED RESULT
Icons-only task manager only shows 'Pause', 'Back' and 'Forward' in tooltip when mouse hovers over Elisa in icons-only task manager. No audio icon to mute/unmute is displayed. There is no application volume control on the task manager icon, only in general volume controls > Applications > Elisa.

EXPECTED RESULT
When Elisa runs exclusively in system tray the volume controls should show up in the icons-only task manager like displayed when the Elisa application window is just minimized, as shown in attached IMG04_Elisa_inTray_after_plasmashell-replace.png.
Having the 'mute/unmute' and volume controls in the icons-only task manager allows to mute/unmute Elisa with 1 click.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Graphics Platform: X11

ADDITIONAL INFORMATION
See attached screenshots
Comment 1 raguse 2022-06-17 08:45:43 UTC
Created attachment 149843 [details]
IMG01_Elisa_maximized
Comment 2 raguse 2022-06-17 08:46:14 UTC
Created attachment 149844 [details]
IMG02_Elisa_minimized
Comment 3 raguse 2022-06-17 08:46:47 UTC
Created attachment 149845 [details]
IMG03_Elisa_in_Tray
Comment 4 Nate Graham 2022-06-17 18:32:04 UTC
> Close Elisa application window to system tray > Elisa in Icons-only Task Manager does not display audio controls
That's because you explicitly told Elisa to close to the System Tray. From the Task manager's perspective, it's not even running anymore; this is what it means to "close to System Tray". If you want to interact with Elisa's Task Manager icon while it's running, then you don't want to close it to the System Tray; instead just want minimize its window when you;re done looking at it, and interact with the Task Manager icon instead of a System Tray icon.
Comment 5 raguse 2022-06-17 18:44:51 UTC
(In reply to Nate Graham from comment #4)
> > Close Elisa application window to system tray > Elisa in Icons-only Task Manager does not display audio controls
> That's because you explicitly told Elisa to close to the System Tray. From
> the Task manager's perspective, it's not even running anymore; this is what
> it means to "close to System Tray". If you want to interact with Elisa's
> Task Manager icon while it's running, then you don't want to close it to the
> System Tray; instead just want minimize its window when you;re done looking
> at it, and interact with the Task Manager icon instead of a System Tray icon.

I don't fully agree with it. The reasoning behind putting Elisa into tray is to fully run in background while working on all other open tasks. With other tasks I mean having Elisa not in the task switcher (ALT+Tab) as an active task. When I only minimize it as suggested it will always rotate in ALT+Tab task switcher. 
When in tray it should still be possible to have the audio controls (small speaker icon) in the icons-only task manager. Just my usecase thought.
Comment 6 Nate Graham 2022-06-17 18:58:56 UTC
I'm afraid it's not easily possible without a lot of engineering. What we have is probably what we're going to be stuck with. In Plasma 5.26, you'll be able to mark minimized tasks as always going last in the Task Switcher; maybe you can use that setting.
Comment 7 raguse 2022-06-17 19:05:55 UTC
(In reply to Nate Graham from comment #6)
> I'm afraid it's not easily possible without a lot of engineering. What we
> have is probably what we're going to be stuck with. In Plasma 5.26, you'll
> be able to mark minimized tasks as always going last in the Task Switcher;
> maybe you can use that setting.

Ok then I take it as it is. I thought it was just a minor cosmetic bug, easily to be fixed since it's returning back with plasmashell --replace.
Anyways, I can easily work around that and it's just a click more to mute Elisa with current setup. 

This bug report is considered closed for me.

Thanks for your time @Nate and have a great weekend!
Comment 8 Nate Graham 2022-06-17 19:11:52 UTC
You too!