@wxl Walter

Ran some tests again today.

1.Connected to the Samba share manually and no problem mounting etc.
Opened the share directly from LibreOffice Writer and the file came up
as "read only" but this time no dialog box.

2. Proceeded onto your second suggestion - and got the same result -
file opened in "read only " mode and no dialog box. Of interest is that
if the share is mounted by PCManFM-Qt or thunar the file opens with the
dialog box as in the original report.

3. Did not test thunar. :)

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

Title:
  Opening file from Samba share results in Document in Use

Status in libreoffice package in Ubuntu:
  New

Bug description:
  This bug is related to bug # 1430531.

  I am running Lubuntu version 20.04 with all updates installed
  The Libre Office version :
  Version: 6.4.2.2
  Build ID: 1:6.4.2-0ubuntu3
  CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: qt5;
  Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
  Calc: threaded

  1. connect to share on local network with PCManFM-Qt File Manager
  2. click on file TEST_Samba.odt
  3. The Libre Office splash/Logo screen appears for a split second and the 
nothing happens and the file is not opened.
  4. I then right-click on file and select "open with Libre Office Writer
  5. Document in Use" window appears with text:

     Document file 'TEST_Samba.odt' is locked for editing by:

     Unknown User

     Open document read-only or open a copy of the document for editing.

     Open Read-Only Open Copy Cancel

  Screen shot attached..

  Expected results:
     The "TEST_Samba.odt" files is opened in read-write mode, user can edit it.

  Actual results:
     User can't edit original document (see 3-5 above)

  I have tested this on several boxes running Lubuntu 20.04 with the exact same 
results.
  I have also tested this on SparkyLinux LxQT version 5.11 with the same 
results.
  Ubuntu Gnome as well as MS Windows/Office have no problems opening/editing 
and/or saving this file back to the Samba share.

  
  Global Samba config is "default"
   Usershare config is:

  $ cat /var/lib/samba/usershares/sameign2
  #VERSION 2
  path=/home/kbeins/Sameign2
  comment=
  usershare_acl=S-1-1-0:F
  guest_ok=n
  sharename=Sameign2

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libreoffice (not installed)
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: LXQt
  Date: Tue Apr 28 17:51:14 2020
  InstallationDate: Installed on 2020-04-28 (0 days ago)
  InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

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