Public bug reported:

1)
lsb_release -rd
Description:    Ubuntu 21.04
Release:        21.04

2)
Name                             Version                     Rev    Tracking    
     Publisher   Notes
snap list | grep libreoffice
libreoffice                      7.2.1.2                     235    latest/edge 
     canonical*  -

apt-cache policy gnome-shell
gnome-shell:
  Installed: 3.38.4-1ubuntu3~21.04.1
  Candidate: 3.38.4-1ubuntu3~21.04.1
  Version table:
 *** 3.38.4-1ubuntu3~21.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     3.38.4-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages

3) What I expected to happen is using any version of LibreOffice snaps from 
Ubuntu Software app (i.e. https://snapcraft.io/libreoffice ) works as it does 
as if I used the default install of libreoffice. Specifically, when I open the 
GNOME Files program via the icon on the bar on the left, I have an smb share 
already added via "Other Locations". When I use the default libreoffice install 
version as per below, when I attempt to open a file in Libreoffice Calc, the 
share is visible and I'm able to open files, edit, save, close, etc.:
apt-cache policy libreoffice
libreoffice:
  Installed: (none)
  Candidate: 1:7.1.6-0ubuntu0.21.04.1
  Version table:
     1:7.1.6-0ubuntu0.21.04.1 500 (phased 70%)
        500 http://us.archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 
Packages
     1:7.1.2~rc2-0ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages

4) However, when I completely remove all things libreoffice-* via
command line, then install the snap version, the smb share is not
visible.

It's confirmed all packages associated with default install are removed,
and only the snap is installed. I've tried completely removing each snap
and trying a different version (e.g. stable, candidate, edge) but it's
the same problem.

I'm guessing it's something borked with the libreoffice-gnome
integration between the snap and the GNOME environment but that's a wild
guess.

I tried the snap package as the default install Draw kept crashing
opening a particular file, and was hoping to work around it by
installing later snap version.

WORKAROUND: Use default install of LibreOffice.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
ProcVersionSignature: Ubuntu 5.11.0-36.40-generic 5.11.22
Uname: Linux 5.11.0-36-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu65.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 23 08:58:30 2021
InstallationDate: Installed on 2021-08-25 (28 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Snap: libreoffice 7.2.1.2 (latest/edge)
SnapSource: ubuntu/+source/libreoffice
UpgradeStatus: Upgraded to hirsute on 2021-09-20 (3 days ago)

** Affects: libreoffice (Ubuntu)
     Importance: Low
         Status: Triaged


** Tags: amd64 apport-bug hirsute snap testcase

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

Title:
  LibreOffice from Ubuntu Store/snaps broken GNOME integration for
  remote smb shares

Status in libreoffice package in Ubuntu:
  Triaged

Bug description:
  1)
  lsb_release -rd
  Description:  Ubuntu 21.04
  Release:      21.04

  2)
  Name                             Version                     Rev    Tracking  
       Publisher   Notes
  snap list | grep libreoffice
  libreoffice                      7.2.1.2                     235    
latest/edge      canonical*  -

  apt-cache policy gnome-shell
  gnome-shell:
    Installed: 3.38.4-1ubuntu3~21.04.1
    Candidate: 3.38.4-1ubuntu3~21.04.1
    Version table:
   *** 3.38.4-1ubuntu3~21.04.1 500
          500 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       3.38.4-1ubuntu2 500
          500 http://us.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages

  3) What I expected to happen is using any version of LibreOffice snaps from 
Ubuntu Software app (i.e. https://snapcraft.io/libreoffice ) works as it does 
as if I used the default install of libreoffice. Specifically, when I open the 
GNOME Files program via the icon on the bar on the left, I have an smb share 
already added via "Other Locations". When I use the default libreoffice install 
version as per below, when I attempt to open a file in Libreoffice Calc, the 
share is visible and I'm able to open files, edit, save, close, etc.:
  apt-cache policy libreoffice
  libreoffice:
    Installed: (none)
    Candidate: 1:7.1.6-0ubuntu0.21.04.1
    Version table:
       1:7.1.6-0ubuntu0.21.04.1 500 (phased 70%)
          500 http://us.archive.ubuntu.com/ubuntu hirsute-updates/universe 
amd64 Packages
       1:7.1.2~rc2-0ubuntu2 500
          500 http://us.archive.ubuntu.com/ubuntu hirsute/universe amd64 
Packages

  4) However, when I completely remove all things libreoffice-* via
  command line, then install the snap version, the smb share is not
  visible.

  It's confirmed all packages associated with default install are
  removed, and only the snap is installed. I've tried completely
  removing each snap and trying a different version (e.g. stable,
  candidate, edge) but it's the same problem.

  I'm guessing it's something borked with the libreoffice-gnome
  integration between the snap and the GNOME environment but that's a
  wild guess.

  I tried the snap package as the default install Draw kept crashing
  opening a particular file, and was hoping to work around it by
  installing later snap version.

  WORKAROUND: Use default install of LibreOffice.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  ProcVersionSignature: Ubuntu 5.11.0-36.40-generic 5.11.22
  Uname: Linux 5.11.0-36-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu65.3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Sep 23 08:58:30 2021
  InstallationDate: Installed on 2021-08-25 (28 days ago)
  InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Snap: libreoffice 7.2.1.2 (latest/edge)
  SnapSource: ubuntu/+source/libreoffice
  UpgradeStatus: Upgraded to hirsute on 2021-09-20 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1944746/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to