Closed Bug 285570 Opened 20 years ago Closed 20 years ago

add entities for changing window style (height,width) of preferences windows

Categories

(Firefox :: Settings UI, defect, P2)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED
Firefox1.5

People

(Reporter: linxspider, Assigned: linxspider)

References

Details

(Keywords: intl)

Attachments

(5 files, 2 obsolete files)

 
Assignee: bugs → bugs.mano
Priority: -- → P2
Summary: add an entity for changing width for preferences window childs → add entities for changing window style (height,width) of preferences windows
Target Milestone: --- → Firefox1.1
Status: NEW → ASSIGNED
Keywords: intl
*** Bug 285571 has been marked as a duplicate of this bug. ***
currently the style of some child windows under preferences are specified in
width inside the xul. it should be possible to change the width by the locale.

i'm attaching a screenshot of connection settings window with the he-IL locale.
I've set the style settings inside the locale files. this dosen't address the
size diffrence between systems (mac,win,unix).
Attached patch fixed patchSplinter Review
I'm removing a typo from permissions.dtd
Attachment #177289 - Attachment is obsolete: true
Attachment #177292 - Flags: review?(bugs.mano)
Comment on attachment 177292 [details] [diff] [review]
fixed patch

> style="&Window.size;"

* The style attribute /can/ contain any inline style bit, so "Window.size" is
not the right title; "window.style" would be better (also, please don't
capitalize entities).

> <!ENTITY window.title                 "Exceptions">
>+<!ENTITY  Window.size     "width: 36em;">

* indent is wrong, it should be:

> <!ENTITY window.title                 "Exceptions">
>+<!ENTITY window.style                 "width: 36em;">

(That is only one instace, please fix the rest as well)

* You haven't patched downloadactions.xul.

Also, I'm not a browser/ peer, once you've a ready patch, please request r=
from mconnor ;).
Attachment #177292 - Flags: review?(bugs.mano) → review-
-> Reuven
Assignee: bugs.mano → linxspider
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
This should not be done with CSS properties, it should be done with entities for
the width/height attribute.
(In reply to comment #7)
> This should not be done with CSS properties, it should be done with entities for
> the width/height attribute.

do you mean we shall remove the styles? in this case we lose the !important flag
that may be required in some cases.

second, do we want to set a diffrent window width to diffrent OS? this may solve
bug 285574 as well.
> second, do we want to set a diffrent window width to diffrent OS? this may solve
> bug 285574 as well.

we will, for mac. but don't mess with this in this one.
*** Bug 289153 has been marked as a duplicate of this bug. ***
in this patch i moved only the size settings to the dtd. this gives less chance
for translating the "!important" tag, or missing a ; by mistake. it also leaves
more control in the xul files.
Attachment #180284 - Flags: review?(benjamin)
Attachment #180284 - Flags: review?(benjamin) → review?(mconnor)
Comment on attachment 180284 [details] [diff] [review]
alternate fix, moving only the width,height size to dtd

for all of the .dtd files:

fix the spacing/alignment for the entity name and use spaces instead of tabs to
fix the alignment of the values.

With that fixed, r=me
Attachment #180284 - Flags: review?(mconnor) → review+
this patch fixes the alignment of the entity values in the dtd files.
Attachment #180284 - Attachment is obsolete: true
Attachment #181057 - Flags: review+
Attachment #181057 - Flags: approval-aviary1.1a?
Comment on attachment 181057 [details] [diff] [review]
using spaces instead of tabs for entity values

Surely you didn't give yourself r+
Attachment #181057 - Flags: review+
Comment on attachment 181057 [details] [diff] [review]
using spaces instead of tabs for entity values

Ted, he did not "give himself r+", he marked mconnor's review from the previous
patch.
Attachment #181057 - Flags: review+
Comment on attachment 181057 [details] [diff] [review]
using spaces instead of tabs for entity values

a=asa
Attachment #181057 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
Checking in components/preferences/changeaction.xul;
/cvsroot/mozilla/browser/components/preferences/changeaction.xul,v  <-- 
changeaction.xul
new revision: 1.4; previous revision: 1.3
done
Checking in components/preferences/colors.xul;
/cvsroot/mozilla/browser/components/preferences/colors.xul,v  <--  colors.xul
new revision: 1.3; previous revision: 1.2
done
Checking in components/preferences/connection.xul;
/cvsroot/mozilla/browser/components/preferences/connection.xul,v  <-- 
connection.xul
new revision: 1.4; previous revision: 1.3
done
Checking in components/preferences/cookies.xul;
/cvsroot/mozilla/browser/components/preferences/cookies.xul,v  <--  cookies.xul
new revision: 1.4; previous revision: 1.3
done
Checking in components/preferences/downloadactions.xul;
/cvsroot/mozilla/browser/components/preferences/downloadactions.xul,v  <-- 
downloadactions.xul
new revision: 1.6; previous revision: 1.5
done
Checking in components/preferences/fonts.xul;
/cvsroot/mozilla/browser/components/preferences/fonts.xul,v  <--  fonts.xul
new revision: 1.6; previous revision: 1.5
done
Checking in components/preferences/languages.xul;
/cvsroot/mozilla/browser/components/preferences/languages.xul,v  <--  languages.xul
new revision: 1.3; previous revision: 1.2
done
Checking in components/preferences/permissions.xul;
/cvsroot/mozilla/browser/components/preferences/permissions.xul,v  <-- 
permissions.xul
new revision: 1.4; previous revision: 1.3
done
Checking in components/preferences/sanitize.xul;
/cvsroot/mozilla/browser/components/preferences/sanitize.xul,v  <--  sanitize.xul
new revision: 1.4; previous revision: 1.3
done
Checking in locales/en-US/chrome/browser/preferences/changeaction.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/changeaction.dtd,v
 <--  changeaction.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in locales/en-US/chrome/browser/preferences/colors.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/colors.dtd,v 
<--  colors.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in locales/en-US/chrome/browser/preferences/connection.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/connection.dtd,v
 <--  connection.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in locales/en-US/chrome/browser/preferences/cookies.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/cookies.dtd,v
 <--  cookies.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in locales/en-US/chrome/browser/preferences/downloadactions.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/downloadactions.dtd,v
 <--  downloadactions.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in locales/en-US/chrome/browser/preferences/fonts.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/fonts.dtd,v 
<--  fonts.dtd
new revision: 1.4; previous revision: 1.3
done
Checking in locales/en-US/chrome/browser/preferences/languages.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/languages.dtd,v
 <--  languages.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in locales/en-US/chrome/browser/preferences/permissions.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/permissions.dtd,v
 <--  permissions.dtd
new revision: 1.3; previous revision: 1.2
done
Checking in locales/en-US/chrome/browser/preferences/sanitize.dtd;
/cvsroot/mozilla/browser/locales/en-US/chrome/browser/preferences/sanitize.dtd,v
 <--  sanitize.dtd
new revision: 1.4; previous revision: 1.3
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
seems like i missed ocsp.xul...
Attachment #182397 - Flags: review?(mconnor)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #182397 - Flags: review?(mconnor) → review+
Attachment #182397 - Flags: approval-aviary1.1a1?
Attachment #182397 - Flags: approval-aviary1.1a1? → approval-aviary1.1a1+
Whiteboard: [checkin needed]
Checking in locales/en-US/chrome/mozapps/preferences/ocsp.dtd;
/cvsroot/mozilla/toolkit/locales/en-US/chrome/mozapps/preferences/ocsp.dtd,v 
<--  ocsp.dtd
new revision: 1.2; previous revision: 1.1
done
Checking in mozapps/preferences/ocsp.xul;
/cvsroot/mozilla/toolkit/mozapps/preferences/ocsp.xul,v  <--  ocsp.xul
new revision: 1.3; previous revision: 1.2
done
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
this patch is for fixing Thunderbird preferences windows
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
please attach it in a new bug.
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
i opened a new bug for thunderbird:
Bug 298796
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs,
filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: