STEPS TO REPRODUCE 1. GTK_USE_PORTAL=1 firefox, upload file, activate preview panel 2. select some video file, e.g. a webm OBSERVED RESULT There is no timeline and play/pause button in the preview panel, it only shows a still image. EXPECTED RESULT Timeline and play/pause button and the "play automatically" checkbox. SOFTWARE/OS VERSIONS XUbuntu 22.04.01 LTE Note it did work in the previous version, but was prone to crashes.
Can reproduce.
Note: I don't know how close these projects are and whether this is useful information, but it also works as expected in Dolphin.
Cannot reproduce. Which KIO versions are involved here?
As it turns out you may be missing phonon when building kio-extras? Without it kfileaudiopreview doesn't get built
That was what it was, yeah. Good thinking. ruqini, do you have the kio-extras package installed? If not, does it start working if you install it?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
(In reply to Nate Graham from comment #5) > That was what it was, yeah. Good thinking. > > ruqini, do you have the kio-extras package installed? If not, does it start > working if you install it? Hello, sorry for the late reply. "kio-extras" is installed, version "4:21.12.3-0ubuntu1". (In reply to Harald Sitter from comment #4) > As it turns out you may be missing phonon when building kio-extras? Without > it kfileaudiopreview doesn't get built Is this a build configure switch? I would then assume this is not actually a KDE bug, but on the maintainer of the Ubuntu package. If he/she is not lurking here, feel free to close the ticket. Best regards.
Problem persists with Ubuntu 22.10 (kio-extras 4:22.08.2-0ubuntu1).
Created attachment 153303 [details] Rare glitch. Black area is censorship added by me. In rare cases there is a glitch, where the time bar and controls are actually shown (twice), but no video. Also appears for png images, even un-animated ones. Cannot reproduce on purpose, just happens sometimes. This may not be useful information, except that it rules out, that the package maintainer forgot to switch the build option on. It's just bugged.
(In reply to ruqini from comment #0) > OBSERVED RESULT > There is no timeline and play/pause button in the preview panel, it only > shows a still image. I am able to reproduce this on Plasma 5.26.2 (KF 5.99.0, kio-extras 22.08.2). All mp4 files display first frame of the video, without buttons and timeline. (In reply to ruqini from comment #9) > Also appears for png images, even > un-animated ones. Cannot reproduce on purpose, just happens sometimes. Though it happens every time I try to preview files with extensions like png, gif, webm and mkv. On the other hand, extensions like kra, jpg, xcf, svg and files containing plain text display just fine.
I can confirm this on Debian 13 (Trixie) - unstable repository, with: SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.11.0 Qt Version: 6.7.2 Kernel Version: 6.12.16-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: Mesa Intel® UHD Graphics 620 (main, Vulkan capable) GPU 2: AMD Radeon R5 M465 Series RAM: 8 GiB (7.7 GiB usable) I tested it with 'Open File" of Kate as the GTK_USE_PORTAL=1 environment variable might be broken, it's ignored for me: https://bugs.kde.org/show_bug.cgi?id=500240 For some files just a frame is shown, from somewhere in the video. For others just the cover.jpg or the cover_land.jpg is shown, which might be related to these 2 other problems, since I've tested only with existing .mkv files: https://bugs.kde.org/show_bug.cgi?id=500113 https://bugs.kde.org/show_bug.cgi?id=500117 Anyway, I didn't even know that the preview panel could play videos and from my test, if it did, it seems to still not be able to.