Bug 6643

Summary: REGRESSION: Tree view repaints lines without erasing them first
Product: WebKit Reporter: mitz
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ian, timothy
Priority: P1 Keywords: InRadar, Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Screenshot none

mitz
Reported 2006-01-17 23:12:55 PST
Summary: each time you switch Safari to the foreground with the web inspector open, all the lines above the selected element in the tree view are painted over themselves. After a few switches, they become brighter and aliased (with darker, sharp shadows). To reproduce: open the web inspector, select an element in the middle of the tree view, then switch Safari to the background and back to the foreground several times (5 are enough to make the bug noticeable). I just noticed what may be a related problem: when you have an element selected in the tree view and you click to select another element, all the elements in between are "double-painted" momentarily as the selection changes.
Attachments
Screenshot (87.48 KB, image/png)
2006-01-17 23:13 PST, mitz
no flags
mitz
Comment 1 2006-01-17 23:13:50 PST
Created attachment 5756 [details] Screenshot
mitz
Comment 2 2007-03-10 11:44:50 PST
The problem has worsened lately. You can now reproduce the double-painting simply by changing the selection in the tree view several times (without making it scroll). It is also noticeable in the highlight.
mitz
Comment 3 2007-03-10 12:17:52 PST
The latest regression happened in the r19843-r19850 range.
Timothy Hatcher
Comment 4 2007-03-10 12:38:36 PST
I am in the process of converting the inspector tree to all HTML, so this will go away soon. Still might be good to fix.
David Kilzer (:ddkilzer)
Comment 5 2007-03-10 12:41:42 PST
Regressions are P1. :(
Mark Rowe (bdash)
Comment 6 2007-03-13 16:20:44 PDT
mitz
Comment 7 2007-03-15 08:35:44 PDT
(In reply to comment #3) > The latest regression happened in the r19843-r19850 range. r19848 (parts landed in r19849 and r19850).
Timothy Hatcher
Comment 8 2007-04-04 11:46:09 PDT
This will be fixed with my changes to make the tree be pure HTML/CSS/JavaScript. http://trac.webkit.org/projects/webkit/browser/branches/WebInspectorRefresh I think the main cause of this double paint was the fact that the WebInspectorOutlineView subclass didn't pain an opaque background, and didn't clear before drawing.
Timothy Hatcher
Comment 9 2007-04-20 23:34:42 PDT
This was fixed on the inspector branch and merged to trunk in r20986.
Note You need to log in before you can comment on or make changes to this bug.