Re: Decreasing seams in scaled windows

John Ehresman <[email protected]> Wed, 24 Jun 2026 21:05:30 +0100
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
Neil:

I think it makes sense to commit this and then I=E2=80=99ll send you patche=
s in the next few days to go on top of this. One change to maybe make now i=
s to ifdef out the full repaint for Wayland if SCINTILLA_QT_BACKINGSTORE_FI=
XED is defined.

Thanks,

John

> On Jun 23, 2026, at 11:28=E2=80=AFPM, Neil Hodgson <scintilladotorg@gmail=
.com> wrote:
>=20
> John:
>=20
>> I=E2=80=99ve been unable to reproduce, possibly because my Wayland setup=
 is different than yours.
>=20
> Yes, it could be system, library, or font matching issues. It could
> also be occurring or not because of minor differences: lucking into an
> evenly divisible line height or having the top of Scintilla at
> different scale phases.
>=20
>> I=E2=80=99m using a Ubuntu 24.04 based system and when the system displa=
y magnification is set to 150%, Wayland uses a 2.0 device pixel ratio and t=
hen scales the 200% to 150%.
>=20
> OK, that is probably what is occurring to me since there is an initial
> integer devicePixelRatioF then the DevicePixelRatioChange event
> arrives and it updates to 1.5.
>=20
>> My take now is that Qt scaling is buggy on macOS and Wayland =E2=80=94 t=
he listbox and menus show more debris than scintilla does when the highligh=
ted item moves.
>=20
> So, should I commit a version (attached) that leaves Wayland with
> full-window invalidation for non-integer scaling? That would make it
> easier for people to experiment with this since the bulk of the code
> is more easily downloaded.
>=20
> Patch includes your SCINTILLA_QT_BACKINGSTORE_FIXED change for macOS.
>=20
> Neil
>=20
> --=20
> You received this message because you are subscribed to the Google Groups=
 "scintilla-interest" group.
> To unsubscribe from this group and stop receiving emails from it, send an=
 email to [email protected].
> To view this discussion visit https://groups.google.com/d/msgid/scintilla=
-interest/CACWkrTjzHj5q%3DxbTxtu2X7O0xb%3D03oqpCXubsb0%2Bt6Z8rXJugg%40mail.=
gmail.com.
> <QtScaleK.patch>

--=20
You received this message because you are subscribed to the Google Groups "=
scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-i=
nterest/73059164-A609-4974-AE90-AAF1EA02E717%40wingware.com.