Closed Bug 300356 Opened 19 years ago Closed 19 years ago

Extension/Theme Manager windows default size should be editable by l10n-teams

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.8final

People

(Reporter: Thunderbird_Mail_DE, Assigned: Thunderbird_Mail_DE)

Details

Attachments

(1 file, 5 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Trunkbuilds 20050710

The Extension/Theme Managers windows have a fixed default size and they are to
small for many l10n builds. Okay, they are resizeable by the user. So it is no
major problem, if not the whole window content is shown, when opening these
windows the first time. 

It would be much nicer, if l10n-teams would be able to set an (other) default
size for these windows.

Reproducible: Always

Actual Results:  
Windows are to small, when opening the first time. So not all the content / GUI
is visible.

Expected Results:  
The windows sizes should be adjustable by the l10n teams, so the windows would
have the correct size and show the full content, when they are opened the first
time by users.

We could use entities for "width:XXem; height:XXem" in locale files.
Version: unspecified → Trunk
There is one more file for this patch (the locale file).
Attachment #188931 - Flags: review?
This is the XUL file, which refers to the other (locale) file.
Attachment #188932 - Flags: review?
Comment on attachment 188931 [details] [diff] [review]
Patch for toolkit/mozapps/extensions/extensions.dtd

Maybe for en-US build we should reduce the width. 575px are necessary for
german de builds.
I'd the "width:XXem; height:XXem" variant more (but it's just me), for which
you'd need to specify that in style (CSS), not as a normal XUL attribute.
I'd expect most of the other dialogs with localizeable size to have it that way,
e.g. the SeaMonkey pref window... You can look at those to see how that is done.
The problem is that the theme manager and the extension manager should be
different sizes: see
http://lxr.mozilla.org/mozilla/source/toolkit/mozapps/extensions/content/extensions.js#219

You're probably going to need a stringbundle to deal with the dynamic-sizing code.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Includes both previous patch files in one file.
Attachment #188931 - Attachment is obsolete: true
Attachment #188932 - Attachment is obsolete: true
Attachment #188934 - Flags: review?
I've been trying to use style (with em sizes) instead of the pixel sizes, but
I'm not yet able to get it working.

It would be a good idea to have separated sizes for Themes / Extensions Manager.

I'll change the patch, to use extensions.properties in extensions.js.
I much prefer using width="" height="" than to use style="" because the
interactions with xul:persist are simpler and more obvious. KaiRo, I'm not sure
why you prefer the style="" version but I do not for toolkit files.
This new Patch v3 gives us the possibility to have different default sizes for
themes / extensions manager windows. The patch still uses pixel sizes (the same
way as it was original extensions.js) instead of style attributes with em
sizes.
Attachment #188934 - Attachment is obsolete: true
Attachment #188947 - Flags: review?
Changed the default sizes to the original en-US ones.

Do we have a chance to get this in 1.1 final?
Attachment #188947 - Attachment is obsolete: true
Attachment #188949 - Flags: review?(benjamin)
This would also be a good time to set the width of the left panel in the same
manner for the theme manager as is done in js via style here
http://lxr.mozilla.org/mozilla/source/toolkit/mozapps/extensions/content/extensions.js#214
Attached patch Patch v5Splinter Review
Added the possibility to adjust the left column in themes manager window.
Attachment #188949 - Attachment is obsolete: true
Attachment #188975 - Flags: review?(benjamin)
Attachment #188975 - Flags: review?(benjamin) → review+
Assignee: nobody → bugzilla
Target Milestone: --- → Firefox1.1
Attachment #188975 - Flags: approval-aviary1.1a2?
Attachment #188949 - Flags: review?(benjamin)
Attachment #188975 - Flags: approval-aviary1.1a2? → approval1.8b4+
Assignee: bugzilla → bugs
Assignee: bugs → bugzilla
Whiteboard: [checkin needed][a+]
Patch checked in by timeless.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed][a+]
Attachment #188947 - Flags: review?
Attachment #188934 - Flags: review?
Attachment #188932 - Flags: review?
Attachment #188931 - Flags: review?
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: