Created attachment 635805 [details] [diff] [review]
On Windows (I don't know about other platforms) panels have a bug or misfeature that intermittently renders the previous contents when opening a panel a second time. This currently affects the identity popup (there's a bug filed, but I couldn't find it). A workaround for this is to set hidden=true when the panel hides. However, this throws the popup box object away, making previous popupBoxObject.setConsumeRollupEvent calls ineffective.
(In reply to Dão Gottwald [:dao] from comment #0)
> This currently affects the identity popup (there's a bug filed, but I couldn't find it).
Comment on attachment 635805 [details] [diff] [review]
I'd call the attribute 'consumeclicks' (or 'consumeoutsideclicks') since there isn't really a 'rollup' event fired in either case.
consumeoutsideclicks sounds good to me, I can use that.
Created attachment 635877 [details] [diff] [review]
I've added documentation for this. Can someone please verify?
Should I add to menupopup as well? Or is it really only relevant for panels?
You probably wouldn't want to set this on a menupopup. At least I can't think of a case where it would make sense.
I've made it panel only.