Tray Icon
Martin Schreiber
mse00000 at gmail.com
Sun Jan 8 13:20:56 CET 2017
Hi,
I try to fix TTrayWidget of MSEide+MSEgui
https://sourceforge.net/projects/mseide-msegui/
for Xfce 4.10 on 32 bit openSUSE 13.2.
MSEgui uses the "system_tray_request_dock" protocol. The original size of the
widget is 50x50. After dock it will be reparented and correctly resized to
22x22, it is not visible probably because of negative position.
xwininfo shows:
"
xwininfo: Window id: 0x3a0001d "abcdefg"
Root window id: 0x16d (the root window) (has no name)
Parent window id: 0x320096a (has no name)
0 children.
Absolute upper-left X: -8433
Absolute upper-left Y: -8943
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 22
Height: 22
xwininfo: Window id: 0x320096a (has no name)
Root window id: 0x16d (the root window) (has no name)
Parent window id: 0x320004c "wrapper"
1 child:
0x3a0001d "abcdefg": ("test3" "test3") 22x22+0+0 +-8433+-8943
Absolute upper-left X: -8433
Absolute upper-left Y: -8943
Relative upper-left X: -9999
Relative upper-left Y: -9999
Width: 22
Height: 22
xwininfo: Window id: 0x320004c "wrapper"
Root window id: 0x16d (the root window) (has no name)
Parent window id: 0x1c0006c (has no name)
6 children:
0x320096a (has no name): () 22x22+-9999+-9999 +-8433+-8943
0x320011f (has no name): () 22x22+25+1 +1591+1057
0x32000d0 (has no name): () 22x22+73+1 +1639+1057
0x320007c (has no name): () 22x22+49+1 +1615+1057
0x320007a (has no name): () 22x22+1+1 +1567+1057
0x320004d (has no name): () 1x1+-1+-1 +1565+1055
Absolute upper-left X: 1566
Absolute upper-left Y: 1056
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 96
Height: 24
xwininfo: Window id: 0x1c0006c (has no name)
Root window id: 0x16d (the root window) (has no name)
Parent window id: 0x1c0004c "xfce4-panel"
1 child:
0x320004c "wrapper": ("wrapper" "Wrapper") 96x24+0+0 +1566+1056
Absolute upper-left X: 1566
Absolute upper-left Y: 1056
Relative upper-left X: 1566
Relative upper-left Y: 1
Width: 96
Height: 24
xwininfo: Window id: 0x1c0004c "xfce4-panel"
Root window id: 0x16d (the root window) (has no name)
Parent window id: 0x16003be (has no name)
5 children:
0x1c0006e (has no name): () 113x24+1807+1 +1807+1056
0x1c0006c (has no name): () 96x24+1566+1 +1566+1056
0x1c0006b (has no name): () 27x24+1531+1 +1531+1056
0x1c0006a (has no name): () 26x24+1505+1 +1505+1056
0x1c0004d (has no name): () 1x1+-1+-1 +-1+1054
Absolute upper-left X: 0
Absolute upper-left Y: 1055
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 1920
Height: 25
"
What could be wrong?
A second question, does Xfce support balloon messages
https://specifications.freedesktop.org/systemtray-spec/0.1/ar01s07.html
?
Thanks, Martin
More information about the Xfce4-dev
mailing list