Public bug reported:

When installing the updated deb package that transitions to the snap, if
the snap was already installed and its desktop file already pinned to
the GNOME Shell / Unity launcher, and if chromium-browser.desktop (from
the deb) was also pinned, the /usr/bin/chromium-browser wrapper script
will rewrite chromium-browser.desktop to chromium_chromium.desktop, but
it doesn't check whether there is already an entry for it in the
favorites, so it might result in duplicated entries.

This is not visible to the user because both GNOME Shell and Unity
launchers appear to have some logic to filter out duplicate entries.
Still, it would be nice to not add duplicate entries.

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: chromium-browser 75.0.3770.80-0ubuntu1~snap1 [modified: 
usr/share/apport/package-hooks/chromium-browser.py]
ProcVersionSignature: Ubuntu 5.0.0-16.17-generic 5.0.8
Uname: Linux 5.0.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DRM.card0-VGA-1:
 enabled: enabled
 dpms: On
 status: connected
 edid-base64: 
AP///////wBYWAAAaASUAgEAAQOAAAB47u6Ro1RMmSYPUFQAAAABAQEBAQEBAQEBAQEBAQEBsxFoBkCUBiACAgICAAAAAAAAAAAA/QAAyADIZAAKICAgICAgAAAA/ABWQk9YIG1vbml0b3IKAAAAEAAKICAgICAgICAgICAgAC8=
 modes: 1128x660 2560x1600 2560x1600 1920x1440 1856x1392 1792x1344 2048x1152 
1920x1200 1920x1200 1920x1080 1600x1200 1680x1050 1680x1050 1400x1050 1400x1050 
1600x900 1280x1024 1440x900 1440x900 1280x960 1366x768 1366x768 1360x768 
1280x800 1280x800 1280x768 1280x768 1280x720 1024x768 800x600 800x600 848x480 
640x480
Date: Wed Jun 12 15:58:05 2019
DiskUsage:
 Filesystem     Type   Size  Used Avail Use% Mounted on
 /dev/sda1      ext4    30G  7,7G   21G  28% /
 tmpfs          tmpfs  2,0G     0  2,0G   0% /dev/shm
 /dev/sda1      ext4    30G  7,7G   21G  28% /
InstallationDate: Installed on 2018-08-21 (294 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180821)
Lsusb:
 Bus 001 Device 004: ID 80ee:0021 VirtualBox USB Tablet
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-16-generic 
root=UUID=b6433793-b0b1-4fae-8bb3-585f57860605 ro quiet splash
Snap.ChromeDriverVersion: ChromeDriver 75.0.3770.80 
(9a9aa15057b6b2cc0909bdcf638c0b65ecd516f2-refs/branch-heads/3770@{#948})
Snap.ChromiumVersion: Chromium 75.0.3770.80 snap
SourcePackage: chromium-browser
UpgradeStatus: Upgraded to eoan on 2019-06-05 (6 days ago)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
dmi.product.family: Virtual Machine
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

** Affects: chromium-browser (Ubuntu)
     Importance: Low
     Assignee: Olivier Tilloy (osomon)
         Status: Triaged


** Tags: amd64 apport-bug eoan snap

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

Title:
  Wrapper script might create duplicate launcher entries for
  chromium_chromium.desktop

Status in chromium-browser package in Ubuntu:
  Triaged

Bug description:
  When installing the updated deb package that transitions to the snap,
  if the snap was already installed and its desktop file already pinned
  to the GNOME Shell / Unity launcher, and if chromium-browser.desktop
  (from the deb) was also pinned, the /usr/bin/chromium-browser wrapper
  script will rewrite chromium-browser.desktop to
  chromium_chromium.desktop, but it doesn't check whether there is
  already an entry for it in the favorites, so it might result in
  duplicated entries.

  This is not visible to the user because both GNOME Shell and Unity
  launchers appear to have some logic to filter out duplicate entries.
  Still, it would be nice to not add duplicate entries.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: chromium-browser 75.0.3770.80-0ubuntu1~snap1 [modified: 
usr/share/apport/package-hooks/chromium-browser.py]
  ProcVersionSignature: Ubuntu 5.0.0-16.17-generic 5.0.8
  Uname: Linux 5.0.0-16-generic x86_64
  ApportVersion: 2.20.11-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  DRM.card0-VGA-1:
   enabled: enabled
   dpms: On
   status: connected
   edid-base64: 
AP///////wBYWAAAaASUAgEAAQOAAAB47u6Ro1RMmSYPUFQAAAABAQEBAQEBAQEBAQEBAQEBsxFoBkCUBiACAgICAAAAAAAAAAAA/QAAyADIZAAKICAgICAgAAAA/ABWQk9YIG1vbml0b3IKAAAAEAAKICAgICAgICAgICAgAC8=
   modes: 1128x660 2560x1600 2560x1600 1920x1440 1856x1392 1792x1344 2048x1152 
1920x1200 1920x1200 1920x1080 1600x1200 1680x1050 1680x1050 1400x1050 1400x1050 
1600x900 1280x1024 1440x900 1440x900 1280x960 1366x768 1366x768 1360x768 
1280x800 1280x800 1280x768 1280x768 1280x720 1024x768 800x600 800x600 848x480 
640x480
  Date: Wed Jun 12 15:58:05 2019
  DiskUsage:
   Filesystem     Type   Size  Used Avail Use% Mounted on
   /dev/sda1      ext4    30G  7,7G   21G  28% /
   tmpfs          tmpfs  2,0G     0  2,0G   0% /dev/shm
   /dev/sda1      ext4    30G  7,7G   21G  28% /
  InstallationDate: Installed on 2018-08-21 (294 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180821)
  Lsusb:
   Bus 001 Device 004: ID 80ee:0021 VirtualBox USB Tablet
   Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: innotek GmbH VirtualBox
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-16-generic 
root=UUID=b6433793-b0b1-4fae-8bb3-585f57860605 ro quiet splash
  Snap.ChromeDriverVersion: ChromeDriver 75.0.3770.80 
(9a9aa15057b6b2cc0909bdcf638c0b65ecd516f2-refs/branch-heads/3770@{#948})
  Snap.ChromiumVersion: Chromium 75.0.3770.80 snap
  SourcePackage: chromium-browser
  UpgradeStatus: Upgraded to eoan on 2019-06-05 (6 days ago)
  dmi.bios.date: 12/01/2006
  dmi.bios.vendor: innotek GmbH
  dmi.bios.version: VirtualBox
  dmi.board.name: VirtualBox
  dmi.board.vendor: Oracle Corporation
  dmi.board.version: 1.2
  dmi.chassis.type: 1
  dmi.chassis.vendor: Oracle Corporation
  dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
  dmi.product.family: Virtual Machine
  dmi.product.name: VirtualBox
  dmi.product.version: 1.2
  dmi.sys.vendor: innotek GmbH

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