Commit b18557c5 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Disable partial updates for fractional HiDPI cases

There is some bug either in QPainter or in our partial updates
patches that cause an update issue in reference images decoration.

Basically, the crop rect of the update should be aligned to the
physical pixels, but it is not.

parent 158ab073
Pipeline #269450 canceled with stage
in 18 minutes and 31 seconds
......@@ -243,7 +243,17 @@ void KisOpenGLCanvas2::paintEvent(QPaintEvent *e)
d->updateRect = e->rect();
if (qFuzzyCompare(devicePixelRatioF(), qRound(devicePixelRatioF()))) {
* Enable partial updates **only** for the case when we have
* integer scaling. There is a bug in Qt that causes artifacts
* otherwise:
* See
d->updateRect = e->rect();
d->updateRect = boost::none;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment