When I start amule 2.2.2 it tries to put itself on top of the other windows but is pushed back immeadiatly to the background. The result is a flickering effect with about 5 to 10 Hz which lasts for 3 to 5 s. After that amules either crashes or puts a system tray icon on the desktop. I use Ubuntu Ibex, the effect is reproducable here.
Is that application responding to a configure notify with a configure request??
Do you have focus stealing prevention enabled?
I do not know what a configure notify is. Can you explain this please?
Focus stealing prevention is enabled.
I just want to add that the flickering also appears when amule is the only window on the desktop.
Then I don't understand with what it's racing...
- Can you capture the effect in a screencast?
- Can you try without focus stealing prevention
- Any chance that you try with 4.6?
I cannot reproduce this with amune 2.2.3 and Xfce 3.6 here.
(In reply to comment #5)
> I cannot reproduce this with amune 2.2.3 and Xfce 3.6 here.
I meant Xfce 4.6
BTW, you failed to mention that the problem occurs *only* when amule is configure to 1) Use systray, 2) Hide to systray and 3) start hidden...
Does not see mto be xfce specific, I can reproduce the problem with kwin under kde 4.2
Fix committed in revision 29493.
Note: This is still unclear to me what is correct behaviour here, the problem happens with some other window managers too (e.g. kwin from kde 4.2, fluxbox) but not with others (openbox, metacity, icewm).
I have tried now with Amule 2.2.2 and Xfce 4.4.3 on a 2nd system under gentoo (AMD64) and could not reproduce it there. However, on my 1st system the bug appears independend of focus stealing prevention switched on or off.
I would like to provide a screencast of this but do not know which software to use for this. There are 2 apps in the Ubuntu reps, thats byzanz, which can not be started here and istanbul which is way to slow to record an effect at this frequency.
Sorry I might not have made myself clear, I have been able to reproduce the issue (by configuring amule to use the systray, hide to systray and start hidden) so there is no need for a screencast. The problem is a race condition between the app and the window manager.
That problem is apparently not specific to xfwm4 and affects also other window managers. I suspect this is related to the use of wxGTK "IsShown()" to hide or show the main window, and the chapter 4.1.4 of the ICCCM relative to the use of a synthetic UnmapNotify event to widthraw the window. Apparently, amule overreacts when the WM actually unframe the window when the synthetic UnmapNotify event is processed.
Anyhow, I have committed a fix to xfwm4, but that will not be backported to xfce 4.4.