[RFC][PATCH] Change to buffer lookup for given temporary files

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri Feb 21 23:06:04 UTC 2020


Le 20/02/2020 à 14:42, Pavel Sanda a écrit :
> This is my personal opinion and others might see it differently but I am
> somewhat frustrated with appearing regressions that are not getting fixed even
> if properly reported to the bug tracker and the recent decision to hide LTS
> releases with stability fixes behind paywall will make things even worse.

I totally agree with this. Qt is a black box. When is works, all is 
fine. When it does not, we have to guess when it stopped to work and 
why. Text painting in work area is a pain, for example.

> So I would say that if we have nightmarish piece of code (which
> might be the case here) then it make sense to Qt-fy it.

This is what I thought with the text-painting/string-breaking stuff, and 
now we have to code by hand the word breaking rules in CJK (#11593). And 
we have to work around weird bugs. We have also some very weird bugs 
related to Qt unicode handling.

The advantage of C++ std library here is that everything is dictated by 
a standard and every bug is something that has to be fixed. So we can 
basically rely on the behavior of the methods.

JMarc


More information about the lyx-devel mailing list