Alltray fails to set window title with Compiz/Emerald and --no-alltray command line option.

Bug #178541 reported by Michael B. Trausch
4
Affects Status Importance Assigned to Milestone
alltray (Ubuntu)
Fix Released
Low
Daniel Hahler

Bug Description

I just started using Compiz and Emerald on my laptop, since I recently gained that ability. Much to my dismay, the applications that I dock to my system tray using Alltray (including Evolution) stopped showing a window title when their window was visible, but AllTray had it in the “bubble” popup that it shows when you hover over the icon in the system tray. Also, the windows were showing up as “Untitled Window” in the window list. Obviously not desired behavior.

Forthcoming is a patch against the AllTray source package that fixes the issue.

Related branches

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

To apply this patch, simply:

 $ apt-get source alltray
 $ cat path/to/patch | patch -p0

Would like review on this patch, as it is the first that I have written for Ubuntu or for any project other than web stuff. If this patch is acceptable, it should probably be released in Gutsy and definitely released in Hardy.

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Here is a debdiff to update a source package from the Ubuntu repos to the testing version that I have created. The problem with my prior patch was that it triggered a CPU-hungry infinite loop for non-compiz WMs which was not desired, obviously. This fixes that, and thus the original issue reported here in a desirable fashion.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Is this still relevant in Hardy? If so, it'd be nice to update the debdiff and submit it for review (http://wiki.ubuntu.com/SponsorshipProcess)

Revision history for this message
Michael B. Trausch (mtrausch) wrote : Re: [Bug 178541] Re: Alltray fails to set window title with Compiz/Emerald and --no-alltray command line option.

On Mon, 2008-01-28 at 15:30 +0000, Daniel Holbach wrote:
> Is this still relevant in Hardy? If so, it'd be nice to update the
> debdiff and submit it for review
> (http://wiki.ubuntu.com/SponsorshipProcess)

I will check in Hardy within the next day or so and let you know. I
have to install Hardy onto my other partition before I can do that. :)

 --- Mike

--
Michael B. Trausch <email address hidden>
home: 404-592-5746, 1 www.trausch.us
cell: 678-522-7934 im: <email address hidden>, jabber
Ubuntu Unofficial Backports Project: http://backports.trausch.us/

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Yes, this is still an issue in Hardy.

Am looking at the process to get the fix in now.

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Daniel: ppaput seems broken in Hardy. Is this easily fixable so that I can follow the remainder of the instructions on https://wiki.ubuntu.com/SponsorshipProcess/ppaput ?

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

I think I managed to get this right without the ppaput utility. I am not 100% sure if I am understanding the processes right for this, though. I did confirm that this patch works using the instructions on https://wiki.ubuntu.com/MOTU/Sponsorship/SponsorsQueue under the section "Notes for Contributors". I have tested and built the resulting package with this debdiff and it is as I have been using it now for a while (since I found the original fix in Gutsy).

What I did was created a patch file in debian/patches and altered debian/rules to patch the source immediately before building. This package doesn't use CDBS, so I added a patch line manually. I am not sure if this was the correct thing to do, but I am under the understanding that changes that are specific to Ubuntu should be kept separate from the actual source itself—this was what seemed like the best way to do that without converting the entire thing to using CDBS, which I would not have the slightest clue how to do just yet anyway.

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Setting to confirmed for pending review per https://wiki.ubuntu.com/MOTU/Sponsorship/SponsorsQueue

Changed in alltray:
status: New → Confirmed
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Attaching diff for just the source files which may be used by upstream

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Ignore the last one; attached to wrong bug. :(

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

* Version must be 0.69-1ubuntu1
* You should adjust Maintainer field as described in https://wiki.ubuntu.com/DebianMaintainerField.
* Mind adopting a standard patch system to apply your patch? dpatch or quilt are good, see https://wiki.ubuntu.com/PackagingGuide/PatchSystems for further references.

Please resubscribe ubuntu-universe-sponsors when you have a new debdiff. Thanks!

Changed in alltray:
assignee: nobody → mtrausch
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Attaching the updated debdiff as requested:

alltray (0.69-1ubuntu1) hardy; urgency=low

  * Work around issues with Compiz window manager and display of
    window titles (LP: #178541)
  * Modify Maintainer value to match the DebianMaintainerField
    specification.
  * Add dpatch to build-depends in debian/control.
  * Modify debian/rules to use dpatch.
  * Modify alltray.desktop comment to be more descriptive and thus useful.

 -- Michael B. Trausch <email address hidden> Mon, 03 Mar 2008 22:17:28 -0500

Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Confirming bug and dropping assignment prior to re-subscribing ubuntu-universe-sponsors.

Changed in alltray:
assignee: mtrausch → nobody
status: Incomplete → Confirmed
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

I know that time is running low on getting fixes into Hardy and everything, and there are probably far, far more important things to look at... but is there a chnace that this can be looked at so that I can re-submit changes if necessary?

Daniel Hahler (blueyed)
Changed in alltray:
assignee: nobody → blueyed
status: Confirmed → In Progress
Daniel Hahler (blueyed)
Changed in alltray:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alltray - 0.69-1ubuntu1

---------------
alltray (0.69-1ubuntu1) hardy; urgency=low

  [ Michael B. Trausch ]
  * Work around issues with Compiz window manager and display of
    window titles (LP: #178541)
  * Modify Maintainer value to match the DebianMaintainerField
    specification.
  * Add dpatch to build-depends in debian/control.
  * Modify debian/rules to use dpatch.
  * Modify alltray.desktop comment to be more descriptive and thus useful.

  [ Daniel Hahler ]
  * Fix "No windows hiding with compiz" (LP: #106583)
    - 02-fix-compiz-windows-select.dpatch, provided by "AZ"
    - There are still issues with compiz and alltray, but this patch makes it
      better
  * debian/control:
    - Standards-Version 3.7.3
    - Moved Homepage from desc to field
  * debian/rules:
    - Fix debian-rules-ignores-make-clean-error (lintian)

 -- Daniel Hahler <email address hidden> Sat, 22 Mar 2008 00:26:48 +0100

Changed in alltray:
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.