From kde-bugs-dist Thu Jul 31 23:47:07 2003 From: Bart Vanhauwaert Date: Thu, 31 Jul 2003 23:47:07 +0000 To: kde-bugs-dist Subject: [Bug 61933] New: [PATCH] Reduce flicker when selecting largish X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=105969523230836 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=61933 Summary: [PATCH] Reduce flicker when selecting largish areas Product: kiconedit Version: unspecified Platform: Gentoo Packages OS/Version: Linux Status: UNCONFIRMED Severity: wishlist Priority: NOR Component: general AssignedTo: tanghus@kde.org ReportedBy: bvh-cplusplus@irule.be Version: (using KDE KDE 3.1.2) Installed from: Gentoo Packages This patch reduces flicker and speeds up drawing in case a large area is selected. It uses two techniques 1. calls update() instead of repaint() so that Qt can schedule repaints more efficiently 2. paints to a pixmap that is bitblitted to the screen instead of drawing directly on the widget thereby eliminating flicker. Please test this patch before committing, the paint code of kiconedit is not trivial and I am not 100% sure I got everything correct although it-works-for-me (tm).