rgheck wrote:
Andre Poenitz wrote:
On Mon, Jun 02, 2008 at 05:00:16PM +0100, José Matos wrote:
Hi all, as discussed during the weekend and in order to fix the
problems that appeared with beta 1 I have tagged a new release (beta
2).
As it happened previously I am asking for help to guarantee that
there are no embarrassing bugs. I mean in this case a failure to
compile, on any of our traditional platforms, or any dataloss bug.
I find the "reorganization" behaviour after creating an empty
doc/loading an existing one etc mildly confusing. The document
gets redrawn twice, the first time partially hidden by the tool
bar, the second time correctly, but with ~ 0.5 s delay.
Also, I get a scrollbar for empty and very short documents, and
I am sure that's something I already fixed once a few weeks ago.
I should add that I've also been seeing the "top of the document is
hidden" behavior we had a while ago. It may have followed Abdel's
toolbar work, but I'm not sure.
I don't dismiss this possibility and I'd gladly plead guilty if this
turns right but this looks rather like a problem of flashing scrollbar:
// HACK: Prevents an additional redraw when the scrollbar pops up
// which regularily happens on documents with more than one page.
// The policy should be set to "Qt::ScrollBarAsNeeded" soon.
// Since we have no geometry information yet, we assume that
// a document needs a scrollbar if there is more then four
// paragraph in the outermost text.
if (buffer.text().paragraphs().size() > 4)
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
QTimer::singleShot(50, this, SLOT(fixVerticalScrollBar()));
Who wrote that?
Abdel.