Closed
Bug 76164
Opened 24 years ago
Closed 23 years ago
modifying/moving a filter causes several seconds of flashing/redrawing if there are many filters above it
Categories
(MailNews Core :: Filters, defect)
MailNews Core
Filters
Tracking
(Not tracked)
VERIFIED
WORKSFORME
mozilla1.2beta
People
(Reporter: Bienvenu, Assigned: sspitzer)
References
Details
(Keywords: perf, Whiteboard: [Hixie-P0][Hixie-1.0])
If I click on the enable/disable column in the filter picker dialog, the list
box flashes and scrolls up and down for several seconds - it's very painful.
I'm not seeing this using win98 with feb16 commercial trunk build.
QA Contact: esther → laurel
| Reporter | ||
Comment 2•24 years ago
|
||
how about the April 16th build? :-) Do you have enough filters to have a scroll bar?
I'm not sure why I was thinking February?! I'm really using today's (apr16) build.
Yes, I've got a scroll bar and I still don't see a flashing at all. Modern theme.
Comment 4•24 years ago
|
||
David, I don't see this on the 4/22 build on Win 2000 either. I have a
scrollbar as well. Are you still seeing this?
| Reporter | ||
Comment 5•24 years ago
|
||
sorry, this only happens when I have to scroll down to the bottom of the filter
list to get to the filter I want to enable/disable. Did you try that?
Comment 6•24 years ago
|
||
Yeah. It makes it scroll to the top for me but it happens pretty quickly for me.
I don't have that many filters so perhaps with a lot of filters and a slower
machine this action takes a few second. I agree that it shouldn't do this.
| Reporter | ||
Comment 7•24 years ago
|
||
IIRC, your home machine is a bat out of hell :-) I have about 20 filters, and a
P 450.
Comment 8•24 years ago
|
||
Well, I only have about 6 filters so I had to make my window small to get the
scrollbar. Perhaps that had to do with it. I'm also using a release build
(assuming you're using a debug build).
Comment 9•24 years ago
|
||
I have > 25 filters. Changing _anything_ on a filter (enable/disable, edit, move
...) at the bottom of the list causes lots of repainting for me. I'm unsing
2001051720 Win2k installer on a AMD K6-II+ 500.
Maybe the algorithm is to blaim: It looks like the list is rebuild and
completely repainted + scrolled for each existing line above the modified
filter. Strangely, the scrollbar is _growing_ during the process! After all the
repainting, the scrollbar regains its normal size.
Adding perf keyword, nominating for 0.9.2 and changing summary from "clicking
the enable/disable column in filter dialog causes several seconds of
flashing/redrawing" to "modifying a filter causes several seconds of
flashing/redrawing if there are many filters above it".
Keywords: mozilla0.9.2,
perf
Summary: clicking the enable/disable column in filter dialog causes several seconds of flashing/redrawing → modifying a filter causes several seconds of flashing/redrawing if there are many filters above it
| Reporter | ||
Comment 10•24 years ago
|
||
Hey, I'm not the only crazy one! :-)
Comment 12•24 years ago
|
||
Also occures on NetBSD/PPC + XFree86 4.0.1 with mozilla 0.9 and 0.9.1 (and
earlier mozilla releases if I remember correctly).
Updated•24 years ago
|
Summary: modifying a filter causes several seconds of flashing/redrawing if there are many filters above it → modifying/moving a filter causes several seconds of flashing/redrawing if there are many filters above it
Comment 14•24 years ago
|
||
*** Bug 88213 has been marked as a duplicate of this bug. ***
Comment 15•24 years ago
|
||
I investigated some, and this is plain weird. I suspect (although it would
surprise me if I was right :) ) that the whole refresh routine for this dialog's
tree is a hack.
Basically the refresh routine, refreshFilterList, does this to refresh the tree:
1. Clears the current selection
2. Re-selects the item
3. Makes sure the item is visible
This may sound simple, but obviously it's causing the whole tree to repaint.
Hence the reason I think this is some sort of hack to force a refresh.
If I remove the function, clicking on a cycling column (for example to toggle
enabled/disabled state of a filter) doesn't display.
Do other trees do this? I know that those that are using RDF doesn't have to
mess around with repainting "by hand" like this.
I wanna fix this. Seth, any advice?
Updated•24 years ago
|
Blocks: advocacybugs
Updated•24 years ago
|
Keywords: mozilla0.9.4,
mozilla1.0
Comment 16•24 years ago
|
||
*** Bug 93966 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Blocks: patchmaker
Comment 17•23 years ago
|
||
Converting <tree> to <outliner> may fix this bug.
Bug 73948
Comment 18•23 years ago
|
||
This is one of the most painful problems in Mail right now.
Keywords: polish
Whiteboard: [Hixie-P0][Hixie-1.0]
Updated•23 years ago
|
No longer blocks: patchmaker
Comment 20•23 years ago
|
||
*** Bug 130563 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 21•23 years ago
|
||
taking, because I think I fixed this with some code cleanup.
david, can you try again?
Assignee: naving → sspitzer
Target Milestone: --- → mozilla1.2beta
Comment 22•23 years ago
|
||
Just out of curiosity: Which cleanup fixed this?
Comment 23•23 years ago
|
||
Marking worksforme... using current trunk builds.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 25•23 years ago
|
||
great, this works for me now too.
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•