Summary: | Panning with arrow keys in preview mode is slow | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Julien Narboux <Julien> |
Component: | Preview-Image | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.2.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.0.0 |
Description
Julien Narboux
2010-02-14 09:27:47 UTC
Yes, it's slow because of these line : http://lxr.kde.org/source/extragear/graphics/digikam/libs/widgets/common/previewwidget.cpp#839 ...which call repaint() on viewport. I don't have found a good solution. In fact the problem is that Qt4 catch keyboard _release_ event in case of key are not yet released ! I think to use a timer here to prevent this call if keyReleaseEvent is called too shortly. Do you understand the problem ? Gilles So the problem is that many events are sent in a short time? 1) What's the indication to use repaint()? Is update() not possible? 2) Yes, use a timer. Is this issue fixed? I can not see any slowdown or flickering... Code is completely rewritten since then, so I guess we can close. |