The problem seems that libreoffice doesn't like path that is not
relative to the firefox folder.

When the firefox profile.ini is such :

[Profile1]
Name=user1
IsRelative=1
Path=user1
Default=1

it's OK for libreoffice

But when it is such :

[Profile1]
Name=user1
IsRelative=0
Path=/home/user1/.mozilla/firefox/user1
Default=1

libreoffice fails to open the password protected file !

libreoffice also fails if there is no ~/.mozilla folder at all.

(Firefox has no problem with the not relative path and, in this case, when 
launched with the second version of profile.ini it rewrites it into the first 
version (relative).
It cannot transform it when the path is outside of the firefox folder.)

Now the bug seems to be either that :
- libreoffice should not access the firefox profile when opening or saving 
password protected files ?
- and/or libreoffice cannot follow unrelative path in profile.ini

Remember : my config is not new, and it still works with libreoffice 3.4.4 on 
Ubuntu 11.10.
So it's some kind of a regression anyway. Affecting libreoffice 3.5.2.2

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/919659

Title:
  Can't open/save document or spreadsheet with password, when mozilla
  profile has an absolute path

Status in LibreOffice Productivity Suite:
  Incomplete
Status in “libreoffice” package in Ubuntu:
  Incomplete
Status in “libreoffice” package in Debian:
  Confirmed

Bug description:
   1) lsb_release rd
   Description: Ubuntu 11.10
   Release:     11.10
   
   2) apt-cache policy libreoffice-calc
   libreoffice-calc:
     Instalado: 1:3.4.5-0ubuntu1
     Candidato: 1:3.4.5-0ubuntu1
     Tabela de versão:
    *** 1:3.4.50ubuntu1 0
           500 http://br.archive.ubuntu.com/ubuntu/ oneiric-proposed/main amd64 
Packages
           100 /var/lib/dpkg/status
        1:3.4.40ubuntu1 0
           500 http://br.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 
Packages
        1:3.4.33ubuntu2 0
           500 http://br.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
   
  3) What is expected to happen in LibreOffice Writer via the Terminal:
  cd ~/Desktop && wget 
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/919659/+attachment/2700639/+files/test.odt
 && lowriter nologo test.odt
    
  type in the password:
  password
    
  and the file opens successfully, as it does in 3.4.4.
    
  4) What happens instead is that the file does not open and a message pops up:
  LibreOffice 3.4
  The password is incorrect. The file cannot be opened.
    
  This problem is unreproducible in:
  lsb_release rd
  Description: Ubuntu precise (development branch)
  Release: 12.04

  apt cache policy libreoffice-writer
  libreoffice-writer:
    Installed: 1:3.5.0~beta2-2ubuntu4
    Candidate: 1:3.5.0~beta2-2ubuntu4
    Version table:
   *** 1:3.5.0~beta2-2ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

  == Regression details ==
  Discovered in version: 3.4.5-0ubuntu1
  Last known good version: 3.4.4-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/919659/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to