Closed Bug 360591 Opened 18 years ago Closed 18 years ago

quota indicator status bar item is too tall

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tuukka.tolvanen, Assigned: BenB)

References

Details

(Keywords: fixed1.8.1.2)

Attachments

(3 files, 3 obsolete files)

tbird trunk 20061112 linux quota status bar item is too tall; switching between an account that shows the quota indicator and one that does not causes the statusbar height to change. (by 1px here)
Attached patch bring on the bikeshed (obsolete) (deleted) — Splinter Review
also, the bright red is a bit garish imo :) this patch uses colors with opacity and without the shadow effect in the hopes that the underlying theme colors bring enough contrast to the table. it seems to look neater on the few themes I looked at. if you opt to not go with this approach, negative margins might do the trick to fix the issue in the summary w/o further appearance changes.
Assignee: mscott → tuukka.tolvanen
Status: NEW → ASSIGNED
Attachment #245575 - Flags: superreview?(mscott)
Attachment #245575 - Flags: review?
Attachment #245575 - Flags: review? → review?(bienvenu)
Attachment #245575 - Flags: review?(ben.bucksch)
Attached image screenshots (obsolete) (deleted) —
Comment on attachment 245575 [details] [diff] [review] bring on the bikeshed I like this change a lot. I'd like to let BenB comment as well though.
Attachment #245575 - Flags: superreview?(mscott) → superreview+
Attachment #245575 - Flags: review?(bienvenu) → review+
> the bright red is a bit garish imo :) The red is intentionally strong. Given that this appears only when the user is at 95% quota, meaning that he has to *take immediate action*, I think it's actually quite subtle as-is. Compare this to the continuous popup warning dialogs that Thunderbird currently passes me on from the server in the same situation. I don't think the faint red is appropriate in such a situation. Similarily, the 80-94% are a quite severe situation, too, esp. if the quota is 20 MB. Yes, the shadow is mainly for the contrast (but I think it looks nice, too). I actually wanted to make it part of the <progressmeter>. That approach would fix this bug, too, I think. There are probably other workarounds than removing the shadow, e.g. the negative margins Tuukka mentioned in comment 1? Note that making the colors softer doesn't garantee contrast, as the forground color is arbitrary and the background fixed.
From a UI / aethetics point of view, I'd like to take this patch. I've looked at the before and after and feel the patch makes this cool feature even better. I'd like to convince BenB this is the case too before I step in though :)
Comment on attachment 245575 [details] [diff] [review] bring on the bikeshed I don't want this to miss the beta2 train, let's get this in. Tuukka, can you land this or do you need help?
Attachment #245575 - Flags: approval-thunderbird2+
no, I can't; go ahead
Sorry (!) for my lack of reply so far. Check it in, if you want.
Attached patch Fix, v2, branch (deleted) — Splinter Review
Same patch, but with no opaque. Reason shown in screenshot (following).
Screenshot shows 1. before (bug 278096 without changes) 2. Tuukka's patch (v1) 3. My last patch (v2) When applying and testing the patch by Tuukka, the result was not as shown in his attached screenshot, but the native progressmeter was still there, with 0%, and opacity applied to the text. Removing opaque fixed it. mscott, should we go with that?
Attached image Screenshot: before vs. v1 vs. v2 (deleted) —
Assignee: tuukka.tolvanen → ben.bucksch
Attachment #251553 - Flags: superreview?(mscott)
Attachment #251553 - Flags: review?(mscott)
Attachment #251553 - Flags: approval-thunderbird2?
Attachment #251553 - Attachment description: Fix, v2 → Fix, v2, branch
Attachment #251554 - Attachment description: Screenshot → Screenshot: before vs. v1 vs. v2
Attachment #251548 - Attachment description: Branch: No bikes, but fries. adapted to branch changes in 278096. → Fix, v1, branch: No bikes, but fries. adapted to branch changes in 278096.
hmm, at least on the trunk, I'm not seeing the native progressmeter you are seeing in the screen shot. I wonder if that problem is branch only.
Could be Linux-only, too. I'll build trunk to see whether I see it there.
Comment on attachment 251553 [details] [diff] [review] Fix, v2, branch Let's go with this for now then.
Attachment #251553 - Flags: superreview?(mscott)
Attachment #251553 - Flags: superreview+
Attachment #251553 - Flags: review?(mscott)
Attachment #251553 - Flags: review+
Attachment #251553 - Flags: approval-thunderbird2?
Attachment #251553 - Flags: approval-thunderbird2+
Thanks. Checked v2 into MOZILLA_1_8_BRANCH. *Not* in trunk yet.
Keywords: fixed1.8.1.2
Attachment #251548 - Attachment is obsolete: true
I see the same problem on trunk Linux.
Attached patch Fix, v2, trunk (deleted) — Splinter Review
Exact same results as in screenshot on trunk. Checked into trunk as well, assuming your reviews were applicable for the trunk as well.
Attachment #245575 - Attachment is obsolete: true
Attachment #245578 - Attachment is obsolete: true
Attachment #245575 - Flags: review?(ben.bucksch)
FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
hmm, I'm curious about what gtk/theme you got the issue in attachment 251554 [details] with, I don't see it on 2.10.6 with the 23 themes I have on edgy on trunk or branch
SuSE 10.1 X86-64 gtk 1.2.10 + 2.8.10 default theme mozconfig (trunk): . $topsrcdir/mail/config/mozconfig ac_add_options --disable-profilesharing ac_add_options --disable-updater ac_add_options --disable-oji ac_add_options --disable-gnome-vfs ac_add_options --enable-optimize=-O ac_add_options --disable-debug ac_add_options --disable-tests ac_add_options --enable-static --disable-shared ac_add_options --enable-extensions=default,inspector ac_add_options --disable-svg
This bug causes bug 385175 (see comment 4 here).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: