Unable to call gnome-sushi with Files

Bug #1380139 reported by Francesco Manghi
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Files
Won't Fix
Wishlist
Ivan Fateev

Bug Description

As we all know, it's not possible to use gnome-sushi preview application in non-nautilus file manager.
There was the opportunity to install and use Gloobus-Preview to do something similar, but at the state of art gnome-sushi is better than Gloobus-preview (for example in sushi i can select text inside previewed pdf file but i can't do that with Gloobus).

So i sent a mail to a Gnome Sushi developer to ask for some enlightment about how to start sushi al least from command line, to see if it was possible to integrate sushi in Files simply.

He answered me with these 2 links, saying that it will be very simple to integrate sushi with other file managers.
I'm not a programmer so i can't help you, but i report what he said:

"Sushi uses DBUS to comunicate with the calling process
This is the DBUS interface exposed by Sushi:

https://git.gnome.org/browse/sushi/tree/src/js/ui/application.js#n42

And this is the Nautilus code that call for it (it's C):

 https://git.gnome.org/browse/nautilus/tree/src/nautilus-previewer.c "

I translate the conversation from Italian, so maybe "exposed" and "call for" are not the exact translation, but i hope it will help to integrate Sushi in Files

Tags: files sushi

Related branches

Changed in pantheon-files:
importance: Undecided → Wishlist
Ivan Fateev (ivanfateev)
Changed in pantheon-files:
assignee: nobody → Ivan Fateev (ivanfateev)
status: New → In Progress
Revision history for this message
Ivan Fateev (ivanfateev) wrote :

I've finished the work on this bug. It works for me. Should I propose it to merge?

Revision history for this message
Ivan Fateev (ivanfateev) wrote :

I should mention that gnome-sushi works fine without nautilus, so the nautilus dependency is unnecessary.
Also I found some patches that would make gnome-sushi more awesome and mac os - like: https://bugzilla.gnome.org/show_bug.cgi?id=665111. When this will be merged into sushi, we can add support for it.

Ivan Fateev (ivanfateev)
Changed in pantheon-files:
status: In Progress → Fix Committed
Revision history for this message
Danielle Foré (danrabbit) wrote :

Please do not mark a bug fixed unless the fix has been merged into Trunk

Changed in pantheon-files:
status: Fix Committed → In Progress
Revision history for this message
Ivan Fateev (ivanfateev) wrote :

@Daniel sorry, misunderstood the status

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

It is an elementary design decision not support a previewer in Files; there is little difference in time for the file to open in the default app compared to the previewer and the intention is to reduce any time difference further. Therefore this bug will be marked "Won't Fix"

Changed in pantheon-files:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.