Bug 521538 - A blank image occasionally appears as the first image in the media frame for no apparent reason
Summary: A blank image occasionally appears as the first image in the media frame for ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Frame widget (other bugs)
Version First Reported In: 6.6.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-06-16 21:16 UTC by Aaron Rainbolt
Modified: 2026-07-24 16:30 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Rainbolt 2026-06-16 21:16:04 UTC
DESCRIPTION
I don't know how exactly to reproduce this, but with a media frame with twelve images in it, sometimes the first one will end up being blank, making it look like the media frame is either empty or missing (depending on how you've configured it) until the image switch timer expires. Once the timer expires, the image that was supposed to be the first image in the widget appears. If you use the back button in the widget to look at the "previous" image, the blank image appears again.

STEPS TO REPRODUCE
1. Create a media frame widget.
2. Add 12 or so images to it.
3. Set the image cycle time to an hour (that's what mine is configured to).
4. ???

OBSERVED RESULT
A random blank image occasionally appears as the first image; the real first image is shown immediately after it.

EXPECTED RESULT
No random blank images should show up.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION
n/a
Comment 1 Akseli Lahtinen 2026-06-18 09:44:47 UTC
Could not repro with smaller set of images and using 1 second timer, random order or not.

Are the images you have all in same folder? Did you add a folder or separate images to the media frame settings?
If you dont mind, we could use screenshots/info of the media frame settings so we can try to replicate it as close as possible.

Operating System: KDE Linux 2026-06-18
KDE Plasma Version: 6.7.80
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 ร— AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 2 Bug Janitor Service 2026-07-03 03:48:05 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Aaron Rainbolt 2026-07-07 15:25:50 UTC
I think I figured out how to reproduce the bug reliably.

1. Create a media frame widget.
2. Add some images to it (I downloaded three images off Pixabay for the purpose).
3. Disable the "Randomize order" checkbox.
4. Set the image cycle time to something larger than the default (you don't have to do this, but it should make reproducing the issue easier).
5. In the folder containing your set of images, use Dolphin to make a copy of whatever image the media frame is actively displaying. Make the name of the copy only one letter different than the original.
6. While the media frame is still actively displaying the image, rename the copy to the name of the original image, and confirm that you want to overwrite the original when prompted.

In Plasma 5.27, this resulted in the displayed image flashing a bit, other than that it remained displayed. In Plasma 6.6, the image vanishes from that position in the widget as described in the original report. This is a bit of a problem for software that dynamically modifies the images displayed by the media frame widget (like some of Kubuntu Focus's package setup scripts do), since it means an attempt to change the images the user sees results in images disappearing.
Comment 4 Nate Graham 2026-07-15 20:23:23 UTC
When you follow those steps to trigger the bug, does the slideshow start working properly again after plasmashell is restarted?
Comment 5 David Wild 2026-07-17 23:39:42 UTC
Image disappears after any change (like a permission bit change).

This fixes that https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/1099.

I'm not sure about the case where the first image specifically disappears.
Comment 6 Nate Graham 2026-07-22 16:08:03 UTC
Git commit d7576bc86082f0078978fc56d7482f06ae970982 by Nate Graham, on behalf of David Wild.
Committed on 22/07/2026 at 16:07.
Pushed by ngraham into branch 'master'.

applets/mediaframe: Fix media not updating when watched file changes on disk

Emit correct file:// URL from slotItemChanged.
FIXED-IN: 6.6.7

M  +1    -1    applets/mediaframe/mediaframe.cpp

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/d7576bc86082f0078978fc56d7482f06ae970982
Comment 7 Nate Graham 2026-07-22 16:51:27 UTC
Git commit f2952d2aa44001dcc8000e959dd3902b987a45f6 by Nate Graham.
Committed on 22/07/2026 at 16:08.
Pushed by ngraham into branch 'Plasma/6.7'.

applets/mediaframe: Fix media not updating when watched file changes on disk

Emit correct file:// URL from slotItemChanged.
FIXED-IN: 6.6.7


(cherry picked from commit d7576bc86082f0078978fc56d7482f06ae970982)

7688a942 applets/mediaframe: Fix media not updating when the watched file changes on disk

Co-authored-by: David Wild <davidwild@gmx.com>

M  +1    -1    applets/mediaframe/mediaframe.cpp

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/f2952d2aa44001dcc8000e959dd3902b987a45f6
Comment 8 Nate Graham 2026-07-22 17:10:03 UTC
Git commit f132307c06bd982dc08088f5c04f88781fa33aa1 by Nate Graham.
Committed on 22/07/2026 at 16:09.
Pushed by ngraham into branch 'Plasma/6.6'.

applets/mediaframe: Fix media not updating when watched file changes on disk

Emit correct file:// URL from slotItemChanged.
FIXED-IN: 6.6.7


(cherry picked from commit d7576bc86082f0078978fc56d7482f06ae970982)

7688a942 applets/mediaframe: Fix media not updating when the watched file changes on disk

Co-authored-by: David Wild <davidwild@gmx.com>

M  +1    -1    applets/mediaframe/mediaframe.cpp

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/f132307c06bd982dc08088f5c04f88781fa33aa1
Comment 9 Aaron Rainbolt 2026-07-24 16:30:40 UTC
Can confirm this patch fixes the bug for me on Kubuntu 26.04.