Closed
Bug 362919
Opened 18 years ago
Closed 18 years ago
message pane is too wide due to alert bar's minimum-width
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mad_maks, Assigned: mscott)
References
Details
(Keywords: fixed-seamonkey1.1.1, fixed1.8.1.2, regression)
Attachments
(6 files, 3 obsolete files)
135.51 KB,
image/png
|
Details | |
136.76 KB,
image/png
|
Details | |
20.60 KB,
image/png
|
Details | |
13.08 KB,
image/png
|
Details | |
2.77 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
2.74 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
when i use the preview pane in build version 2 beta 1 (20061205) the pane is to wide. The button "not scam" / show images are off screen. (see screenshot)
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
when you open TB in safe mode , does it give same result ? http://kb.mozillazine.org/Safe_mode
Comment 4•18 years ago
|
||
In TB 2, the alert bar no longer wraps its text when it's made narrow; it has a minimum width which (in the English version, anyway) is wide enough for the text "To protect your privacy..." plus the icon and the Load Images button. If the window is narrowed below that width, the window edge will start to encroach on the bar (and on the message body, too, which never gets narrower than the alert bar, if there is one). It's true that, with the spam or scam alerts, there is now a lot of blank space in the alert bar at the minimum width. Please don't set a target when you're filing a bug; that field is for use by the developers.
Severity: normal → trivial
Keywords: regression
OS: Linux → All
Hardware: PC → All
Target Milestone: Thunderbird2.0 → ---
Version: unspecified → 2.0
Updated•18 years ago
|
Summary: preview pane is to big (scam/spam) → message pane is too wide due to alert bar's minimum-width
Assignee | ||
Comment 5•18 years ago
|
||
Two things jump out at me here: 1) The "to protect your privacy" text should still wrap, I'm not sure why that broke, I could have sworn it worked when I first landed the UI changes to the privacy bar. 2) The text shouldn't have a minimum width. It's designed to take as much space as it needs, then there's a spring that keeps the button as far right as possible. But when I shrink the window now, it sure looks like something is keeping that from working right.
Flags: blocking-thunderbird2+
Reporter | ||
Comment 6•18 years ago
|
||
(In reply to comment #3) > when you open TB in safe mode , does it give same result ? > http://kb.mozillazine.org/Safe_mode > yes if the folderpane is at the same width.
Reporter | ||
Comment 7•18 years ago
|
||
(In reply to comment #4) > > minimum width which (in the English version, anyway) is wide enough for the > text "To protect your privacy..." plus the icon and the Load Images button. that is very bad for l10n, in i.e. nl the text is much longer.
Comment 8•18 years ago
|
||
*** Bug 363582 has been marked as a duplicate of this bug. ***
Comment 9•18 years ago
|
||
*** Bug 364211 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 10•18 years ago
|
||
This patch fixes two problems: the containing vbox needed flex in order to allow the remote image description text to wrap. In order to make things work exactly like they did in 1.5.0.9, I had to also revert the label back to a description element but as Neil pointed out the text-link class is really for labels not descriptions. Not sure which trade off to make here. One comprise might be to just add the flex to the box, this fixes the initial junk bar problem reported here. But would be nice to get that 2nd line of text for the remote image bar to also wrap. Partially asking Neil for a review / advice on what to do with the label.
Attachment #251588 -
Flags: review?(neil)
Assignee | ||
Comment 11•18 years ago
|
||
this makes things a bit better as the description text will start wrapping again, but the dynamically generated label still won't wrap until Neil and I figure something out. It's still worth adding the flex to the box as it does make tis problem better.
Attachment #251601 -
Flags: superreview?(bienvenu)
Comment 12•18 years ago
|
||
(In reply to comment #10) >In order to make things work exactly like they did in 1.5.0.9, I had to also revert >the label back to a description element but as Neil pointed out the text-link class >is really for labels not descriptions. Not sure which trade off to make here. One option is to add the crop attribute to the label. I tried <label class="text-link">foo</label> on trunk but it didn't underline.
Updated•18 years ago
|
Attachment #251601 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 13•18 years ago
|
||
Tim, this should be a lot better in beta 2. I landed the "lower risk, complementary fix" in time for beta 2 last night. Can you test today's nightly or beta 2 when it comes out?
Reporter | ||
Comment 14•18 years ago
|
||
it is a lot better but still not ok. see this screenshot
Assignee | ||
Comment 15•18 years ago
|
||
right, the problem with the remote content bar requires a fix like the more aggressive patch (or at least a version that works better than that one :)). The simple fix that went in addressed the problem for the junk and phishing bar.
Reporter | ||
Comment 16•18 years ago
|
||
it didn't fix that problem also not totally
Comment 17•18 years ago
|
||
While I was there I thought I'd clean up some of the other flexes too. I also added the crop="end" on the label as an interim fix. I think the lack of underlining on <label class="text-link">Click here...<label> might be a Gecko bug.
Attachment #252252 -
Flags: review?(iann_bugzilla)
Comment 18•18 years ago
|
||
Filed the underlining issue on trunk as bug 367745.
Attachment #252252 -
Attachment is obsolete: true
Attachment #252468 -
Flags: review?(iann_bugzilla)
Attachment #252252 -
Flags: review?(iann_bugzilla)
Comment 19•18 years ago
|
||
Comment on attachment 251588 [details] [diff] [review] agressive fix >- document.getElementById('allowRemoteContentForAuthorDesc').value = >+ document.getElementById('allowRemoteContentForAuthorDesc').childNodes[0].nodeValue = > gMessengerBundle.getFormattedString('alwaysLoadRemoteContentForSender', [emailAddress ? emailAddress : aMsgHdr.author]); If you use .textContent instead (see attachment 252468 [details] [diff] [review]) you don't need the foo. >- <label id="allowRemoteContentForAuthorDesc" class="text-link" flex="1" >- onclick="allowRemoteContentForSender();"/> >+ <description id="allowRemoteContentForAuthorDesc" class="text-link" flex="1" >+ onclick="allowRemoteContentForSender();">foo</description> Leave this as a label. r=me with this fixed.
Attachment #251588 -
Flags: review?(neil) → review+
Comment 20•18 years ago
|
||
Comment on attachment 252468 [details] [diff] [review] Fixed suite patch r=me definite improvement
Attachment #252468 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 21•18 years ago
|
||
updated patch based on Neil's review comments and to pick up the flex changes he made to the suite which look good too.
Attachment #251588 -
Attachment is obsolete: true
Attachment #251601 -
Attachment is obsolete: true
Attachment #252553 -
Flags: superreview+
Assignee | ||
Comment 22•18 years ago
|
||
Neil, do you want to nominate the suite patch for the branch?
Comment 23•18 years ago
|
||
(In reply to comment #22) >Neil, do you want to nominate the suite patch for the branch? Hey, let me check it in on trunk first ;-) As this is suite-only code I'd normally set our approval-seamonkey1.1.1 flag but as this product doesn't have it I'll just poke someone on IRC :-)
Comment 24•18 years ago
|
||
approval-seamonkey1.1.1=me
Updated•18 years ago
|
Keywords: fixed-seamonkey1.1.1
Assignee | ||
Comment 28•17 years ago
|
||
I think there was an unintended side effect with using .textContent for the text-link label in ths patch. The label is no longer underlined like it should be since it's a link. Neil, do you know why using .textContent would have broken that?
You need to log in
before you can comment on or make changes to this bug.
Description
•