Bug 506486

Summary: Media Frame Widget not updating
Product: [Plasma] plasmashell Reporter: rafalb85
Component: Media Frame widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: sitter
Priority: NOR    
Version First Reported In: 6.4.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rafalb85 2025-07-02 12:29:37 UTC
SUMMARY
I have a Media Frame widget on my task panel pointing to a PNG file. That file gets changed (overwritten) by a script after a certain task is accomplished to let me know the status (visually). It's been working great for years up until the recent update to Plasma 6.4. Picture will no longer update. I've checked my script and it's still working as intended (overwriting that png file). I also tried re-adding the Media Frame widget - still no joy.


STEPS TO REPRODUCE
1. Add "Media Frame" widget to a panel.
2. Configure Media Frame "Path" -> "Add Files" - add a png file
3. Overwrite that file with some other graphics.

OBSERVED RESULT
Media Frame widget is still displaying the old file.

EXPECTED RESULT
Media Frame should display the new file.

Linux/KDE Plasma: Arch Linux 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Comment 1 Harald Sitter 2025-07-02 15:30:22 UTC
For efficiency reasons it unfortunately seems impractical to have the media frame monitor for file replacement.
Comment 2 rafalb85 2025-07-02 21:44:39 UTC
Is there a walk-around for this? I have multiple machines relying on this. Is there a command I could use to force the widget to update in my script?