[Desktop-packages] [Bug 1792017] Re: wrong default working dir

2018-09-14 Thread Olivier Tilloy
Can you share the contents of ~/.config/user-dirs.dirs ?

I can confirm that if I switch to Spanish AND create ~/Documents before
ever launching libreoffice, then the default folder for my documents is
set to /home/username/Documents, whereas if that folder doesn't exist it
is set to /home/username. So there's clearly some buggy behaviour here.

** Changed in: libreoffice (Ubuntu)
   Status: Incomplete => Confirmed

** Summary changed:

- wrong default working dir 
+ Default directory for my documents is not localized

** Changed in: libreoffice (Ubuntu)
   Importance: Undecided => Medium

-- 
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/1792017

Title:
  Default directory for my documents is not localized

Status in libreoffice package in Ubuntu:
  Confirmed

Bug description:
  The default working dir is hard coded to ~/Documents
  I had to redo my saved work, because I have assumed it was lost in ~/Dokumente

  I have now fixed this by changing the working directory manually.

  The default working dir should be changed to "xdg-user-dir DOCUMENTS"
  that other users so not suffer the same.

  I have updated from Xenial and never experienced these issues. Is it a
  kind of regression?

  libreoffice 1:6.0.3-0ubuntu1

  Ubuntu 18.04. LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1792017/+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


[Desktop-packages] [Bug 1792017] Re: wrong default working dir

2018-09-13 Thread Daniel Schürmann
I have testes with LibreOffice 4.2.8.2. It also fails to read
"Dokumente" but this version falls back to the "/home/username" even if
"Documents" exists.

-- 
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/1792017

Title:
  wrong default working dir

Status in libreoffice package in Ubuntu:
  Incomplete

Bug description:
  The default working dir is hard coded to ~/Documents
  I had to redo my saved work, because I have assumed it was lost in ~/Dokumente

  I have now fixed this by changing the working directory manually.

  The default working dir should be changed to "xdg-user-dir DOCUMENTS"
  that other users so not suffer the same.

  I have updated from Xenial and never experienced these issues. Is it a
  kind of regression?

  libreoffice 1:6.0.3-0ubuntu1

  Ubuntu 18.04. LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1792017/+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


[Desktop-packages] [Bug 1792017] Re: wrong default working dir

2018-09-13 Thread Daniel Schürmann
I have a German installation and it is the
Optionen -> Pfade -> Arbeitsverzeichnis -> Standard 

In your side note you have described my issue. For some reasons (maybe a
faulty app has created it) I have the folder ~/Dokumente and
~/Documents. So unlike in your Spanish example it does not pick
"/home/username" as fallback, it picks "/home/username/Documents where I
do not have a Natilus shortcut for and so almost hidden.

I had a bief look into the source 
https://github.com/LibreOffice/core/blob/b5867945d67dba505d0629e5e41fdc52bc78bfee/shell/source/backends/desktopbe/desktopbackend.cxx#L245

And it looks like using "xdg-user-dir DOCUMENTS" is intended. It is done
by accessing directly the "~/.config/user-dirs.dirs" file. Maybe it
fails somewhere?

-- 
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/1792017

Title:
  wrong default working dir

Status in libreoffice package in Ubuntu:
  Incomplete

Bug description:
  The default working dir is hard coded to ~/Documents
  I had to redo my saved work, because I have assumed it was lost in ~/Dokumente

  I have now fixed this by changing the working directory manually.

  The default working dir should be changed to "xdg-user-dir DOCUMENTS"
  that other users so not suffer the same.

  I have updated from Xenial and never experienced these issues. Is it a
  kind of regression?

  libreoffice 1:6.0.3-0ubuntu1

  Ubuntu 18.04. LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1792017/+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


[Desktop-packages] [Bug 1792017] Re: wrong default working dir

2018-09-13 Thread Olivier Tilloy
Can you please elaborate by what you mean by "the default working dir"?

A side note (might be related): without any previous libreoffice profile
directory (in a clean VM), I changed the locale to Spanish, restarted
the session and ran libreoffice, and in the "Options > Paths" settings,
the path to "my documents" is set to "/home/username", instead of
"/home/username/Documents" when the locale is French (my default, and it
happens that "Documents" is the exact same word in English and French).

** Changed in: libreoffice (Ubuntu)
   Status: New => Incomplete

-- 
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/1792017

Title:
  wrong default working dir

Status in libreoffice package in Ubuntu:
  Incomplete

Bug description:
  The default working dir is hard coded to ~/Documents
  I had to redo my saved work, because I have assumed it was lost in ~/Dokumente

  I have now fixed this by changing the working directory manually.

  The default working dir should be changed to "xdg-user-dir DOCUMENTS"
  that other users so not suffer the same.

  I have updated from Xenial and never experienced these issues. Is it a
  kind of regression?

  libreoffice 1:6.0.3-0ubuntu1

  Ubuntu 18.04. LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1792017/+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