OOo should use %F instead of %U for desktop files.

Bug #347209 reported by Fernando Miguel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Fix Released
Medium
Chris Cheney

Bug Description

Binary package hint: openoffice.org

Trying to open an OOo file via nautilus on a network share, just makes OOo open splash and then closes itself.

$ apt-cache policy openoffice.org
openoffice.org:
  Installed: 1:3.0.1-7ubuntu1
  Candidate: 1:3.0.1-7ubuntu1
  Version table:
 *** 1:3.0.1-7ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy gvfs
gvfs:
  Installed: 1.2.0-0ubuntu1
  Candidate: 1.2.0-0ubuntu1
  Version table:
 *** 1.2.0-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: openoffice.org 1:3.0.1-7ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
SourcePackage: openoffice.org
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

Not sure if related or dupe of bug 191771, but that one is closed, and this is now in jaunty

Revision history for this message
Chris Cheney (ccheney) wrote :

You found a bug in gvfs as OOo uses gio gvfs fuse now... :-)

Revision history for this message
Sebastien Bacher (seb128) wrote :

reassigning to openoffice there is no indication of any gvfs bug there, openoffice could be just crashing

Revision history for this message
Chris Cheney (ccheney) wrote :

Apparently somehow nautilus is sometimes sending uri's to openoffice.org
10:02 < BUGabundo> 4311 ? Rl 0:00 /usr/lib/openoffice/program/soffice.bin -writer smb://192.168.3.200/empresa/RELATORIOS/SLAVI/slavi.odt -splash-pipe=5

Changed in openoffice.org:
assignee: nobody → ccheney
importance: Undecided → High
milestone: none → ubuntu-9.04
status: New → Triaged
Revision history for this message
Chris Cheney (ccheney) wrote :

I see this for a samba share:

ccheney 5031 9.3 2.4 641964 93164 ? Sl 10:07 0:01 /usr/lib/openoffice/program/soffice.bin -writer /home/ccheney/.gvfs/personal on desktop-c2d/test.odt -splash-pipe=5

So apparently nautilus isn't consistently sending gvfs fuse paths when it can to applications which have a %U. It seems to almost always send gvfs fuse paths but then seemingly sends uris for no particular reason other times. I should change OOo since it uses gvfs fuse to %F but nautilus also seems to be buggy in that it has inconsistent behavior about what type of location it sends a GIO path or uri.

Revision history for this message
Chris Cheney (ccheney) wrote : Re: nautilus sometimes sends GIO uri instead of path (breaks OOo)

0:10 < BUGabundo> $ ls -lah .gvfs/
10:10 < BUGabundo> total 12K
10:10 < BUGabundo> drwx------ 2 bugabundo bugabundo 6 2008-05-09 16:38 ./
10:10 < BUGabundo> drwx------ 127 bugabundo bugabundo 8.0K 2009-03-25 15:01 ../
10:10 < BUGabundo> this could explain it!
10:10 < BUGabundo> I don't see the share on .gvfs

So it appears BUGabundo's system is in a weird broken state, however OOo should still not be using %U and should switch to %F

Revision history for this message
Chris Cheney (ccheney) wrote :

Sebastien responded with what might be causing your problem with .gvfs not being there.

10:18 < seb128> calc: you don't have .gvfs is gvfs-fuse is not installed or if
                you don't have permissions to use fuse
10:19 < seb128> that used to be a group membership required, not sure nowadays

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

some how gvfs-fusa was not installed!
seb128 debuged it and now it worls!

Changed in openoffice.org (Ubuntu):
status: Triaged → Invalid
Chris Cheney (ccheney)
Changed in openoffice.org:
status: Invalid → Triaged
Chris Cheney (ccheney)
Changed in openoffice.org (Ubuntu):
importance: High → Medium
Chris Cheney (ccheney)
Changed in openoffice.org (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openoffice.org - 1:3.0.1-9ubuntu1

---------------
openoffice.org (1:3.0.1-9ubuntu1) jaunty; urgency=low

  * Resynchronise with Debian (r1448). Remaining changes:
    - Add Launchpad integration support.
    - Add Launchpad translations support.
    - Add package openoffice.org-style-human.
    - Add some Ubuntu-specific bitmaps. Adjust broffice diversions for these.
    - Add support for compressing debs with lzma.
    - Add support for shared /usr/share/doc directories.
    - Add support to build l10n as a separate source.
    - Add support to build on lpia.
    - Add support to turn off building on sparc.
    - Add Xb-Npp-xxx tags according to "firefox distro add-on suport" spec.
    - Set startcenter.desktop to not display in the menu.
    - Use imagemagick instead of graphicsmagick.
    - openoffice.org-help switch to internal copy of lucene.
    - Disable gnome-vfs support since it is buggy.
    - Correct diversions for broffice.org. (LP: #347144)
    - Drop Pre-Depends lzma. (LP: #353336)
    - Remove hicolor and locolor icons. (LP: #339590)
    - Remove qa packages. (LP: #89005)
    - Switch desktop files from %U to %F for gvfs fuse. (LP: #347209)
    - Update human icon theme. (LP: #348666)
  * Resynchronise with ooo-build-3-0-1 (1bfac2ec2a2557d3388330cf35c821a5876f86e9).
    - Add GSI for ca. (LP: #283772)
    - Add pyuno-python26.diff (LP: #346443)
    - Update GSI from linux.cz for be-BY, bg, et, ga, gd, nb, nn, ro, sk, sl.

 -- Chris Cheney <email address hidden> Mon, 06 Apr 2009 00:25:00 -0500

Changed in openoffice.org (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Chris Cheney (ccheney) wrote :

There appears to be two copies of desktop files in our build... and I patched the wrong set, argh. Will fix in the next upload.

Changed in openoffice.org (Ubuntu):
status: Fix Released → Triaged
Chris Cheney (ccheney)
Changed in openoffice.org (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openoffice.org - 1:3.0.1-9ubuntu2

---------------
openoffice.org (1:3.0.1-9ubuntu2) jaunty; urgency=low

  * Disable building on sparc since it always fails in different ways.
  * Remove GSI for ca added in previous release as it causes FTBFS.
  * Really switch desktop files from %U to %F for gvfs fuse. (LP: #347209)
  * Resynchronise with ooo-build-3-0-1 (0eebe32b70e8f54605f474f26cd50c8b3ccf845c).

 -- Chris Cheney <email address hidden> Wed, 08 Apr 2009 13:30:00 -0500

Changed in openoffice.org (Ubuntu):
status: Fix Committed → Fix Released
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.