Fighting the Scribus' blurred border

One of the big small whishes that have been expressed for Scribus at the last LGM has been to fix that blurred gray border around the unselected frames that have not border set.

During the "coding" workshop at the RMLL Cédric and Guillaume tried to set that line to a 1px. Always. But they didn't manage to find the place where that line is defined.

With a bit more time at hand, I've also tried with Guillaume to find it. And I was ready to write this blog report to tell you how much better we failed this time.

We went a step further, we found that the "unselected" lines are defined in PageItemTextFrame::DrawObjDecoration and the selected ones in CanvasMode::drawSelection(). We could change their color and thickness, but could not really fix the blurring.

And then I started to write this blog post, prepared some small frames for a screenshot and what did I discover? If I move the frame with the arrow keys there is no blurring!

A frame moved with the arrow keys, one moved with the mouse and a selected one

Now: this is a path worth to be followed!