Closed
Bug 349481
Opened 18 years ago
Closed 18 years ago
Clear private data dialog width is hardcoded
Categories
(Firefox :: General, defect, P2)
Tracking
()
RESOLVED
FIXED
Firefox 3 alpha2
People
(Reporter: mdalco, Assigned: asaf)
References
()
Details
(Keywords: l12y, Whiteboard: see comment 7 for round up)
Attachments
(3 files, 1 obsolete file)
26.48 KB,
image/png
|
Details | |
31.65 KB,
image/png
|
Details | |
3.29 KB,
patch
|
Details | Diff | Splinter Review |
The dialog "Clear Private Data" accessible from Firefox Preferences -> Privacy tab -> Settings button, should be made resizable via entities in the l10n file (/chrome/browser/preferences/sanitize.dtd )
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Comment 3•18 years ago
|
||
I made an error: the involved dialog is the Options -> Clear private data... and not the Preferences dialog (/chrome/browser/sanitize.dtd and NOT /chrome/browser/preferences/sanitize.dtd ) My apologies for this.
Component: Preferences → General
Keywords: l12y
Reporter | ||
Comment 4•18 years ago
|
||
The url is still wrong. Sorry for the bugspam. Francesco will add ASAP details compared to 1.8.0 branch.
Comment 5•18 years ago
|
||
Comment 6•18 years ago
|
||
(In reply to comment #2) > Is this a regression? Probably yes. The structure of that dialog window is slightly different in Firefox 1.5.x; even if it's not resizable using entities, this dialog is displayed correctly (although I've just noticed a little cut in the decoration at the bottom).
Comment 7•18 years ago
|
||
I'm not sure if I'd call this a regression. Anyway, this is a UI decision, localizations may loose the "Authenticated Sessions" entry in the dialog Tools -> Clear private data. Requesting blocking for drivers to evaluate.
Flags: blocking-firefox2?
Whiteboard: see comment 7 for round up
Comment 8•18 years ago
|
||
Can you hack around this via intl.css?
Reporter | ||
Comment 9•18 years ago
|
||
(In reply to comment #8) > Can you hack around this via intl.css? Maybe yes: the dialog has a SanitizeDialog id and style attribute set to "width: 30em ! important;". An entry like this: #SanitizeDialog { width: XXem; } will works? However for now I shortened the translation of the line that wraps to fit the windows. To mantain consistency with other dialogs size settings maybe this shold be changed.
Comment 10•18 years ago
|
||
You likely still need an !important, and you may want to make it more specific still by using @-moz-document, http://lists.w3.org/Archives/Public/www-style/2004Aug/0135.html.
Reporter | ||
Comment 11•18 years ago
|
||
Ok! This is right? Now I check if it works. @-moz-document url(chrome://browser/content/sanitize.xul) { prefwindow#SanitizeDialog { width: XXem !important; } }
Reporter | ||
Comment 12•18 years ago
|
||
I made some tests: changing width is not allowed, I think because the hard-coded style has priority over intl.css styles. I can change only the height with this style code: @-moz-document url(chrome://browser/content/sanitize.xul) { #SanitizeDialog { height: XXem !important; } } Francesco should determine the right height vaule.
Comment 13•18 years ago
|
||
Cancelling branch magic, that's good enough as a workaround. This should be fixed on the trunk, of course, but I just deny that this is an issue for Firefox 2. Once you have a working workaround, could you post to .l10n? Then every locale suffering from a line-wrap can reuse that.
Flags: blocking-firefox2?
Target Milestone: Firefox 2 beta2 → Firefox 3 alpha1
Comment 14•18 years ago
|
||
*** Bug 352965 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → mano
OS: Linux → All
Priority: -- → P2
Hardware: PC → All
Summary: Sanitize dialog "Clear Private Data" should be resizable for l10n → Clear private data dialog width is hardcoded
Assignee | ||
Comment 15•18 years ago
|
||
Attachment #245651 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment 16•18 years ago
|
||
The patch for bug 345769 seems to have removed the l10n-specified width, and commented out its reference in the other sanitize.xul (http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/components/preferences/sanitize.xul&rev=1.14&mark=53,54#53). Jeff, do you remember why? Can that be restored when this patch lands?
Comment 17•18 years ago
|
||
(In reply to comment #16) > Jeff, do you remember why? Can that be restored when this patch lands? I don't remember. The most reasonable guess is that I saw it, couldn't determine why it was useful, and thus commented it out in the interests of removing unneeded code. The only problem (aside from this just being a guess anyway) is that I'd expect by this time I would have gotten used to l10n entities in random places and just ignored it. Yes, the entity can probably be restored, especially since I don't remember the reason it was removed in the first place. (I'd prefer if the entity were near the top of the file like it was before, tho, just from a stylistic standpoint. Now's also probably a good time to do the entity rearrangement mentioned in the XXX comment as well.)
Comment 18•18 years ago
|
||
Comment on attachment 245651 [details] [diff] [review] patch r=me if you remove the commented out part of http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/components/preferences/sanitize.xul&rev=1.14&mark=53,54#53
Attachment #245651 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 19•18 years ago
|
||
mozilla/browser/base/content/sanitize.xul 1.15 mozilla/browser/components/preferences/sanitize.xul 1.15 mozilla/browser/locales/en-US/chrome/browser/sanitize.dtd 1.9
Attachment #245651 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3 alpha1 → Firefox 3 alpha2
You need to log in
before you can comment on or make changes to this bug.
Description
•