Maximizing Panda window skews the content

The project I am working on works fine. Before a couple changes, when I clicked the maximize button, it acted as you would expect: a full size window showing more “game-space” and with scaled up content.

I then decided to play with the bloom filter using the basic glow sample as a guide. I got it working to my liking, but now when I hit maximize, the window shows a horizontally stretched image of the left 1/3 of the screen.

The same behavior exists in the glow basic sample, but when you hit the space bar to toggle the glow effect, it re-sizes everything to fit back to what you would expect to see.

Is there any way to mitigate this or otherwise add something to the task manager to automatically set things as they should be?

Could you show a screenshot?

Which version of Panda3D are you using?

I remember seeing this kind of thing happen when people were overriding ShowBase’s windowEvent accidentally, by overriding it or calling base.ignoreAll() or something of the sort, so make sure that you’re not doing that.

Here is what the screen looks like when I first open it…


And here is what I get when I maximize it.


It works as expected when I comment out the following line in init (but I obviously lose all glow effects):

self.filters.setBloom(blend=(0,0,0,1), desat=-0.5, intensity=3.0, size=3)

EDIT - I am using 1.8.1