spacedriveapp / spacedrive

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
https://spacedrive.com
GNU Affero General Public License v3.0
32.88k stars 970 forks source link

Enabling Quick View for Videos Causes File Manager to Become Unresponsive #2719

Open iamkartiknayak opened 1 month ago

iamkartiknayak commented 1 month ago

Check for other issues

Issue description

When enabling the Quick View feature for video files, the file manager becomes unresponsive. The app fails to handle the video preview, and the only way to recover from this state is to restart the application.

Steps to reproduce

  1. Open Spacedrive App
  2. Click on a video file
  3. Activate Quick Preview either using Space-bar key or using context menu.

Platform and versions

Development tool versions (optional)



Stack trace

GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:40729): GLib-GObject-WARNING **: 19:10:47.085: invalid (NULL) pointer instance

(WebKitWebProcess:40729): GLib-GObject-CRITICAL **: 19:10:47.085: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Additional context

https://github.com/user-attachments/assets/d77d85a4-15f0-4857-b5f2-12f77e8b96d9

Code of Conduct

linear[bot] commented 1 month ago

ENG-1899 Enabling Quick View for Videos Causes File Manager to Become Unresponsive

HeavenVolkoff commented 1 month ago

Hey, thanks for reporting this issue.

Given the logs, I think this is something similar to: https://github.com/spacedriveapp/spacedrive/issues/1019

Can you check if you have the following gstreamer packages installed? gstreamer1.0-alsa gstreamer1.0-gtk3 gstreamer1.0-pipewire gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly

iamkartiknayak commented 1 month ago

I have these installed. Still facing the same problem I'm running Pop!_OS 22.04 with COSMIC DE

sudo apt install gstreamer1.0-alsa gstreamer1.0-gtk3 gstreamer1.0-pipewire gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gstreamer1.0-pipewire is already the newest version (1.0.2~1707732619~22.04~b8b871b).
gstreamer1.0-pipewire set to manually installed.
gstreamer1.0-plugins-ugly is already the newest version (1.20.1-1).
gstreamer1.0-plugins-ugly set to manually installed.
gstreamer1.0-alsa is already the newest version (1.20.1-1ubuntu0.2).
gstreamer1.0-alsa set to manually installed.
gstreamer1.0-gtk3 is already the newest version (1.20.3-0ubuntu1.1).
gstreamer1.0-gtk3 set to manually installed.
gstreamer1.0-plugins-good is already the newest version (1.20.3-0ubuntu1.1).
gstreamer1.0-plugins-bad is already the newest version (1.20.3-0ubuntu1.1).
gstreamer1.0-plugins-bad set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.