Closed Bug 530047 Opened 15 years ago Closed 14 years ago

message pane header buttons cover From address and also push the right msg page part out of the window pane

Categories

(Thunderbird :: Message Reader UI, defect)

defect
Not set
major

Tracking

(blocking-thunderbird3.1 rc1+, thunderbird3.1 rc1-fixed)

RESOLVED FIXED
Tracking Status
blocking-thunderbird3.1 --- rc1+
thunderbird3.1 --- rc1-fixed

People

(Reporter: mcepl, Assigned: bwinton)

References

Details

(Keywords: intl)

Attachments

(12 files, 11 obsolete files)

248.18 KB, image/png
Details
2.10 KB, patch
bwinton
: review-
dmosedale
: ui-review+
Details | Diff | Splinter Review
19.38 KB, image/png
clarkbw
: ui-review+
Details
1.42 KB, patch
Details | Diff | Splinter Review
1.46 KB, patch
dmosedale
: review+
clarkbw
: ui-review-
Details | Diff | Splinter Review
2.14 KB, patch
Details | Diff | Splinter Review
3.70 KB, patch
Details | Diff | Splinter Review
281.84 KB, image/png
Details
29.01 KB, image/png
Details
15.17 KB, patch
dmosedale
: review+
bwinton
: ui-review+
Details | Diff | Splinter Review
2.57 KB, patch
dmosedale
: review+
Details | Diff | Splinter Review
1.60 KB, patch
Details | Diff | Splinter Review
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.1.5) Gecko/20091105 Fedora/3.5.5-1.fc12 Firefox/3.5.5
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091119 Fedora/3.0-3.11.rc1.fc12 Lightning/1.0pre Thunderbird/3.0

Plain text messages get wrapped out of the window. See attached screenshot

Reproducible: Always

Steps to Reproduce:
1.just read emails
2.
3.
Actual Results:  
text gets wrapped out of the window

Expected Results:  
text should be wrapped so it whole in the window
Flags: blocking-thunderbird3?
Assignee: nobody → dmose
Giving to Blake for further investigation.  What appears to be happening here is that the localized versions of these buttons are so long that not only are they overwriting the value of the "from" field, they're actually bumping up against the label.
Assignee: dmose → bwinton
(In reply to comment #2)
> Giving to Blake for further investigation.  What appears to be happening here
> is that the localized versions of these buttons are so long that not only are
> they overwriting the value of the "from" field, they're actually bumping up
> against the label.

Yeah, that too. It is cs_CZ locale.
From the screenshot, it doesn't seem to have anything to do with wrapping, but it's a dup of bug 520249. See also bug 523254 comment 5.
Attached image Well, we could do this... (obsolete) —
Is it totally heinous, or not?

Thanks,
Blake.
Attachment #413705 - Flags: ui-review?(clarkbw)
Comment on attachment 413705 [details]
Well, we could do this...

wow, that could work.  not the prettiest thing but at least it makes everything work again.
And here's the phenomenally large patch to enable that behaviour, on the off chance we think it helps.

Later,
Blake.
As BenB mentioned in IRC, it doesn't really solve the problem of not letting the message pane wrap because the buttons are too long.  But it does give us some extra wiggle room there.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
That's precisely what I suggested in bug 520249. Shouldn't we just dup it?
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Reverting Ben's dup-o.  ;)
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Yup, wasn't intentional to actually carry it out.

This is a nice patch, I thought I had to use CSS absolute positioning and XHTML.

You could let the row of buttons also wrap, in case that alone is too wide (seems likely in this locale, given the screenshot).
Changing summary to better reflect real bug.

Drivers: IMHO, this bug is bad enough to actually delay release. The fix is not without risk, but the problem is IMHO severe and can also be seen in en-US and other languages.
Status: REOPENED → NEW
Summary: Line wrapping wraps message out of the window → message pane buttons cover From address and also push the right msg page part out of the window pane
Attachment #413576 - Attachment description: screenshot illustrating the issue → Screenshot: From address, Date and "Other actions" are all gone
Comment on attachment 413705 [details]
Well, we could do this...

didn't mean to carry forward the question mark.
Attachment #413705 - Flags: ui-review?(clarkbw) → ui-review+
I tried to get the row of buttons to wrap, but it didn't work out for me.  I'ld love to see a patch which allowed that, though.  :)

Later,
Blake.
(In reply to comment #6)
> (From update of attachment 413705 [details])
> wow, that could work.  not the prettiest thing but at least it makes everything
> work again.

Much much better! Thanks
With the previous patch, the buttons were left-aligned, tucked to the From address and left a gap on the right towards the window border. This patch fixes this.

I am currently trying to also solve the problem of "Other actions" button covering "more" (see bug 520249), with limited success.
Attachment #413707 - Attachment is obsolete: true
Attachment #413722 - Flags: review?(bwinton)
Attached image Screenshot with Fix v2
Attachment #413705 - Attachment is obsolete: true
This is not finished and does not replace Fix v2. I'm not happy yet with how it works, but attaching current state of work.
More or less same as WIP 3

it works in a way, but
1) the date and other actions go underneath the addresses, when there's not enough space. at least they don't cover "more" anymore, but it takes considerably more veritical space.
2) that even happens whenever a subject is long, because the "Other actions" wraps before the subject wraps.
Attachment #413727 - Attachment is obsolete: true
Attached patch Fix, v5 (obsolete) — Splinter Review
This is again the same as Fix v2, but trying to solve the covered "more" button with another idea: I noticed that the biggest problem is that 2 addresses show, and that plus the button is just too much. The addresses also can't wrap (which would be the obvious solution): They are already a <description>, but we force the wrapping off with the singleline="true" hack that implements our show/hide toggle, so that's non-trivial to solve.

So, the cheap solution is to show only one address at first, and show others after "more". I argue that's more useful and also more discoverable than attempting to show 2 and risking that the "more" is not visible at all.

I also think that this patch v3 worth to be included in 3.0. The problems it solved are just too big to ship with, IMHO, and the patch - although not for free, neither riskless nor without tradeoff - simple enough to risk it.
Attachment #413734 - Flags: review?(bwinton)
Attached image Screenshot with Fix v5 (obsolete) —
I think that's looking quite reasonable.

Bryan, please approve to show only one address by default, see last comment.
Attachment #413735 - Flags: ui-review?(clarkbw)
I'm also going to send this in email to Bryan, as he may see that sooner:

I downloaded the cs-CZ build on my 1024x768 laptop, and played around with that.  Things look ok in default layout, as long as the window is allowed to be full-screen.  It gets ugly quickly if you shrink it.  Vertical view is unusable, even at full-screen.  Wide view actually looks pretty good.

After a bunch of driver discussion, our current belief is that mixing XUL and HTML box model stuff at this late stage is too risky for 3.0, though we could probably take it for 3.0.1 given some baking time.

As an alternate theory for 3.0, Blake is going to try to put together a patch that causes the Vertical View to default to using icons rather than the text.  Bryan is this something you could live with?

If not, we should probably ship as-is, and relnote the problem, suggesting manually switching to icons mode or using Wide View as workarounds.
The problem is not just vertical view. When I make the standalone msg window a size so that it's as wide as the bugzilla wrap width (80 chars?), i.e. a reasonable size, I can't even see "from bugzilla-daemon@mo", and it's already cut off.

Yes, there is risk, but can it get much worse than it already is?
Another option we can choose from.
Attachment #413758 - Flags: ui-review?(clarkbw)
Attachment #413758 - Flags: review?(dmose)
Some questions were raised on IRC, which might be germane to your decision, Bryan:

- Shouldn't there be an else clause?
  I didn't think so.  I don't want to set it to anything in particular if we're not switching to vertical mode.

- Right, but what about when we switch out of vertical mode?
  I think we stay in icons-only mode, on the basis of the smallest possible  change.  Otherwise, what if you're in text-and-icons, and go to vertical, then go to text-only?  Do we go back to text-and-icons, or stay in text-only?  I figure it makes the most sense to stay in the icons-only mode, although there is the chance of a problem with users who just "try out" vertical mode and switch back immediately and then don't even realize that button labels are gone and don't know how to get them back.

- Is there a SetAndDoNotPersist()?
  Even if there was, I wouldn't want to call it.  If you switch from icons-and-text to vertical/icons-only, then exit and restart, you should still be in icons-only, I think.
Status: NEW → ASSIGNED
(Thanks to DMose and BenB for the questions and scenarios.)
Comment on attachment 413734 [details] [diff] [review]
Fix, v5

I splitted out the "show only one recipient" idea to bug 530239, because it's safe code-wise.
Attachment #413734 - Attachment is obsolete: true
Attachment #413734 - Flags: review?(bwinton)
Attachment #413730 - Attachment is obsolete: true
Attachment #413735 - Attachment is obsolete: true
Attachment #413735 - Flags: ui-review?(clarkbw)
(In reply to comment #25)
> 
> - Is there a SetAndDoNotPersist()?
>   Even if there was, I wouldn't want to call it.  If you switch from
> icons-and-text to vertical/icons-only, then exit and restart, you should still
> be in icons-only, I think.

It looks to me like UpdateMailPaneConfig gets called from onload, so if there
were one, I think that would actually be better.
So blake mentioned that he's pretty tired, and I'm starting to lose alertness as well.  To the point where I don't feel comfortable doing a review and jamming this into the tree because I don't think I have a clear enough picture of the details in my head.

I'd like to hear Bryan's opinion at this point, and I'll look in on the bug in the morning to review (or someone else can grab the review from me before that, if they wish), if that's the solution Bryan wants to go with.

That said, I'm liking the idea of relnoting what we've got, and taking one of Ben's fixes for 3.0.1 more and more.
(In reply to comment #28)
> (In reply to comment #25)
> > - Is there a SetAndDoNotPersist()?
> >   Even if there was, I wouldn't want to call it.  If you switch from
> > icons-and-text to vertical/icons-only, then exit and restart, you should
> > still be in icons-only, I think.
> It looks to me like UpdateMailPaneConfig gets called from onload, so if there
> were one, I think that would actually be better.

Okay, so we could do _this_ instead.

It would let people who switch to and from vertical mode by accident to get their old toolbar buttons back by quitting and restarting Thunderbird.  On the other hand, it would make people who like the new icons-only toolbar buttons lose them on restart, if they didn't re-set the option.

I don't know if there are any good answers here, but now you have a few to choose from.  :)

G'night,
Blake.
Attachment #413768 - Flags: ui-review?(clarkbw)
Attachment #413768 - Flags: review?(dmose)
(In reply to comment #30)
> It would let people who switch to and from vertical mode by accident to get
> their old toolbar buttons back by quitting and restarting Thunderbird.

When switching to a different view, couldn't you reset the value from the saved pref?

> On the
> other hand, it would make people who like the new icons-only toolbar buttons
> lose them on restart, if they didn't re-set the option.

But it wouldn't affect people who had set their toolbar to icons-only, gone into vertical view, then come back out & restarted would it?
(In reply to comment #31)
> (In reply to comment #30)
> > It would let people who switch to and from vertical mode by accident to get
> > their old toolbar buttons back by quitting and restarting Thunderbird.
> When switching to a different view, couldn't you reset the value from the
> saved pref?

Yes, in theory.  What's the inverse call for document.persist?  (i.e. the call that will get the previously persisted value.)

(An hour or two later, I've finally come up with this.  Someone should really throw this code into document.retrieve(), or something, cause wow, is this area ever under-documented.  :)

I assigned the review to dmose, cause he got the previous two, but if you wanted to steal it, Mark, I wouldn't object to that.

> > On the
> > other hand, it would make people who like the new icons-only toolbar buttons
> > lose them on restart, if they didn't re-set the option.
> But it wouldn't affect people who had set their toolbar to icons-only, gone
> into vertical view, then come back out & restarted would it?

No, nor would it affect people who went to the vertical view, came back out, right-clicked and selected icons-only, and then restarted.  It's not terrible behaviour by any means.

Later,
Blake.
Attachment #413824 - Flags: ui-review?(clarkbw)
Attachment #413824 - Flags: review?(dmose)
> Someone should really throw this code into document.retrieve()

Filed bug 530312 about that.
Comment on attachment 413768 [details] [diff] [review]
A patch to not save the pref (for 3.0).

gave this the ok on IRC so setting it up here as well.
Attachment #413768 - Flags: ui-review?(clarkbw) → ui-review+
Comment on attachment 413722 [details] [diff] [review]
Fix, v2 (for 3.0.1, probably)

Carrying forward ui-review+, since it got that on a previous iteration.
Attachment #413722 - Attachment description: Fix, v2 → Fix, v2 (for 3.0.1, probably)
Attachment #413722 - Flags: ui-review+
Attachment #413758 - Flags: ui-review?(clarkbw)
Attachment #413758 - Flags: review?(dmose)
Attachment #413824 - Flags: ui-review?(clarkbw)
Attachment #413824 - Flags: review?(dmose)
Attachment #413768 - Flags: ui-review+ → ui-review?(clarkbw)
Comment on attachment 413768 [details] [diff] [review]
A patch to not save the pref (for 3.0).

clarkbw has tentatively said this is OK, but he would like to play around with it a bit more in a few hours before giving it his final seal of approval.  Putting back ui-review? so that we have the least potential for confusion about what still needs to happen.
Attachment #413768 - Attachment description: A patch to not save the pref. → A patch to not save the pref (for 3.0).
What do you all think about this one?

Later,
Blake.
This time also saving it when the toolbar's mode gets persisted.
Attachment #413842 - Attachment is obsolete: true
The saving via DOM still feels a little risky to jam in at the last second without baking.

So at this point, I feel like the best balance of risk & reward that we're likely to get is to keep moving forward with is "a patch to not save the pref" that clarkbw has tentatively OKed (or, if we decide that we can't live with that, just relnoting and living with what we've got now).

In testing that patch, I've found one other odd behavior:

Start in the default mode (classic view & text + icons)
Switch to vertical mode (forces icons-only) at least until you quit
Start again, still in vertical mode with icons only
Switch to Classic mode
You still have icons-only, not the old-default of icons+text.

This usage pattern feels unusual enough that I suspect we can live with the pain, but that should be factored into the final ui-r decision.
Comment on attachment 413768 [details] [diff] [review]
A patch to not save the pref (for 3.0).

r=dmose
Attachment #413768 - Flags: review?(dmose) → review+
(In reply to comment #39)
> So at this point, I feel like the best balance of risk & reward that we're
> likely to get is to keep moving forward with is "a patch to not save the pref"
> that clarkbw has tentatively OKed (or, if we decide that we can't live with
> that, just relnoting and living with what we've got now).
> 
> In testing that patch, I've found one other odd behavior:

I'm also concerned that if you live in vertical view mode with a wide screen and want text on your icons, you'll be resetting the toolbar on each restart to what you want as the patch forces you to icon mode all the time.
Mark: ugh, yes.  I'm continuing to like the idea of living with what we've got now even more.  :-(  I'm interested in clarkbw's thoughts...
Yeah I'm feeling like we should just stick with what we have and relnote this problem. We'll have enough time to work out a real fix for the 3.0.1 release.
Attachment #413768 - Flags: ui-review?(clarkbw) → ui-review-
As a side note, I tried a quick fix by moving the code inside the if (messagePane.parentNode.id != desiredId) test, but it looks like that test is true on startup, because it didn't fix the bug.
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3.1+
Flags: blocking-thunderbird3-
Keywords: relnote
(In reply to comment #43)
> Yeah I'm feeling like we should just stick with what we have and relnote this
> problem. We'll have enough time to work out a real fix for the 3.0.1 release.

Just to expound on this a bit.  I think it can be ok to introduce a slightly odd behavior as a fix to an issue like this.  But given that we're planning on reverting this odd behavior later for a more real fix it seems more cruel than helpful to our users as a whole.  Lets just get a real fixed baked and ready for the 3.0.1 release. :)
Flags: blocking-thunderbird3- → blocking-thunderbird3?
Blake, can you please formally review Fix v2 (you created the first version of it)? I can check that into trunk, and it can bake there.

Bryan, can you please ui-review bug 530239? This would be very safe, that's why I splitted this out from here.
Flags: blocking-thunderbird3? → blocking-thunderbird3-
Hello, 
I'm a former subscriber of bug 520249, on which I added a new comment after trying rc1. Ben Bucksch nicely invited me here and I discovered your interesting discussion.

Lead me to find a very good way of working around it now : right clicking over the offending buttons in the message header pane now offers the choice of displaying only icons. This doesn't affect the general toolbar, only the message pane. This seems perfectly OK for what I can see.

I'm not enough involved in the code to know which patch is applied or not in my build, but some of you will certainly be : Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.5) Gecko/20091121 Thunderbird/3.0

Moreover, the pane now wraps correctly the text :-) (with icons and text of course its width was calculated for the buttons, so the thoeretical width was wider than the actual pane.

It seems that you're about to ship it !

Bravo, bravo !

Michel
re Fix v2: 
-        <hbox id="expandedHeadersTopBox" flex="1">
+        <hbox id="expandedHeadersTopBox" flex="1" style="display: block;" >

Blake suggested to use <html:div> instead of <hbox> with display:block, to make the code clearer. I think that makes sense, if it doesn't break anything (e.g. themes).
No longer blocks: 531346
suggest this is major, given intl impact
http://forums.mozillazine.org/viewtopic.php?f=39&t=1637175
Severity: normal → major
Keywords: intl
Summary: message pane buttons cover From address and also push the right msg page part out of the window pane → message pane header buttons cover From address and also push the right msg page part out of the window pane
Version: unspecified → 3.0
Wayne, the previous post is about "all headers" mode -> bug 526918
Comment on attachment 413722 [details] [diff] [review]
Fix, v2 (for 3.0.1, probably)

Because of the weirdness with the spacer and the hbox-acting-like-a-div, I can't in good conscience approve this patch.

If you wanted to try a patch with something like what's in comment 49, that might be better.  (Or perhaps better still would be to leave the hbox, and put a div inside of it.  I think that _might_ break fewer extensions.  Then again, maybe not.)

You could also try this patch with a different reviewer.  One who may be more comfortable with this sort of mixing of XUL and (X?)HTML.

Sorry about that,
Blake.
Attachment #413722 - Flags: review?(bwinton) → review-
Yeah, sure, I'll attach a patch with <div> later.
Attached image screenshot illustrating the issue (obsolete) —
Actually I thought, that this is limited to localized environment where too big buttons push the right margin outside of the window. But here I have en_US Thunderbird Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100201 Fedora/3.0.1-1.el6 Lightning/1.0b1 Thunderbird/3.0.1, nothing seems to be squeezed and yet wrapping is off. What's the matter?
Comment on attachment 426218 [details]
screenshot illustrating the issue

You mean inside the body? That's because of the HTML of the message itself. If it's in a table, and there's a wide element like the image, the image makes the table wide and with it the text in it. You have the same effect on the web. Has nothing to do with Thunderbird UI.
Attachment #426218 - Attachment is obsolete: true
Since we want some baking on whatever we go with here, I'm going to tentatively set this to block beta1 without yet having talked to Blake.  Blake, what's the next step here -- to request ui-review from Bryan on one or both of the existing patches?
blocking-thunderbird3.1: --- → beta1+
Flags: blocking-thunderbird3.1+
I think we need to figure out what we want to do.  If only there was a module owner for Toolbars, or the Message Reader…  :)

We didn't want to take Ben's patch because mixing XUL and HTML seemed a little too weird for me at that stage, but the deadlines aren't looming quite as closely now, which changes things.  Could we try Ben's patch from attachment 413722 [details] [diff] [review] (or, more accurately, the new one that uses a div that he mentions in comment 53 but hasn't posted yet), but still leave the option open to revert it if it looks like it's causing unexpected weirdness?

Ben, would that work for you?  I think we could carry forward the ui-r+ unless Bryan speaks up, and I think I'm okay giving it a quick r+, if the change is simple enough, and with the caveat that we might revert it in the future.

Thanks,
Blake.
As requested by bwinton, here's Fix v2 with <html:div> instead of <hbox style="displaly: block">. Functionally, they are the same, screenshot v2 also applies for Fix v7. I needed to adapt namespaces and stylesheet as well to use the HTML element. I prefer Fix v2, but both are fine with me.
Assignee: bwinton → ben.bucksch
Attachment #426676 - Flags: review?(bwinton)
Forgot the other themes.
Attachment #426676 - Attachment is obsolete: true
Attachment #426691 - Flags: review?(bwinton)
Attachment #426676 - Flags: review?(bwinton)
Attachment #426691 - Flags: ui-review?(clarkbw)
Comment on attachment 426691 [details] [diff] [review]
Fix, v8 - functionally like v2, but with <div> instead of display:block

Go, go, gadget module owner!  Let's get UI signoff off on this overall strategy before we spend module owner time reviewing the code, however...
Attachment #413725 - Flags: ui-review?(clarkbw)
Comment on attachment 413725 [details]
Screenshot with Fix v2

I think I was expecting the buttons to float on top of the from.  Maybe that's just something we talked about?

This looks pretty good though.
Attachment #413725 - Flags: ui-review?(clarkbw) → ui-review+
Bryan, yes, "button float on top of From" was discussed in another bug (which I can't find). I planned to do that with CSS position:fixed, but not sure how feasible that is with XUL.
bwinton pointed out that when you click on "more" with this patch applied, the header pane shrinks to a default value. Without the patch, its size stays when clicking on "more". Up to others to decide how severe that is. (I wouldn't invest significantly more time in this bug, but rather in bug 543954.)
Comment on attachment 426691 [details] [diff] [review]
Fix, v8 - functionally like v2, but with <div> instead of display:block

>+++ b/mail/themes/gnomestripe/mail/messageHeader.css
>@@ -64,17 +65,18 @@
>-#expandedHeadersTopBox {
>+/*#expandedHeadersTopBox*/
>+html|div#expandedHeadersTopBox {

I would prefer not to keep the previous selector around in comments.  That's what version control is for.  ;)

But aside from that, this seems like a reasonable patch to try and run with for a while.

(Of course, it'll need Bryan's ui-r first.)

Later,
Blake.
Attachment #426691 - Flags: review?(bwinton) → review+
Whiteboard: [needs ui-review or further discussion]
Comment on attachment 426691 [details] [diff] [review]
Fix, v8 - functionally like v2, but with <div> instead of display:block

we need to fix the alignment issues seen in attachment 426743 [details] the from show align to the middle vertically.

though I can't seem to figure out how to fix it myself.
Attachment #426691 - Flags: ui-review?(clarkbw) → ui-review-
We want this, but we wouldn't hold b1 for it, so moving out to b2.  BenB has said that he's not willing to put more time into this now, so reassigning to nobody@mozilla.org for the moment.  Some ideas he had about how to move things forward here:

BenB: if I was to spend time on it (which I won't), I'd first try a little more, with random ideas, based on CSS+HTML specs, experienced web authors etc.
BenB: for 1-2 hours. if that fails, I'd try a reduced testcase. or abandon the idea and
[5:57pm] try to make the toolbar wrap differently, although that might not work.
[5:58pm] hm, another idea, very hackish: we might be able to hardcode the top margin, if we know the button size.
blocking-thunderbird3.1: beta1+ → beta2+
Assignee: ben.bucksch → nobody
OS: Linux → All
Hardware: x86 → All
Whiteboard: [needs ui-review or further discussion] → [patch needs further iterations for alignment issues]
Blake, is this something you'd be able to find time for in beta 2?  I think it would be helpful for us to have this in time for our "tb2 -> tb3" update test day, which I suspect happens sooner rather than later.
Assignee: nobody → bwinton
Sure, why not?  How hard can it be, right?  ;)
blocking-thunderbird3.1: beta2+ → rc1+
Just wanted to note that I tried making this line up correctly in the middle for a while but something about the float:right makes this from line all crazy in the cabeza.  If our back is against the wall we could try using some margin/padding on the top to make this from line appear more in the middle.  The values for that cushion will need to be different per OS as the buttons are slightly different sizes.
blocking-thunderbird3.1: rc1+ → beta2+
blocking-thunderbird3.1: beta2+ → rc1+
I think I've played with it enough without getting anywhere, so I've fallen back to the padding-top solution, a patch for which I've attached here.  I've also emailed screenshots to Bryan (and Dan) to assist in the ui-review.

Thanks,
Blake.
Attachment #426691 - Attachment is obsolete: true
Attachment #443218 - Flags: ui-review?(clarkbw)
Attachment #443218 - Flags: review?(dmose)
Whiteboard: [patch needs further iterations for alignment issues] → [patch up, needs r, ui-r]
Whiteboard: [patch up, needs r, ui-r] → [patch up, needs r dmose, ui-r]
Comment on attachment 443218 [details] [diff] [review]
The previous patch, with the alignment fixed.

i gave the screenshots a ui-r+ so I should mark that here as well.
Attachment #443218 - Flags: ui-review?(clarkbw) → ui-review+
Whiteboard: [patch up, needs r dmose, ui-r] → [patch up, needs r dmose]
Can you provide an option to put the buttons back at the top of Thunderbird, where they used to be?   Is this something that a plugin could do right now, to work around this problem?
I just discovered that in my case this "bug" does _not_ happen in safe mode.

It happens when I enable the "show more recipients" plugin.

In this sense it's still a bug (in the sense that TB doesn't do what I need :) ) because I need to be able to see the recipients.

However, I thought someone had asserted this happens in safe-mode: it definitely does not for me: in safe mode the buttons obscure the "from" entry in the header pane, allowing them to come left as far as needed and display all of them and the scroll bar.

It's only with "show more recipients" plugin enabled that the buttons get pushed out to the right by the "from" header, obscuring them and the scroll bard.

Martin
BTW, why don't you just put the buttons _above_ the From header?  Then they would always be in _exactly_ the same place, which is a highly desireable property of buttons... right now you always have to reach your mouse to a slightly different place to click those buttons.

(And, personally, I'd like the option to put them right back where they used to be, where there was no risk of them moving at all)

Martin
Martin, comment 74 and comment 75 are offtopic here.
> why don't you just put the buttons _above_ the From header?

If you mean always: Because we want to save screen space for those users who have bigger windows.
If you mean "when wrap": because that's too hard to implement, at the moment. We may do that later.
I thought 75 was completely material to the topic.  This thing doesn't happen in safe more, at least for me.

Sorry about 74 & 76... where is the right place for users to discuss how they work around issues in specific tickets: what options might exist, what approaches are being taken to resolve etc?

Martin
> where is the right place for users to discuss how they
> work around issues in specific tickets:

forums.mozillazine.org or newsgroups <http://www.mozilla.org/community/forums/>
(In reply to comment #77)
> Martin, comment 74 and comment 75 are offtopic here.
> > why don't you just put the buttons _above_ the From header?
> If you mean "when wrap": because that's too hard to implement, at the moment.
> We may do that later.

Uh, like this (from the patch under review)?  ;)

Later,
Blake.
Yes, just like that.  Thanks.

Interestingly, I asked this question in the support forum, and did not get this answer.  While I appreciate the need to keep "noise" out of tickets, I think that there's some need to be able to ask question about specific tickets _in_ the ticket.   That's where the people who know the most will be, and lets face it the people who put themselves on CC might just appreciate hearing how to deal with it.

Thanks,

Martin
Comment on attachment 443218 [details] [diff] [review]
The previous patch, with the alignment fixed.

In general, looks good, modulo the lack of automated test coverage.

>-#expandedHeadersTopBox {
>+/*#expandedHeadersTopBox*/

The above comment doesn't seem to add much; I'd just remove it.

>+html|div#expandedHeadersTopBox {

I'm not familiar with this usage of | in CSS, and a quick search turns nothing up.  Can you point me to info about how it's intended to work?

>+#expandedHeaderRows {
>+  padding-top: 14px;
>+}
>+

Seems like a relative unit might work better with more font/OS version/monitor combinations both here and in the other themes.  If there's some specific reason we want to use pixels here, how about adding a comment?  In any case, this is minor, if you don't have time to poke at this, I could live with leaving it as is.

In general, looks good.  However, I'm r-ing because, given the impressive level of fragility of the message header overlay, I think we need at least some level of automated test coverage here.
Attachment #443218 - Flags: review?(dmose) → review-
Whiteboard: [patch up, needs r dmose] → [needs updated patch]
+ html|div#expandedHeadersTopBox {
> I'm not familiar with this usage of | in CSS

It's the namespace:

 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml");

Given that this CSS file is in XUL namespace, a selector for just "div#exp" will not match the <html:div>.
(In reply to comment #83)
> (From update of attachment 443218 [details] [diff] [review])
> In general, looks good, modulo the lack of automated test coverage.

Added.

> >-#expandedHeadersTopBox {
> >+/*#expandedHeadersTopBox*/
> The above comment doesn't seem to add much; I'd just remove it.

Removed.

(In reply to comment #84)
> + html|div#expandedHeadersTopBox {
> > I'm not familiar with this usage of | in CSS
> It's the namespace:
>  @namespace
> url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
> +@namespace html url("http://www.w3.org/1999/xhtml");
> 
> Given that this CSS file is in XUL namespace, a selector for just "div#exp"
> will not match the <html:div>.

Added as a comment.

> >+#expandedHeaderRows {
> >+  padding-top: 14px;
> Seems like a relative unit might work better with more font/OS version/monitor
> combinations both here and in the other themes.  If there's some specific
> reason we want to use pixels here, how about adding a comment?  In any case,
> this is minor, if you don't have time to poke at this, I could live with
> leaving it as is.

Bryan and I both believe that the height of the buttons is in pixels, so I've added a comment.

(Carrying forward ui-r=clarkbw.)

Thanks,
Blake.
Attachment #443218 - Attachment is obsolete: true
Attachment #445362 - Flags: ui-review+
Attachment #445362 - Flags: review?(dmose)
Whiteboard: [needs updated patch] → [has updated patch, needs r dmose]
Comment on attachment 445362 [details] [diff] [review]
The previous patch, with a test.

Looks great; thanks!
Attachment #445362 - Flags: review?(dmose) → review+
Whiteboard: [has updated patch, needs r dmose] → [has reviewed patch ready to land]
Checked in as <http://hg.mozilla.org/comm-central/rev/92940f8c2767> and <http://hg.mozilla.org/releases/comm-1.9.2/rev/b5c491ddde2c>.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago14 years ago
Resolution: --- → FIXED
Whiteboard: [has reviewed patch ready to land]
D'oh!  Apparently the Mac test box has smaller fonts than my 10.6 Mac, or something.  Anyways, now we calculate the perfect width to toggle the overflow.
Attachment #445492 - Flags: review?(dmose)
Comment on attachment 445492 [details] [diff] [review]
Fix test breakage.

r=dmose, given testing the stuff mentioned in IRC.
Attachment #445492 - Flags: review?(dmose) → review+
Just to keep a track of what's committed.
Can we get an approval‑thunderbird3.0.5+? This issue is problem for a few of Fedora users and we would like to add this patch to 3.0.5 release.
(In reply to comment #92)
> Can we get an approval‑thunderbird3.0.5+? This issue is problem for a few of
> Fedora users and we would like to add this patch to 3.0.5 release.

This is already practically too late for Thunderbird 3.0.5 - the builds for that are out for testing, and at this stage we'd only really respin them for serious blockers.

For 3.0.x generally, there's two things I'm concerned about and would deny that approval: Firstly it feels like a risky patch/alteration for a stable branch and 3.1 should be out fairly soon so users will be able to pick up the fix there; Secondly, the fact we're changing hbox to html:div and we're re-ordering elements may break extensions who are working with the header pane, and this is definitely a no-go area for a stable branch.
Hi,

I've yet to build the patch so possibly my comment may already have been addressed, although as it may be a while it seems right to add to what I've said at https://bugzilla.mozilla.org/show_bug.cgi?id=563966 , to say that when I put the Email in a new tab, it's clear that the 'thunderbird has blocked content' bar is one main cause of the overly wide header bar that seems to affect message scrollbars; when I click allow 'remote content' the scrollbars appear; naturally the button to allow remote content is itself invisible when the 'remote content' bar has no proper wrapping either; so that may need some css work similarly
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: