0.7.xdev does not dock certain applications
Bug #357468 reported by
Michael B. Trausch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AllTray |
Fix Released
|
High
|
Unassigned |
Bug Description
Found in: AllTray trunk (0.7.2dev+ from lp:alltray r39)
AllTray fails to dock applications which are started with a wrapper shell script, such as OpenOffice.org and MonoDevelop. This is because the wrapper script is started by AllTray and (naturally) has a different process ID than the target windows to dock. AllTray needs some way of accurately detecting target applications. It is likely that the shell script's process ID will be the parent process ID of the actual program in most (if not all) of these cases, so that needs to be looked into.
description: | updated |
summary: |
- AllTray 0.7.xdev does not dock certain applications + 0.7.xdev does not dock certain applications |
Changed in alltray: | |
assignee: | nobody → mtrausch |
importance: | Undecided → High |
milestone: | none → 0.7.3dev |
status: | New → Confirmed |
Changed in alltray: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have this working in trunk for some things, like MonoDevelop, but not others (such as OpenOffice.org). It'd appear that OpenOffice.org's shell script dies at some point before the user interface actually appears, and so the means that are being used to detect this type of situation are ineffective, because OpenOffice.org's process then has a PPID of 1 because init inherits it.
Need to find out if the children of zombies are considered to be orphans or not, and whether or not that is a portable idea, though... or think of another way to try to catch that that isn't specifically special-casing.