qannotate ui unresponsive for long time when opening file with long history.

Bug #616265 reported by Alexander Belchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Medium
Unassigned

Bug Description

qannotate for NEWS from bzr.dev performs badly: almost minute or so the qannotate window is just white without any content and don't react on anything. I don't think it's right: we should be able to show main gui elements (menu, internal windows) and actual content of the file much quickier.

summary: - qannotate bad performance on NEWS file from bzr
+ qannotate ui unresponsive for long time when opening file with long
+ history.
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Things we can do:

* Cat the file first, so that we show the contents of the file quickly.
* Only load revision that are on screen.

But most importantly, we must not lock up the ui while we run annotate. There may be a way to get annotate to call processEvents. If not, threads ftw.

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 616265] Re: qannotate ui unresponsive for long time when opening file with long history.

Gary van der Merwe пишет:
> Things we can do:
>
> * Cat the file first, so that we show the contents of the file quickly.

That's my guess as well.

> * Only load revision that are on screen.
>
> But most importantly, we must not lock up the ui while we run annotate.
> There may be a way to get annotate to call processEvents. If not,
> threads ftw.

Yep, threads will help definitely. But at least we can grab low-hanging
fruits here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.