[Kde-games-devel] kpat issues (in recent svn)
Parker Coates
parker.coates at gmail.com
Fri May 22 16:19:48 CEST 2009
On Fri, May 8, 2009 at 12:22 PM, Parker Coates wrote:
> On Fri, May 8, 2009 at 12:11 PM, Matthew Woehlke wrote:
>> Parker Coates wrote:
>>> On Thu, May 7, 2009 at 1:59 PM, Matthew Woehlke wrote:
>>>> Also, anyone else seeing the drawing glitch of the card backs in
>>>> Klondike? Often, after flipping a card off the talon, the right side of
>>>> the talon is clipped. I noticed while testing the new Penguin deck, but
>>>> it happens with Ancient Egyptian also.
>>>
>>> Not seeing that one either. Could you send a screenshot? From the
>>> sounds of things, this might be a QGraphicsView bug. As far as I know,
>>> the KPat code never clips anything.
>>
>> Could be. I run kpat maximized on either 1600x1200 or 1920x1200, maybe it
>> only happens when the window is very large?
>>
>> Screenshot attached. This is what usually happens; I've occasionally seen
>> even stranger clipping.
>
> This really looks like a QGraphicsView bug to me. Each card is a
> QGraphicsPixmapItem and the pixmap it uses is always a full card. I'm
> assuming that there is more than one face down card in that pile? If
> that's the case then all of them have been clipped.
>
> I'm not sure how we proceed from here.
Okay, my current theory is that this is a QGraphicsView regression in
Qt4.5. A lot of performance improvements were added to QGV for 4.5, so
maybe they got a little too greedy. :) If anyone has a copy of trunk
built against Qt4.4, it would be very much appreciated if you could
test this out.
I've also been able to determine that it is much more likely to happen
at bigger window sizes. I've also changed my local copy of KPat to use
a QGLWidget in the QGraphicsView, and that stops the issue.
Parker
More information about the kde-games-devel
mailing list