Closed
Bug 65542
Opened 24 years ago
Closed 24 years ago
Font change causes Crash
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bartof, Assigned: jag+mozbugs)
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.1.1-RELEASE i386; en-US; 0.7)
Gecko/20010112
BuildID: 2001011216
in every page, should I attemp to adjust the font size () as per View;text size,
the browser crashes, with a core dump
Reproducible: Always
Steps to Reproduce:
load any web-page
go to view;text size;
select a text size (75 %)
Actual Results: mozilla crases, core dump produced
Expected Results: rudeced the text size
Assignee | ||
Comment 2•24 years ago
|
||
Hrm. I think this is something in BSD specific code. It reminds me of bug 59219,
where the culprit was js not correctly dealing with floating point code on irix
(bug 10061). But it could just as well be something in BSD gfx code.
bartof@mailroom.com, could you change |set textZoom(aZoom)| in
chrome/comm/content/communicator/viewZoomOverlay.js to something like this:
set textZoom(aZoom) {
if (aZoom < this.MIN || aZoom > this.MAX)
throw Components.results.NS_ERROR_INVALID_ARG;
dump("--- aZoom = "+aZoom+"...\n");
var zoom = aZoom / 100;
dump("--- zoom = "+zoom+"...\n");
getMarkupDocumentViewer().textZoom = zoom;
dump("--- zoom set...\n");
},
Then run, and see how far you come.
If you're building with JAR files (or are using a nightly), you'll need to edit
chrome/installed-chrome.txt and remove all "jar:" and ".jar!", to make the
change to the above file work, or use zip to zip the edited file into comm.jar.
If you need any help with this, e-mail me directly or (preferably) find me on
IRC in channel #mozilla at irc.mozilla.org.
Comment 3•24 years ago
|
||
This works for me on FreeBSD-current cvs build from 20010121
Assignee | ||
Comment 4•24 years ago
|
||
bartof@mailroom.com, do you still see this problem?
Assignee | ||
Comment 6•24 years ago
|
||
Marking WORKSFORME per your comment then. Please reopen this bug if you see it
again. Thanks for your help :-)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•