bisecting the 1-pixel bug
Marco Martin
notmart at gmail.com
Sat Feb 14 16:35:47 CET 2009
Hi all,
before i forget the details, i've done some tests about the 1 pixel bug in
framesvg and what i found is this:
it happens only when the svgrenderer paints on a qpixmap, if asked to paint on
all of it, sometimes the last pixel gets not painted, the minimum amount of
code to reliably cause this is the file attached, note the 1 pixel red line
that appears sometimes.
i've done a git bisect on the qt/all snapshot branch and probably doesn't tell
that much (it does just reflet snapshots and not actual commits right?)
but what i've found, if i didn't did terrible mistakes is that:
(if it's not a really trivial thing to fix i'm going to post this on the qt
task tracker)
355c90dad265a6c3b20f7bffeeabdc420ace78ee is first bad commit
commit 355c90dad265a6c3b20f7bffeeabdc420ace78ee
Author: Snapshots <snapshots at trolltech.com>
Date: Wed Dec 3 02:00:16 2008 +0100
Update to Qt 4.5 snapshot 20081203
:100644 100644 f053d8e7342aa99764f9f4674296d9ca9a4db372
8a9943da9b00c055f7d8dd5ebaffe0698c9502b4 M .tag
:040000 040000 24d96e05510c648058db5df5b5ef2bbad15f82c9
7961db773e9b5b60ec300edbddcc87998d1c068b M doc
:040000 040000 60df8b9737bcb54961c379640241c725963dee04
7d3f9d1080034f16a11fc1a7caf0d581a59ed4a9 M qmake
:040000 040000 f89dd3fb8c536d65c8a0f091807c0a61030b4f59
ded3aa6cdf7bec61efad821e255565a07c39452b M src
:040000 040000 6edf3b7029b91891f30295e21e49f9a6c1380159
20fa707790f7a3d935642e39ac7561832d9692c7 M tools
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svgtest.cpp
Type: text/x-c++src
Size: 1178 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090214/01921c1f/attachment.cpp
More information about the Plasma-devel
mailing list