[Bug 481186] Re: [Hardy] Cannot dock more than one Prism app using AllTray

alexwyndham alexander.j.wyndham at googlemail.com
Thu Nov 12 22:15:10 UTC 2009


First AllTray session initiated with:
   alltray -d -na xulrunner-1.9 /usr/share/prism/application.ini -webapp google.tasks at prism.app
Debug output below ([1]).  Google Tasks begins, already docked.

Second AllTray session initiated with:
   alltray -d -na xulrunner-1.9 /usr/share/prism/application.ini -webapp google.mail at developer.mozilla.org
Debug output below ([2]).  Google Mail begins, in an ordinary window - clicking the 'x' does not dock the app.

The first session begin Google Tasks in Prism; the second, Google Mail.
If I swap the two - launch Mail first, Tasks second - then Mail will
dock, but Tasks will not.  It really does seem as though the first
launched gets priority.

I hadn't tried AllTray's click mode.  Have now tried it, and by
selecting AllTray from the GNOME menu as necessary and click-docking the
relevant apps they all do dock.  However, I'd like to be able to launch
a Prism app and AllTray 'all at once', so I can make GNOME menu items
out of them, have them autorun at session startup, etc.  I'm attempting
to launch the above commands (and variations on them for the apps in
question) through GNOME menu items, rather than via .desktop items.

===

[1]

command without args: xulrunner-1.9
basename: xulrunner-1.9
command: xulrunner-1.9 /usr/share/prism/application.ini -webapp google.tasks at prism.app
win->title_time: 0
keep original title
win->notray: 0
HAVE MANAGER WINDOW
win->libsyp_window id: 62914563
execute program: xulrunner-1.9 /usr/share/prism/application.ini -webapp google.tasks at prism.app
lib is here: /usr/lib
old preload: (null)
preload string: LD_PRELOAD=/usr/lib/liballtray.so.0.0.0
wait for window
liballtraynomap_filter event: ClientMessage
got window from lib: 65011926
found child window: 65011926
child have pid: 14736
get_window_icon with size request: 30x30
read_rgb_icon  --> ok
command_menu->len: 0
have manager window.... now creat_tray.....
get_window_icon with size request: 24x24
read_rgb_icon  --> ok
update window title
net_wm_visible_name failed
title: Prism
win->title: Prism
theme is: Clearlooks
theme name: Clearlooks
theme_file: </home/alex/.themes/Clearlooks/metacity-1/metacity-theme-1.xml>
Failed to read theme from file /home/alex/.themes/Clearlooks/metacity-1/metacity-theme-1.xml: Failed to open file '/home/alex/.themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory
theme_file: </usr/local/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml>
Failed to read theme from file /usr/local/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml: Failed to open file '/usr/local/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory
theme_file: </usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml>
normal found !
right_titlebar_edge: 4 !
icon_window_configure_event: 24x24
update_tray_icon: real plug size: 24x24
get_window_icon with size request: 24x24
read_rgb_icon  --> ok
property notify
property notify
property notify
update window title
net_wm_visible_name failed
title: Tasks
win->title: Tasks
property notify
property notify

---

[2]

command without args: xulrunner-1.9
basename: xulrunner-1.9
command: xulrunner-1.9 /usr/share/prism/application.ini -webapp google.mail at developer.mozilla.org
win->title_time: 0
keep original title
win->notray: 0
HAVE MANAGER WINDOW
win->libsyp_window id: 69206019
execute program: xulrunner-1.9 /usr/share/prism/application.ini -webapp google.mail at developer.mozilla.org
lib is here: /usr/lib
old preload: (null)
preload string: LD_PRELOAD=/usr/lib/liballtray.so.0.0.0
wait for window
map notify
filter mapped window: 0x3e00277 "Prism"window int: 65012343

window got through first filter
PID found: yes
PID match: no
process group id: 6064
process id match: no
PID found: no
found strings: res_class: Prism  res_name Webrunner   
res name down: webrunner
command down: xulrunner-1.9
map notify
filter mapped window: 0x3a008ad "Terminal"window int: 60819629

override redirect -> skip
map notify
filter mapped window: 0x101ca69 "gnome-panel"window int: 16894569

override redirect -> skip

===

-- 
[Hardy] Cannot dock more than one Prism app using AllTray
https://bugs.launchpad.net/bugs/481186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list