Le 05/10/2015 12:38, PhilipPirrip a écrit :

Hi,
It is pretty bad that 2.2 is slower than 2.1. Could you share your lorem
ipsum document?
JMarc

Hi JMarc,
It was a plain text lorem ipsum copied from the web to a text editor and
then to LyX, nothing special about it. It had paragraphs of
some 6-7 lines, no special characters etc.
I've tried it again, now with
  -DLYX_RELEASE=ON  \
  -DLYX_DEBUG=OFF  \
  -DLYX_ENABLE_CXX11=ON  \
  -DLYX_USE_QT=QT4  \
in my run_cmake.sh
It scrolls super fast (but so does 2.1.4, can't see much difference -
possibly because my laptop is fast).

One thing though - (two finger touchpad) scrolling in both versions
feels a bit *shaky*, and you can actually see the scroll bar go down,
then slightly up, then continuing down (and v.v.). Has probably to do
with insets (I inserted a few figure floats) and the (gradual,
screen-by-screen) way LyX calculates the page layout. Speaking of which
- is that really necessary in 2015? Like, when you open a lengthy
document and start scrolling you can notice the scroll bar size changes
as you move down. I don't think that's how browsers or word processors
do things, am I right?



Hi,


Note that under Linux+Qt5, there's this bug:

http://www.lyx.org/trac/ticket/9731

presumably fixed in Qt5.6:

https://codereview.qt-project.org/#/c/126136/

1) Is your testing environment still Linux?
2) Does the slowness disappear if you scroll with arrow keys or PageUp/Down instead of the touchpad?
3) Does the bug go away if you compile with Qt5.6?

If "no" to either question then it might be a separate bug.


Guillaume

Reply via email to