Bug 479414

Summary: Media frame widget lacks compact representation
Product: [Plasma] plasmashell Reporter: Ilya Bizyaev <bizyaev>
Component: Media Frame widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, kde, nate
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:

Description Ilya Bizyaev 2024-01-04 22:20:56 UTC
SUMMARY

In Plasma 5, adding a Photo Frame widget to a panel created a “photo” icon that on click showed a popup with the actual slideshow.

Plasma 6 attempts to embed the full representation into the panel. While showing a thumbnail of the image in the panel might be a nice addition, I would like it to still open the popup on click to show a bigger image.

This also causes the widget to show a “Configure…” button upon addition that overlaps with widgets to the right from it, e.g. the system tray.


STEPS TO REPRODUCE
1. Add a Photo Frame widget to the panel.
2. Observe it show the “Configure…” button inline.
3. Configure the widget with images to show.
4. Observe the images being shrunk to fit the panel. Clicking the currently displayed image opens the configured photo viewer, even if the corresponding option is disabled in widget's settings.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231226
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-01-11 20:52:35 UTC
Can reproduce.
Comment 2 Shubham Arora 2024-03-03 10:26:33 UTC
*** Bug 473296 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2025-03-21 14:44:43 UTC
Git commit 4c37094d07249f9d01fcd3759f92b5e1937a9f1d by Marco Martin.
Committed on 21/03/2025 at 14:30.
Pushed by mart into branch 'master'.

applets/mediaframe: well behave in panels

switch to icon when there is no space, display the image in the panel
icon
Related: bug 361872

M  +227  -224  applets/mediaframe/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/4c37094d07249f9d01fcd3759f92b5e1937a9f1d