qt creator icon appears twice

Bug #594814 reported by Marcel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Robert Dyer
docky (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

I have added Qt Creator as permanent icon to docky, but when I start it via that icon, the Creator window doesn't get associated with that icon but another one appears.

Docky build 2.1.0~bzr1476-0ubuntu1~10.04~dockycore1
Qt Creator 1.3.1
on Ubuntu 10.04

The log doesn't look useful to me, attaching it anyway:
[Info 22:11:59.028] Docky version: 2.1.0 bzr docky r1476 ppa
[Info 22:11:59.040] Kernel version: 2.6.32.22
[Info 22:11:59.041] CLR version: 2.0.50727.1433
[Debug 22:12:00.068] [UserArgs] BufferTime = 0
[Debug 22:12:00.068] [UserArgs] MaxSize = 2147483647
[Debug 22:12:00.068] [UserArgs] NetbookMode = False
[Debug 22:12:00.068] [UserArgs] NoPollCursor = False
[Debug 22:12:00.079] [DBusManager] DBus Registered: org.gnome.Docky
[Debug 22:12:00.085] [DBusManager] DBus Registered: org.freedesktop.DockManager
[Debug 22:12:01.541] [WindowMatcher] Initialize WindowMatcher
[Debug 22:12:01.546] [WindowMatcher] Loading Remaps..
[Debug 22:12:01.565] [WindowMatcher] Remapping 'Picasa3.exe' to 'picasa'
[Debug 22:12:01.565] [WindowMatcher] Remapping 'nbexec' to 'netbeans'
[Debug 22:12:01.565] [WindowMatcher] Remapping 'deja-dup-preferences' to 'deja-dup'
[Debug 22:12:01.600] [WindowMatcher] Loading /home/marcel/.cache/docky/docky.desktop.de_DE.utf8.cache
[Info 22:12:02.106] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info 22:12:02.106] [PluginManager] Loaded "Docky.Widgets,1.0".
[Info 22:12:02.106] [PluginManager] Loaded "Clock".
[Info 22:12:02.179] [PluginManager] Loaded "Trash".
[Info 22:12:02.200] [PluginManager] Loaded "Battery Monitor".
[Debug 22:12:02.209] [BatteryMonitorProcItem] Hiding battery item (capacity=0) (max_capacity=-1) (OnBattery=False)
[Info 22:12:02.210] [PluginManager] Loaded "Mounter".
[Debug 22:12:02.286] [MountProvider] Adding Audio-CD.
[Info 22:12:02.797] [Helper] Starting banshee_control.py
[Info 22:12:02.882] [Helper] Starting zeitgeist_journal.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/banshee_control.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/deluge_badge.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/emesene_control.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/gajim_badge.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/gtg_menus.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/liferea_badge.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/mpd_control.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/open_terminal_here.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/pidgin_control.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/rhythmbox_control.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/skype_control.py
[Info 22:12:02.950] [HelperService] Helper added: /usr/share/dockmanager/scripts/tomboy_menus.py
[Info 22:12:02.951] [HelperService] Helper added: /usr/share/dockmanager/scripts/transmission_badge.py
[Info 22:12:02.951] [HelperService] Helper added: /usr/share/dockmanager/scripts/tsclient_menus.py
[Info 22:12:02.951] [HelperService] Helper added: /usr/share/dockmanager/scripts/zeitgeist_journal.py
[Info 22:12:02.951] [HelperService] Helper added: /usr/share/dockmanager/scripts/zeitgeist_menus.py
[Info 22:12:03.213] [DrawingService] Could not find 'deluge', using fallback of 'extension'.
[Info 22:12:03.281] [DrawingService] Could not find 'emesene', using fallback of 'extension'.
[Info 22:12:03.343] [DrawingService] Could not find 'gajim', using fallback of 'extension'.
[Info 22:12:03.360] [DrawingService] Could not find 'gtg', using fallback of 'extension'.
[Info 22:12:03.408] [DrawingService] Could not find 'liferea', using fallback of 'extension'.
[Debug 22:12:04.289] [Preferences`1] Key MountItem__1218676616 does not exist, creating.
[Info 22:12:04.780] [MountProvider] Audio-CD mounted.
[Debug 22:12:04.805] [Preferences`1] Key MountItem__1226966680 does not exist, creating.

// started Qt Creator here, the ubuntu-software-center was working in background

[Debug 22:12:36.353] [DesktopItem] file /usr/share/applications/ubuntu-software-center.desktop changed
[Debug 22:12:36.445] [WindowMatcher] Saving /home/marcel/.cache/docky/docky.desktop.de_DE.utf8.cache
[Debug 22:12:46.383] [WindowMatcher] Processing /usr/share/applications/desktop.de_DE.utf8.cache
[Debug 22:12:46.474] [WindowMatcher] Processing /usr/share/applications/desktop.de_DE.utf8.cache

Revision history for this message
Robert Dyer (psybers) wrote :

We need the following things:

1) the launcher (.desktop file) for Qt Creator
2) the output of 'ps -ef | grep <exec>' where '<exec>' is the executable name of the program (perhaps you can try 'creator', I don't know the executables name)

Changed in docky:
status: New → Incomplete
assignee: nobody → Rico Tzschichholz (ricotz)
importance: Undecided → Low
Revision history for this message
Marcel (tanuva-googlemail) wrote :

The running binary name seems to be qtcreator.bin while the desktop file launches qtcreator.
[I just cannot explain why the process is marked defunct, Creator is working fine.]

marcel@d-a318:~$ ps -ef | grep qtcreator
marcel 1911 1 5 09:25 ? 00:00:02 /usr/bin/qtcreator.bin
marcel 1919 1911 0 09:25 ? 00:00:00 [qtcreator.bin] <defunct>
marcel 1971 1436 0 09:25 pts/1 00:00:00 grep --color=auto qtcreator

[Desktop Entry]
Exec=qtcreator %F
Icon=qtcreator_logo_32
Type=Application
Terminal=false
Name=Qt Creator
GenericName=Integrated Development Environment
MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;
Categories=Qt;Development;IDE;

Revision history for this message
Robert Dyer (psybers) wrote :

I believe it is fixed in rev 1481. Please try and verify for me.

Changed in docky:
status: Incomplete → Fix Committed
assignee: Rico Tzschichholz (ricotz) → Robert Dyer (psybers)
Revision history for this message
Marcel (tanuva-googlemail) wrote :

Yep, works fine now, thank you! :)

Could you fix that for VirtualBox OSE, too, or should I file a new bug?
Desktop file:
[Desktop Entry]
Name=VirtualBox OSE
{...}
Exec=virtualbox
TryExec=virtualbox

The process name is "VirtualBox":
marcel@d-a318:~$ ps -ef | grep Virtu
marcel 5542 1 1 13:44 ? 00:00:00 /usr/lib/virtualbox/VirtualBox

Revision history for this message
Robert Dyer (psybers) wrote :

That one you can fix yourself if you want. You need to set a remap, create the file ~/.local/share/docky/remaps.ini and put this in it:

VirtualBox=virtualbox

Then restart Docky.

Revision history for this message
Robert Dyer (psybers) wrote :

Or upgrade to 1488, I added it to the global remap.

Changed in docky:
milestone: none → 2.0.5
Changed in docky:
status: Fix Committed → Fix Released
summary: - qt creator icon appears twice
+ debdiff which fixes this is attached to bug #579049
summary: - debdiff which fixes this is attached to bug #579049
+ qt creator icon appears twice
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

debdiff which fixes this is attached to bug #579049

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.1 KiB)

This bug was fixed in the package docky - 2.0.5-1

---------------
docky (2.0.5-1) unstable; urgency=low

  * New upstream release 2.0.5 "Be proud of your dock",
    changes include:
    + remove --debug flag from launcher for lower memory usage
    + update the about dialog credits to list documenters and make translation
      tab easier to read
    + change url in about dialog to the launchpad project page
    + Window-Matching
      - fix for applications commandline
      - properly match qt creator (LP: #594814)
      - prefer local over global launchers (LP: #588073) (LP: #592841)
      - match prefix for gksudo (LP: #516433)
      - fix nautilus items showing active indicator when desktop
        is focused (LP: #487113)
      - fix matching wine apps that use a prefixed launcher (LP: #596092)
    + Memory Leaks
      - dispose of calendar painter when the clock item is disposed
      - fix leak in AutoHideManager
      - several fixes using Cairo.Context.Target and Pango.Layout
      - fix leak in PagingPainters
      - fix leak in recursive file-deletion
      - fix leaking SeparatorItems, WnckDockItems
      - fix leaks with FileEmblems
      - fix Pixbuf related leaks
      - fix some leaks regarding FileMonitors
      - fix leaks regarding Tiles and AbtractTileObjects
      - fix leaking Glib.FileAdapter caused by unreferenced Action in
        FileDockItem
    + Handle invalid desktopfile entry and UriFormatException in
      FileApplicationProvider (LP: #595921)
    + fix potential crash for invalid HelperMetadata
    + handle drops correctly
    + fix handling of Helpers in HelperService
    + make the sliders in preferences behave better
    + fix drawing of rotated items
    + fix HoveredItem click-position
    + avoids fatal errors on console when loading embedded icons when no
      height or width is specified and when dock items have a null Icon
    + fix icon theme change not refreshing the dock icons (LP: #590205)
    + fix SVG rendering bug
    + fix iconsize temporarily getting large when adding to full dock
      (LP: #579576)
    + fix the 'crash in PinToDock' (LP: #588073)
    + make 3d background height more consistent and a tad larger (LP: #503038)
    + fix dragging multiple files to a folder on the dock, which caused
      a crash and data corruption (LP: #579049)
    + don't request animations if urgent state is removed from a window and
      fix glow location (LP: #596422)
    + fix window previews being offset (LP: #495065)
    + fix broken zoom after shrinking icon size (LP: #598924)
    + fix problem with hovers still visible when painters show
    + fix displaying default icon in place of missing file emblem (LP: #534651)
    + fix crash when gconf key for menus_have_icons is not set (LP: #573751)
    + make sure painters fit on screen (LP: #589978)
    + fix icon minimize animations not working immediately for some newly
      opened windows
    + don't dispose our static DockyItem
    + fix CurrentDesktopOnly not working when dragging a window across desktops
      (LP: #600290)
    + GMail:
      - fix thread-guards and remove deprecated code
      - fix problem with feeds that don't have a...

Read more...

Changed in docky (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Accepted docky into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in docky (Ubuntu Lucid):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.9 KiB)

This bug was fixed in the package docky - 2.0.5-0ubuntu1

---------------
docky (2.0.5-0ubuntu1) lucid-proposed; urgency=low

  * New upstream release 2.0.5 "Be proud of your dock",
    changes include:
    + remove --debug flag from launcher for lower memory usage
    + update the about dialog credits to list documenters and make translation
      tab easier to read
    + change url in about dialog to the launchpad project page
    + Window-Matching
      - fix for applications commandline
      - properly match qt creator (LP: #594814)
      - prefer local over global launchers (LP: #588073) (LP: #592841)
      - match prefix for gksudo (LP: #516433)
      - fix nautilus items showing active indicator when desktop
        is focused (LP: #487113)
      - fix matching wine apps that use a prefixed launcher (LP: #596092)
    + Memory Leaks
      - dispose of calendar painter when the clock item is disposed
      - fix leak in AutoHideManager
      - several fixes using Cairo.Context.Target and Pango.Layout
      - fix leak in PagingPainters
      - fix leak in recursive file-deletion
      - fix leaking SeparatorItems, WnckDockItems
      - fix leaks with FileEmblems
      - fix Pixbuf related leaks
      - fix some leaks regarding FileMonitors
      - fix leaks regarding Tiles and AbtractTileObjects
      - fix leaking Glib.FileAdapter caused by unreferenced Action in
        FileDockItem
    + Handle invalid desktopfile entry and UriFormatException in
      FileApplicationProvider (LP: #595921)
    + fix potential crash for invalid HelperMetadata
    + handle drops correctly
    + fix handling of Helpers in HelperService
    + make the sliders in preferences behave better
    + fix drawing of rotated items
    + fix HoveredItem click-position
    + avoids fatal errors on console when loading embedded icons when no
      height or width is specified and when dock items have a null Icon
    + fix icon theme change not refreshing the dock icons (LP: #590205)
    + fix SVG rendering bug
    + fix iconsize temporarily getting large when adding to full dock
      (LP: #579576)
    + fix the 'crash in PinToDock' (LP: #588073)
    + make 3d background height more consistent and a tad larger (LP: #503038)
    + fix dragging multiple files to a folder on the dock, which caused
      a crash and data corruption (LP: #579049)
    + don't request animations if urgent state is removed from a window and
      fix glow location (LP: #596422)
    + fix window previews being offset (LP: #495065)
    + fix broken zoom after shrinking icon size (LP: #598924)
    + fix problem with hovers still visible when painters show
    + fix displaying default icon in place of missing file emblem (LP: #534651)
    + fix crash when gconf key for menus_have_icons is not set (LP: #573751)
    + make sure painters fit on screen (LP: #589978)
    + fix icon minimize animations not working immediately for some newly
      opened windows
    + don't dispose our static DockyItem
    + fix CurrentDesktopOnly not working when dragging a window across desktops
      (LP: #600290)
    + GMail:
      - fix thread-guards and remove deprecated code
      - fix problem with feeds that do...

Read more...

Changed in docky (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.