https://bugs.kde.org/show_bug.cgi?id=511232

--- Comment #3 from [email protected] ---
(In reply to Nate Graham from comment #2)
> I don't have three screens, but I can't manage to reproduce this with two,
> and the right-most one rotated as shown in your arrangement.

I don't think the rotation of the monitors is the key factor here — it's that
the effects are not accounting for the monitor's offset.

Did a little testing with `showfpseffect.cpp`, and if I were to offset the
scene's geometry as such:

```
diff --git a/src/plugins/showfps/showfpseffect.cpp
b/src/plugins/showfps/showfpseffect.cpp
index 9b228ce5a2..a02f2d7c04 100644
--- a/src/plugins/showfps/showfpseffect.cpp
+++ b/src/plugins/showfps/showfpseffect.cpp
@@ -93,7 +93,7 @@ void ShowFpsEffect::paintScreen(const RenderTarget
&renderTarget, const RenderVi
     }

     const auto rect = viewport.renderRect();
-    m_scene->setGeometry(QRect(rect.x() + rect.width() - 300, 0, 300, 150));
+    m_scene->setGeometry(QRect(rect.x() + rect.width() - 300, rect.y(), 300,
150));
     effects->renderOffscreenQuickView(renderTarget, viewport, m_scene.get());
 }
```

then the effect renders correctly on all monitors.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to