Nautilus-image-converter does not work immediatly

Bug #269213 reported by Kelson
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nautilus
New
Low
nautilus (Ubuntu)
Triaged
Wishlist
Unassigned
nautilus-image-converter (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: nautilus-image-converter

to do:
1- have an install without nautilus-image-converter and picture to resize
2- install nautilus-image-converter
3- make a right-click on a picture

what you get:
1- nothing new in the context menu

what you await:
1- the nautilus-image-converter new items in the context menu

remark:
1- I have had to restart my computer to have the benefit of nautilus-image-converter

system:
Description: Ubuntu 8.04.1
Release: 8.04

Changed in nautilus-image-converter:
importance: Undecided → Wishlist
Changed in nautilus:
importance: Undecided → Wishlist
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in nautilus:
status: New → Invalid
Revision history for this message
Kelson (emmanuel-engelhart) wrote :

Where is the duplicate ?

Revision history for this message
Martin Owens (doctormo) wrote :

Sebastien, please make sure to post a link to the bug that this bug is a duplicate of.

It makes it hard to traverse the problem space if bugs are closed without proper links.

Revision history for this message
Kelson (emmanuel-engelhart) wrote :

No patch nor duplicate bug report are available.
For this reason, can someone re-open this bug please ?

Revision history for this message
mp (m-p) wrote :

I confirm this bug in full, clean, final installation of Intrepid.

After installing nautilus-image-converter nothing appears in the context menu - after reboot nothing happens either.

The same goes for other, similar nautilus add-ons: none of them appear, rendering Nautilus in Intrepid half the tool it used to be, even if it now has tabs.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Thank you for your bug report and helping improve Ubuntu. I can confirm this, too, and ve just asked on Nautilus' mailing list for information on how to solve this. Let's see if we can fix it for Jaunty.

mp: If you don't get the context menu entries after restarting then you have a different problem, and a very weird one.

Changed in nautilus-image-converter:
status: New → Confirmed
Revision history for this message
mp (m-p) wrote : Re: [Bug 269213] Re: Nautilus-image-converter does not work immediatly

Siegfried Gevatter (RainCT) wrote:
> Thank you for your bug report and helping improve Ubuntu. I can confirm
> this, too, and ve just asked on Nautilus' mailing list for information
> on how to solve this. Let's see if we can fix it for Jaunty.
>
> mp: If you don't get the context menu entries after restarting then you
> have a different problem, and a very weird one.

I see, - I never had any of this before upgrading to Intrepid/2.24.1-0

But now it looks like this:

All of the following presumably related bugs are present in
Intrepid's/GNOME's new Nautilus:
https://bugs.launchpad.net/ubuntu/+source/audio-convert/+bug/130055
https://bugs.launchpad.net/ubuntu/+source/nautilus-wallpaper/+bug/144208
https://bugs.launchpad.net/ubuntu/+source/nautilus-image-converter/+bug/269213

This also goes for nautilus image-converter:

1. apt-get install nautilus-image-converter
2. Restart Nautilus (still doesn't appear)
3. Reboot machine (still doesn't appear)

Following the advice on
https://bugs.launchpad.net/ubuntu/+source/audio-convert/+bug/130055 -
which says:

"the user must read
'/usr/share/doc/nautilus-script-audio-convert/README.Debian' and
discover they must run:

'nautilus-script-manager enable ConvertAudioFile'"

..solves the problem with _that_ particular extension/add-on, but the
other add-ons remain absent and essentially renders Nautilus half the
tool it used to be. You cannot resize images, cannot rotate them etc. etc.

All of the scripts normally installable via:

apt-get install nautilus-script-collection-svn

suffer the same problem.

Revision history for this message
Martin Owens (doctormo) wrote :

When developing it's just a case of restarting the nautilus process. A post-install script would fix it. But better check with the nautilus devs.

Revision history for this message
Martin Owens (doctormo) wrote :

mp: can you open a new bug report? that is a different bug from this one.

Revision history for this message
mp (m-p) wrote :

Yes, I have opened one here, just now:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/292207

Martin Owens wrote:
> mp: can you open a new bug report? that is a different bug from this
> one.
>

Revision history for this message
Siegfried Gevatter (rainct) wrote :

2008/11/1 Martin Owens <email address hidden>:
> When developing it's just a case of restarting the nautilus process. A
> post-install script would fix it.

Indeed, but we can't just go and restart a process. Ideally there
would be some command to tell Nautilus to look for new (and removed)
scripts.

Revision history for this message
Noel J. Bergman (noeljb) wrote :

> Indeed, but we can't just go and restart a process. Ideally there
> would be some command to tell Nautilus to look for new (and
> removed) scripts

Well, kill -HUP works to restart nautilus with the new plugins (I've done this many times). Does that meet your characteristic of a means to tell nautilus to restart cleanly?

Revision history for this message
Siegfried Gevatter (rainct) wrote :

2008/11/22 Noel J. Bergman <email address hidden>:
> Well, kill -HUP works to restart nautilus with the new plugins (I've
> done this many times). Does that meet your characteristic of a means to
> tell nautilus to restart cleanly?

Nope, we can't close windows the user has open. The only option I can
thing of so far (without changes upstream) is a notification like
Firefox shows about having to restart.

Revision history for this message
Kelson (emmanuel-engelhart) wrote :

I think that displaying a dialogbox with the following message (or something better) is an acceptable workaround :

You have to restart Nautilus to benefit from the new plugin.
Do you want to do it now (this will close all you Nautilus windows) ?
[Yes|No]

... and if "Yes" do a "kill -HUP" like proposed...

Revision history for this message
A. Walton (awalton) wrote :

On the other hand, the software wouldn't care much if we registered new modules later in the lifecycle. It's not inconceivable for us to register a directory monitor for the plugin directory, watch for changes and load any modules that appear during runtime, we just don't do that right now.

I haven't checked that this patch is any good yet; I'm at family's and I don't have access to my normal development machine, but it should be fairly close to what's needed.

Revision history for this message
mp (m-p) wrote :

I really can't help to wonder why this very useful thing remain a
plugins - isn't it a pretty basic feature of a file browser?

A. Walton wrote:
> On the other hand, the software wouldn't care much if we registered new
> modules later in the lifecycle. It's not inconceivable for us to
> register a directory monitor for the plugin directory, watch for changes
> and load any modules that appear during runtime, we just don't do that
> right now.
>
> I haven't checked that this patch is any good yet; I'm at family's and I
> don't have access to my normal development machine, but it should be
> fairly close to what's needed.
>
> ** Attachment added: "rough-take.diff"
> http://launchpadlibrarian.net/19864647/rough-take.diff
>

Revision history for this message
A. Walton (awalton) wrote :

I couldn't disagree more. A pretty basic feature of a file browser is "launch a file". A pretty complicated tack-on feature of a file manager is image editing (even if it is just basic rotations and such). I use the plugin myself, but I honestly could live without it, especially since almost every image viewer has the same feature on the toolbar. Furthermore the extension relies on imagemagick, whereas the rest of Nautilus doesn't.

However, keep in mind that the patch I posted simply adds a watch for the plugins directory so that newly installed plugins are picked up without restarting Nautilus, and that is has nothing to do with this specific plugin.

Changed in nautilus-image-converter:
status: Confirmed → Invalid
Changed in nautilus:
assignee: nobody → desktop-bugs
status: Invalid → In Progress
Revision history for this message
Kelson (emmanuel-engelhart) wrote :

I'm fully agree with A. Walton.

A. Walton, If I correctly understand, your patch allows to Nautilus to "run" plugins without to have being restarted... and to add a plugin and use it, we will just need to write a file in the special Nautilus plugin directory. If that's the case, I find your patch, in principle, fully OK : that seems to be for me the best solution ; but what says the Nautilus dev. team about it ? Do we have a chance to see it, or something similar, integrated in the Nautilus trunk ? Do you are in touch with them ? or maybe part of them ?

Revision history for this message
A. Walton (awalton) wrote :

I am a GNOME developer working on Nautilus whenever I actually have time to do so ;). Patch needs to be reviewed and tested before it can go into trunk, but in principal it should work as it is. It simply watches the plugins directory and loads the plugin whenever a new one is detected in the folder (though with a bit of delay to make sure that everything's saved on disk properly).

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I've filed a bug report in GNOME's BTS, at: http://bugzilla.gnome.org/show_bug.cgi?id=561957

A. Walton: Thanks for looking into this! :)

Changed in nautilus:
assignee: desktop-bugs → nobody
status: In Progress → Triaged
Changed in nautilus:
assignee: nobody → desktop-bugs
Changed in nautilus:
status: Unknown → New
Revision history for this message
Nigel Babu (nigelbabu) wrote :

I have forwarded this patch upstream. Walton, if you could subscribe to the upstream bug and respond to upstream feedback, that would be great. Thank you for the patch.

tags: added: patch-forwarded-upstream
Changed in nautilus:
importance: Unknown → Low
Changed in nautilus (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
Emmanuel Brunet (hznteam) wrote :

8 years after .. same isuue .. regression isn't it ? on debian 8 / gnome

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.