Filters breaking with window resize

Panda 1.8.0 on Mac OSX 10.6.8, python 2.7.2

It seems like direct.filter.FilterManager breaks such that it only renders part of the scene to part of the window (leaving what ever was previously there in the rest) if:

non power of 2 textures are not enabled
AND/OR
The window gets resized

My code:

from panda3d.core import loadPrcFileData
#loadPrcFileData('', 'textures-power-2 none')

from panda3d.core import Texture
from direct.showbase.ShowBase import ShowBase
 
ShowBase()
loader.loadModel("models/environment").reparentTo(render)

from direct.filter.FilterManager import FilterManager
from direct.filter.CommonFilters import CommonFilters      

#filters = CommonFilters(base.win, base.cam)
#filters.setBloom(blend=(0,0,0,1), desat=0.5, intensity=1.0, size="large",mintrigger=0.0, maxtrigger=1.0)

manager = FilterManager(base.win, base.cam)
finalquad = manager.renderSceneInto(colortex=Texture())
finalquad.setColor(1,1,1,1)

base.run()

Both the bloom filter and my do nothing filter break if the window is resized. Only my do nothing filter breaks before resizing if power of 2 textures are not enabled (bloom works correctly in this case until the window is resized).

I want resizing the window to not break my filters. What do I do?

What I get when I run this:

Seems there is a bug, I’ve noticed it too.

I checked direct.filter.FilterManager and the problem seems to happen at line line 316 ( GraphicsBuffer.setSize() )
I comment that line and filters seem fine, proportionally.

Could you put this on launchpad? Thanks!

I don’t know why/how, but apparently I failed to file a bug against this. There is now a bug here: bugs.launchpad.net/panda3d/+bug/1056627