El 18/09/13 16:27, Martin Owens escribió:
Hey Devs,
I've just committed a fix for that darn disappearing text and other items. The culprit was a blank _item_bbox, the code for _item_bbox was very sparse and looking back to the history of where it comes from shows that Niko Kiirala introduced it back in r3505 (2007) to improve filter effect handling when transformed.
What I've done is stripped it out and replaced it with the _bbox used for all the other operations. This means the bounds for the filtering process won't be different for the bounds during other parts of the process. See revision 12528 for the gory details.
What I should be sure of is what Niko was trying to do and if Ted Gould (r6891) or Krzysztof Kosiński (r10347.1.21) spotted anything as they were refactoring the code.
Please do test trunk for issues surrounding filters and transforms. I'd like to make sure fixing this issue doesn't introduce another.
Best Regards, Martin Owens
After a really quick inspection, everything seems ok. The disappearing blurred text bug is gone, and that alone makes me happy :) The filtered objects don't get dark when transformed anymore. Not sure if it was your fix too. was it?
However, I found something that I'm not sure related to this commit (I can't tell because I didn't try before, please take a look): some of the filters don't work properly. The easiest way to check is to apply a drop shadow filter to a text. It does nothing, although the bounding box changes its dimensions.
Again, I didn't check before your commit, so I don't know if it worked before. Actually I think it's the first time I try filters in this devel cycle :-)
Anyway, good work. That annoying bug was around too much time.
Gez.