! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Nautilus-like mouseover preview
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description Connor Behan 2011-02-26 20:40:09 CET
Created attachment 3527 
Gstreamer audio preview

I don't know if anyone has switched away from Thunar because of this and maybe it doesn't matter. Most open source devs are friendly and don't "compete" right? Even though I like Thunar better for most things, one feature in Nautilus that I have yet to see duplicated is the automatic preview of audio files.

This patch may be flaky but it took me awhile to get right. I think the audio preview is quite reliable. It uses a timer and motion-notify-events and it is careful not to interfere with existing clicking and dragging callbacks. The mouse cursor is changed with GDK and the file is played with Gstreamer. I'd be thrilled if you could work it into Thunar in some way.
Comment 1 Connor Behan 2011-08-28 23:52:02 CEST
Created attachment 3837 
Updated version

The old version only worked with local files and crashed when using a detailed list view. This resolves both issues.
Comment 2 Jannis Pohlmann editbugs 2011-08-29 00:03:12 CEST
Mmh, cool stuff. Why didn't I notice this earlier? I cannot guarantee to have time to look at this more closely in the next few weeks but this looks pretty interesting.
Comment 3 Nick Schermer editbugs 2012-11-06 13:13:09 CET
This does not apply to the current version of Thunar, but Gst embedded in Thunar is a no-go.
Comment 4 Connor Behan 2012-11-14 08:33:04 CET
Created attachment 4726 
Patch as of 2012-11

Gst seemed like the least hackish way to do it. Is there another library that you wouldn't mind introducing as a compile time option? If not, I'll keep maintaining the patch for the niche users who want this.
Comment 5 Connor Behan 2012-12-11 12:11:49 CET
Created attachment 4791 
Patch as of 2012-12
Comment 6 Connor Behan 2015-03-10 05:47:47 CET
Created attachment 6064 
Patch as of 2015-03
Comment 7 kuko 2019-01-22 12:50:46 CET
gst-libav GStreamer Multimedia Framework ffmpeg Plugin

https://gstreamer.freedesktop.org/modules/gst-ffmpeg.html
https://en.wikipedia.org/wiki/GStreamer_FFmpeg_plug-in

enlightenment's file manager has an audio/video pop up preview
Comment 8 Git Bot editbugs 2020-05-26 23:09:50 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/27.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #7354

Reported by:
Connor Behan
Reported on: 2011-02-26
Last modified on: 2020-05-26

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Gstreamer audio preview (14.96 KB, text/x-c)
2011-02-26 20:40 CET , Connor Behan
no flags
Updated version (16.10 KB, patch)
2011-08-28 23:52 CEST , Connor Behan
no flags
Patch as of 2012-11 (15.67 KB, patch)
2012-11-14 08:33 CET , Connor Behan
no flags
Patch as of 2012-12 (15.65 KB, patch)
2012-12-11 12:11 CET , Connor Behan
no flags
Patch as of 2015-03 (16.18 KB, patch)
2015-03-10 05:47 CET , Connor Behan
no flags

Additional information