If a panel plugin doesn't implement the "set-size" callback, it never recieves a size other than panel-size*panel-size. This, however, isn't documented anywhere, and bit me while writing a plugin a while back. This may very well be a bug, but at the very least it should be documented. Jasper -- is there any reason that this size is forced onto the plugin?
Created attachment 899 Change the docs. Patch to make the docs clear about this issue.
(In reply to comment #0) > If a panel plugin doesn't implement the "set-size" callback, it never recieves > a size other than panel-size*panel-size. This, however, isn't documented > anywhere, and bit me while writing a plugin a while back. > > This may very well be a bug, but at the very least it should be documented. > > Jasper -- is there any reason that this size is forced onto the plugin? > Yes, it's meant to work like this. Plugins get a lot of freedom in setting their size. I want to make sure that if a plugin messes up the panel size, it is a conscious decision and I can direct the angry mob at the responsible plugin maintainer ;-) I've fixed the source file documentation and I will commit it once I have found out how to regenerate the docs again... Thanks.
Fixed with revision 24106.