André Pönitz wrote:
From the docs:
We suggest only using repaint() if you need an immediate repaint, for
example during animation. In almost all circumstances update() is
better, as it permits Qt to optimize for speed and minimize flicker.
The problem is that the speed
André Pönitz wrote:
> >From the docs:
>
> We suggest only using repaint() if you need an immediate repaint, for
> example during animation. In almost all circumstances update() is
> better, as it permits Qt to optimize for speed and minimize flicker.
The problem is that the speed
On Fri, Sep 21, 2012 at 12:51:43AM +0200, Pavel Sanda wrote:
Scott Kostyshak wrote:
void GuiWorkArea::update(int x, int y, int w, int h)
{
- viewport()-update(x, y, w, h);
+ viewport()-repaint(x, y, w, h);
IIRC it was Andre's claim that we should use update instead of repaint.
On Fri, Sep 21, 2012 at 12:51:43AM +0200, Pavel Sanda wrote:
> Scott Kostyshak wrote:
> > void GuiWorkArea::update(int x, int y, int w, int h)
> > {
> > - viewport()->update(x, y, w, h);
> > + viewport()->repaint(x, y, w, h);
>
>
> IIRC it was Andre's claim that we should use update
Some have reported problems with LyX scrolling on Windows and Mac.
Robert Schulze has git-bisected his way to the root cause of the
particular scrolling problem he is experiencing:
http://www.lyx.org/trac/ticket/8135
I am wondering if his problem is the same as others. The patch for
current branch
Scott Kostyshak wrote:
void GuiWorkArea::update(int x, int y, int w, int h)
{
- viewport()-update(x, y, w, h);
+ viewport()-repaint(x, y, w, h);
IIRC it was Andre's claim that we should use update instead of repaint.
Maybe he would know why this slow downs LyX so much.
Pavel
Some have reported problems with LyX scrolling on Windows and Mac.
Robert Schulze has git-bisected his way to the root cause of the
particular scrolling problem he is experiencing:
http://www.lyx.org/trac/ticket/8135
I am wondering if his problem is the same as others. The patch for
current branch
Scott Kostyshak wrote:
> void GuiWorkArea::update(int x, int y, int w, int h)
> {
> - viewport()->update(x, y, w, h);
> + viewport()->repaint(x, y, w, h);
IIRC it was Andre's claim that we should use update instead of repaint.
Maybe he would know why this slow downs LyX so much.
Pavel