Comment 107 for bug 1084

Revision history for this message
In , Christian Weiske (cweiske) wrote :

(In reply to comment #52)
> Wonderful! Could you describe what your extension does?
I use the method described in comment #50 - maxheight=200 and style="overflow:
auto". But.. see next paragraph.

> Are there any problems
> or limitations? Is it "the whole box gets distorted and black when scrolling"?
That seemed only to come in thunderbird 1.1a 200506XX (don't know which exactly)
 which I used to test my other extensions. Today I noted that the "distorted"
thing doesn't happen in tb 1.0.2.
The main problem is that if you set "overflow:auto", the scrollbar appears even
if it doesn't overflow - it seems as if the border at the bottom of the header
view isn't counted, and so the scrollbar occurs just enable scrolling one single
pixel down. To prevent this, the extension checks if normal or all headers are
shown when a message is being loaded, and switched the overlay-style on and off,
depending on the setting.

> If it works well (or even if not), how about submitting a patch to this bug?
IMO that's too quirky to see it as a fix to this bug - it's merely a workaround
which even doesn't work if you start thunderbird with all headers enabled.

IF the overflow bug is fixed, the only thing would be to set the CSS, which
could be very easily done by default. But as there are plenty of overflow bugs,
it will take some time I fear.