Bug 501180 - The video progress information is missing from program's icon on the panel
Summary: The video progress information is missing from program's icon on the panel
Status: REPORTED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: 1.3.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-07 11:42 UTC by John
Modified: 2025-03-26 00:19 UTC (History)
1 user (show)

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


Attachments
Example of Elisa showing progress on its panel task manager entry (18.65 KB, image/png)
2025-03-21 19:07 UTC, John Kizer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2025-03-07 11:42:10 UTC
SUMMARY
The video progress information is missing from program's icon on the panel, so integration with Plasma is not as good as it could be and it's also not good for some use cases

STEPS TO REPRODUCE
1. Play a video in windowed mode or full screen mode (on another screen)
2. Optional: Skip a bit ahead so it's a bit further away than the absolute beginning (to make it easier to notice the problem).
3. Look at the program's icon in the panel.


OBSERVED RESULT
Unlike Discover at least, (with downloading and installing updates) the player doesn't show the progress of the video playback in its icon on the panel.
I don't have any audio file at the moment, so I didn't test with that too.

EXPECTED RESULT
The player shows the video's progress.
So if:
1. You're playing a concert or music video minimized as you don't care to see the image that moment since you just want to listen.
2. You're playing a movie on an another screen, like a monitor or TV, which most likely is in full screen.

You should still be able to see the progress on that full screen movie on the main screen program's icon in the panel.

SOFTWARE/OS VERSIONS
Linux (Debian 13 - unstable repository)/KDE Plasma:
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.17-amd64 (64-bit)
Mesa  Version: 25.0.0-1
Graphics Platform: Wayland

HARDWARE SPECIFICATIONS
Hardware: Laptop Dell Inspiron 5770 (17" 1080p@60Hz screen)
CPU: Intel® Core™ i5-8250U CPU @ 1.60GHz
GPU 1: Intel® UHD Graphics 620 (main, Vulkan capable)
GPU 2: AMD Radeon R5 M465 Series
RAM: 8 GiB (7.7 GiB usable)

ADDITIONAL INFORMATION
To better understand my use case at Home I have opposite to a sofa, near the wall, next to each other:
The desktop computer, then the 5.1 AV receiver, then the TV. AV receiver in the middle to get the sound passing through it.
With the desk and other supporting furniture there's considerable amount of space between my desktop monitor and the TV, which makes things hard to see on the TV from the computer's chair.
Anyway, with this setup I'm able to put from the desktop computer movies, tv shows and concerts and the TV as the screens are in extended mode and I just drag the video player window to the TV and double click on the image to make if full screen.

To be able to see the video's progress on the TV without bothering my family and friends for which I play the videos and also destroy their immersion, I need to easily verify the progress without going with the mouse to the TV and hovering around to see the progress bar.
That's also hard to do with the distance between the desktop computer that has the mouse and the TV which I see at an angle.
While I was using Windows 7 + MPC-HC this was easily to be done as MPC-HC was transmitting to Windows 7 the progress to color the icon accordingly.
Here on Linux, neither Haruna, nor MPV, or VLC show it.
But considering that Qt / Plasma has support for that as Discover clearly demonstrate it (and maybe other programs too, but I don't remember which. Nate also mentioned it years ago on its blog) and Haruna being build with Qt and a KDE program, this should be possible and very helpful to have, besides making the player more professional and integrated with Plasma.

Using the laptop's monitor to work on something while I have some video playback on the external monitor is another case that I have from time ti time and there too it's great to just look at the icon to know the status of the playback.
BTW, when the playback it's paused, it would be nice that besides the progress a yellow color will be shown to be more obvious at a glance that the playback is paused for whatever reason.  Or a red color if the last video from a playlist was reached and the playback stopped.
That would probably require going into Dolphin to change the folder, like the seasons of a tv show.
Comment 1 John Kizer 2025-03-21 19:07:00 UTC
Hi! Just to clarify, is the progress information display on the panel like what can be optionally enabled in Elisa, shown in the attachment I'll be adding here?
Comment 2 John Kizer 2025-03-21 19:07:48 UTC
Created attachment 179639 [details]
Example of Elisa showing progress on its panel task manager entry
Comment 3 John 2025-03-26 00:19:44 UTC
(In reply to John Kizer from comment #1)
> Hi! Just to clarify, is the progress information display on the panel like
> what can be optionally enabled in Elisa, shown in the attachment I'll be
> adding here?
Hi!
I don't have Elisa installed and even if I install it to test how it works there, I don't have any song at the moment on my computer to test it with.
Plus my task bar / panel uses the new default square shape icons instead of the rectangular ones.

But I think your attachment shows that Elisa is most likely doing what Discover is doing to show progress, which is what I want!
I could not find similar things online, except from Windows, like this image:
https://wyday.com/blog/images/2009/windows-7-taskbar-pb/wyUpdate-installing.win7.png
And this video, which is how I remember it was with MPC-HC on Windows 7 and I think the progress background color was yellow instead of green when the playback was paused (but that's not shown in the video):
https://youtu.be/OY7Ie41LSHA?t=26
Which seems to be working for streaming too:
https://youtu.be/rtc-x_s13sc?t=197

And here's an example with MPC-HC in Windows 10 (also with the yellow color when playback is paused):
https://www.youtube.com/watch?v=sg2CIbgbwzw
In my opinion a red color would be nice to be shown too when something very bad happens like the file being moved to trash / deleted or the network connectivity being gone if the file is from a server or streaming option is used. It would raise the attention and be more clear that something very bad happened and that's why the playback was stopped.

Here I saw that there's an answer on how this can be implemented, but it's probably not as up to date as the code in Discover or Elisa:
https://stackoverflow.com/a/43919667
Unfortunately I cannot find this part in the source code of Discover or Elisa.