Package: firefox Version: 1.5.dfsg+1.5.0.1-1 Tags: patch The attached patch increases the sizes of various widgets so that they all fit in the Ubuntu build of firefox. Unfortunately (a) some of the sizes are in pixels rather than ems, meaning that font size changes are definitely going to break those and (b) even specifying the size in ems doesn't seem to properly reflect all of the relevant changes. So the whole thing is somewhat fragile. Nevertheless, without having tried the Debian firefox configuration it seems very likely that you have the same kinds of problems.
The way I made this patch was by trawling through all of the dialogues I could reach from the Firefox menubar and if any were too small for their contents finding where the size was controlled and increasing it. I've tried to avoided creating any windows which would be >800 pixels. Regards, Ian.
--- firefox-1.5.dfsg+1.5.0.2.orig/browser/components/bookmarks/content/bookmarksManager.xul +++ firefox-1.5.dfsg+1.5.0.2/browser/components/bookmarks/content/bookmarksManager.xul @@ -52,7 +52,7 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:web="http://home.netscape.com/WEB-rdf#" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - width="630" height="400" screenX="20" screenY="20" + width="740" height="400" screenX="20" screenY="20" persist="width height screenX screenY sizemode" onload="Startup();" onunload="Shutdown();" onclose="return closeWindow(false);"> only in patch2: unchanged: --- firefox-1.5.dfsg+1.5.0.2.orig/browser/locales/en-US/chrome/browser/pageInfo.dtd +++ firefox-1.5.dfsg+1.5.0.2/browser/locales/en-US/chrome/browser/pageInfo.dtd @@ -39,7 +39,7 @@ <!ENTITY title "Page Info"> <!ENTITY description "Information about the current page"> -<!ENTITY pageInfoWindow.width "425"> +<!ENTITY pageInfoWindow.width "570"> <!ENTITY pageInfoWindow.height "470"> <!ENTITY copy.key "C"> only in patch2: unchanged: --- firefox-1.5.dfsg+1.5.0.2.orig/browser/locales/en-US/chrome/browser/preferences/colors.dtd +++ firefox-1.5.dfsg+1.5.0.2/browser/locales/en-US/chrome/browser/preferences/colors.dtd @@ -1,5 +1,5 @@ <!ENTITY colorsDialog.title "Colors"> -<!ENTITY window.width "38em"> +<!ENTITY window.width "48em"> <!ENTITY allowPagesToUse.label "Allow pages to choose their own colors, instead of my selections above"> <!ENTITY allowPagesToUse.accesskey "A"> only in patch2: unchanged: --- firefox-1.5.dfsg+1.5.0.2.orig/browser/locales/en-US/chrome/browser/preferences/connection.dtd +++ firefox-1.5.dfsg+1.5.0.2/browser/locales/en-US/chrome/browser/preferences/connection.dtd @@ -1,6 +1,6 @@ <!ENTITY connectionsDialog.title "Connection Settings"> -<!ENTITY window.width "37em"> +<!ENTITY window.width "45em"> <!ENTITY window.macWidth "39em"> <!ENTITY proxyTitle.label "Configure Proxies to Access the Internet"> only in patch2: unchanged: --- firefox-1.5.dfsg+1.5.0.2.orig/security/manager/pki/resources/content/certManager.xul +++ firefox-1.5.dfsg+1.5.0.2/security/manager/pki/resources/content/certManager.xul @@ -53,7 +53,7 @@ onload="LoadCerts();" #expand buttons="accept__HELP_BUTTON__" ondialoghelp="return doHelpButton();" - style="width: 48em; height: 32em;" + style="width: 56em; height: 32em;" persist="screenX screenY width height"> <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/> only in patch2: unchanged: --- firefox-1.5.dfsg+1.5.0.2.orig/toolkit/content/customizeToolbar.js +++ firefox-1.5.dfsg+1.5.0.2/toolkit/content/customizeToolbar.js @@ -39,7 +39,7 @@ # ***** END LICENSE BLOCK ***** const kRowMax = 4; -const kWindowWidth = 635; +const kWindowWidth = 770; const kWindowHeight = 400; const kAnimateIncrement = 50; const kAnimateSteps = kWindowHeight / kAnimateIncrement - 1; only in patch2: unchanged: --- firefox-1.5.dfsg+1.5.0.2.orig/toolkit/locales/en-US/chrome/mozapps/preferences/ocsp.dtd +++ firefox-1.5.dfsg+1.5.0.2/toolkit/locales/en-US/chrome/mozapps/preferences/ocsp.dtd @@ -1,4 +1,5 @@ <!ENTITY window.width "38em"> +<!ENTITY window.height "30em"> <!ENTITY ocspDialog.title "Verification"> <!ENTITY validation.ocsp.description "&brandShortName; can use Online Certificate Status Protocol (OCSP) to verify certificates. Set &brandShortName; to use OCSP as follows:"> only in patch2: unchanged: --- firefox-1.5.dfsg+1.5.0.2.orig/extensions/reporter/resources/content/reporter/reporterOverlay.js +++ firefox-1.5.dfsg+1.5.0.2/extensions/reporter/resources/content/reporter/reporterOverlay.js @@ -76,7 +76,7 @@ function loadReporterWizard() { window.openDialog("chrome://reporter/content/reportWizard.xul", "", - "chrome,centerscreen,dialog,resizable=no,width=535,height=442", + "chrome,centerscreen,dialog,resizable=no,width=535,height=475", getBrowser().currentURI.spec); return true; }