Created attachment 4860 original state (OK) I'm using the embed plugin to embed in the panel an 'IMAP Notify' ( http://www.panix.com/~grante/files/imapnotify-0.20.tar.gz ) window which checks for emails. When IMAP Notify changes state to indicate new mail, its embedded window apparently expands outside the panel boundaries. See attached screenshots.
Created attachment 4861 modified state (not OK)
Created attachment 4862 unable to revert to original state (not OK)
Forgot: xfce4-embed 1.2.0 Xfce 4.10 Xubuntu 12.04 Precise
Have you tried using the -g parameter to specify a geometry in IMAP Notify? xfce4-embed-plugin can't do much about it if the embedded app ignores the available area presented to it when sizing its own controls.
I use '/home/liv/Build/imapnotify-0.20/imapnotify.py' --geometry=-0-0 but I'm not sure it addresses your concern. However my hunch is that the issue lays with Embed. In normal circumstances (within the WM window), IMAP Notify doesn't behave like this: it does not expand vertically when it's state changes. (It does expand horizontally, as expected, as there is a new string added to on of its labels, ' (1)', but this is beyond the scope of this report.) Within Embed, though, a vertical expansion occurs for some reason.
The reason you're seeing the behavior is because when xfce4-embed-plugin first embeds the app, it force-resizes it to fit (shrinking horizontal and vertical). When IMAP Notify updates, it then resizes itself to its original size, expanding vertically and horizontally back to whatever it feels like. You'll probably either need to specify a width and height as well on the geometry parameter or change the font size used; the embed plugin can't wrestle with ill-behaved applications.