Le 19/03/2017 à 22:12, Pavel Sanda a écrit :
Guillaume Munch wrote:
If QFileSystemWatcher works, you see the modification instantly. If it
does not, you now see it when you activate the window.

Hmm this is not what I see here (gcc 4.9.4 & qt 4.8.5).
I need to scroll or cause some movement so some painting is triggered,
activation of window isn't enough. But at least I know work around.

The first redraw triggers the modification check. It needs a second
redraw after being notified of the result. To me this looks like another
bug where a manual redraw is necessary for math previews. What is the
proper way of asking for a redraw inside the event loop?


So without touching this, do you see easy way how to trigger some signal
which would issue loading all images in the document, not just on the screen.
I could just call such lfun and let lyx work in backgrounds without managing
it for 5min; even that would be relief...

No, not really familiar with this. But it would be achieved by computing
the metrics of the whole document. Such an LFUN will also be useful
for making the scroll bar accurate, would it not?



Reply via email to