Comment 173 for bug 1026426

Revision history for this message
Martin Wildam (mwildam) wrote : Re: [Bug 1026426] Re: LibreOffice Unity integration - opening an .odt file from dash or nautilus should yield correct icon and allow switching between the subsequently opened LO windows

I am using LO 4.2.2.1 and at last update I had problems with icons got
duplicated when more than one document were open.

I found out that under ~/.local/share/applications I had old
.desktop-links - and unity uses those in your home folder prior to
those in /usr/share/applications

Now I don't have problems with icons any more.

On Mon, Mar 17, 2014 at 7:56 PM, Goghard <email address hidden> wrote:
> Thank you, Martin. Unfortunately I re-apply the patch and the problem persist using LO 4.2.
> I tested LO 4.2 on three separate computers using Ubuntu 12.04 whith the same result.
> I downgraded to LO 4.1, which works better with the patch.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1026426
>
> Title:
> LibreOffice Unity integration - opening an .odt file from dash or
> nautilus should yield correct icon and allow switching between the
> subsequently opened LO windows
>
> Status in BAMF Application Matching Framework:
> Fix Released
> Status in BAMF 0.2 series:
> Fix Released
> Status in BAMF 0.3 series:
> Fix Released
> Status in “bamf” package in Ubuntu:
> Fix Released
> Status in “bamf” source package in Precise:
> Fix Released
> Status in “bamf” source package in Quantal:
> Fix Released
>
> Bug description:
> IMPACT:
>
> See description.
>
> SRU TESTCASE:
>
> 0. make sure libreoffice writer is not pinned to the launcher
> 1. open libreoffice writer
> 2. save a .odt file
> 3. close libreoffice
> 4. open the .odt file directly from the location it was saved to.
>
> What should happen:
> a new icon for libreoffice writer should appear, not the generic libreoffice icon.
>
> REGRESSION POTENTIAL:
>
> Low, has already been well tested, but test again everything in this
> bug report.
>
> -----ORIGINAL DESCRIPTION-----
>
> LibreOffice applications are not coming up on the launcher properly as
> of a few weeks ago (can't remember exactly when).
>
> If Calc or Draw is locked to launcher, all is normal.
> Opening a specific application via the dash works as normal too.
>
> However, problems arise if you open a document directly (from the dash
> or double clicking in Nautilus) when there is no icon pinned to the
> launcher:
>
> Case #1
> A white generic "Liberoffice" icon appears - not the proper application icon (eg a green one for Calc, a yellow one for Draw). If more documents are opened, no more wee triangles appear and the icon becomes useless: it cannot be clicked to switch to any open instance. There is no way to switch to it if the window is minimized, as now LibreOffice no longer appears in the alt-tab switcher.
>
> Close LibreOffice.
> Open a file directly again.
>
> Case #2
> Now the proper icon appears - but with an empty hole in between launcher and icon. If more documents are opened the white triangles appear and alt-tab still works, but the hole remains. Sometimes the hole is two icons wide.
>
> Close LibreOffice.
> Repeat.
>
> Case #1 now reapers, and it will go back and forth ad infinitum.
>
> Note that I don't get this problem with Writer or Impress, which is
> pretty weird. [EDIT: a number of people are also seeing the bug with
> Writer and Impress]
>
> I've tried this with LibreOffice 3.5.3.2 and the PPA version
> (currently 3.5.5.3). I've also tested using lo-menubar and not, but it
> makes no difference. I've also tested it on two separate computers
> using Precise and purged all of LibreOffice and reinstalled... all to
> no avail.
>
> Thanks.
>
> EDIT:
>
> This bug had been previously reported (and fixed) in Bug #842566.
> Please do not mark this report as a duplicate of the afore-mentioned as it has been asked to create a new report when this issue reappeared (see this comment: https://bugs.launchpad.net/bamf/+bug/842566/comments/142)
>
> WORKAROUND:
>
> Missing windows can be found by using the super + W (for QWERTY keyboards; super + Z for AZERTY keyboards) to use the "spread" function.
> This is also possible by using something like Ubuntu Tweak and setting a "hotcorner" wich triggers the spread function.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: unity 5.12-0ubuntu1.1
> ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19
> Uname: Linux 3.2.0-26-generic-pae i686
> .tmp.unity.support.test.0:
>
> ApportVersion: 2.0.1-0ubuntu11
> Architecture: i386
> CheckboxSubmission: 02d945a9613042f2308305da996afd9c
> CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
> CompizPlugins: [core,composite,opengl,compiztoolbox,decor,move,mousepoll,text,regex,place,resize,vpswitch,animation,imgpng,wall,gnomecompat,fade,unitymtgrabhandles,grid,session,expo,workarounds,scale,scaleaddon,ezoom,unityshell]
> CompositorRunning: compiz
> Date: Wed Jul 18 22:47:35 2012
> DistUpgraded: Fresh install
> DistroCodename: precise
> DistroVariant: ubuntu
> GraphicsCard:
> Advanced Micro Devices [AMD] nee ATI M66GL [ATI Mobility FireGL V5250] [1002:71d4] (prog-if 00 [VGA controller])
> Subsystem: Lenovo Device [17aa:20a4]
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
> MachineType: LENOVO 8744C9U
> PccardctlIdent:
> Socket 0:
> no product info available
> PccardctlStatus:
> Socket 0:
> no card
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=44c74264-d974-483f-8a85-b5bd529e4340 ro quiet splash vt.handoff=7
> SourcePackage: unity
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 04/16/2008
> dmi.bios.vendor: LENOVO
> dmi.bios.version: 7IET33WW (1.14 )
> dmi.board.name: 8744C9U
> dmi.board.vendor: LENOVO
> dmi.board.version: Not Available
> dmi.chassis.asset.tag: No Asset Information
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.version: Not Available
> dmi.modalias: dmi:bvnLENOVO:bvr7IET33WW(1.14):bd04/16/2008:svnLENOVO:pn8744C9U:pvrThinkPadT60p:rvnLENOVO:rn8744C9U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
> dmi.product.name: 8744C9U
> dmi.product.version: ThinkPad T60p
> dmi.sys.vendor: LENOVO
> version.compiz: compiz 1:0.9.7.8-0ubuntu1.2
> version.libdrm2: libdrm2 2.4.32-1ubuntu1
> version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3.1
> version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
> version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3.1
> version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.6
> version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2
> version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
> version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
> version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/bamf/+bug/1026426/+subscriptions

--
Martin Wildam

http://martin.wildam.org/