Closed
Bug 379011
Opened 18 years ago
Closed 17 years ago
Text size increasing/decreasing broken in view source window
Categories
(Toolkit :: View Source, defect)
Toolkit
View Source
Tracking
()
VERIFIED
FIXED
mozilla1.9alpha6
People
(Reporter: gerald_leder, Assigned: jason.barnabe)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
jason.barnabe
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070426 GranParadiso/3.0a4pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070426 GranParadiso/3.0a4pre
I used the pre alpha 4 version on windows xp. I wanted to increase the text size in the view source page but it does not work on windows xp with alpha 4. Also Ctrl-- and Ctrl-+ do nothing.
Reproducible: Always
Steps to Reproduce:
1. Load a website
2. click View Page source in the context menu
3. View->Text Size->Increase or Decrease does nothing
Expected Results:
Increase/decrease the text size.
Comment 1•18 years ago
|
||
Confirmed (including Ctrl-+ and Ctrl--) on:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a4pre) Gecko/20070426 GranParadiso/3.0a4pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a2pre) Gecko/20070206 Minefield/3.0a2pre
Thunderbird version 3.0a1 (20070427) Linux
will search for the regression date
Please, change the OS field to "All"
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•18 years ago
|
||
3.0a1-trunk.linux-i686:
tr2006091904 - wfm
tr2006092004 - cfm
Comment 3•18 years ago
|
||
(The above comment is about Minefield.)
Comment 4•18 years ago
|
||
I'm also seeing this bug in current trunk build of Firefox.
Bonsai link of regression range of comment 3:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-09-19+04&maxdate=2006-09-20+04&cvsroot=%2Fcvsroot
It seems that the patch from bug 286365 has caused this.
The getMarkupDocumentViewer() function from viewSource.js has been removed there. I suspect it is still necessary to get the text size increasing/decreasing to work in view source.
Blocks: 286365
Flags: blocking-firefox3?
Updated•18 years ago
|
Keywords: regression
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Updated•17 years ago
|
Target Milestone: --- → Firefox 3 alpha6
Comment 5•17 years ago
|
||
Jason, do you have cycles to fix this? If not, Gavin, can you take this?
Comment 6•17 years ago
|
||
Jason, please steal this away from me if you want, I can review.
Assignee: nobody → gavin.sharp
Hardware: PC → All
Summary: Text size increasing/decreasing does not work in alpha4 → Text size increasing/decreasing broken in view source window
Version: unspecified → Trunk
Updated•17 years ago
|
Assignee: gavin.sharp → jason_barnabe
Status: ASSIGNED → NEW
Assignee | ||
Comment 8•17 years ago
|
||
getMarkupDocumentViewer was removed in bug 286365 because its only caller in the file was removed. Turns out it's required by viewZoomOverlay.js. This adds it back and adds a comment explaining why it's there.
Attachment #267515 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #267515 -
Flags: review? → review?(gavin.sharp)
Comment 9•17 years ago
|
||
Can you just add it to viewZoomOverlay instead, and use getBrowser() like the other callers in that file? These files really shouldn't depend on /browser like they do... :(
Assignee | ||
Comment 10•17 years ago
|
||
OK, this adds getMarkupDocumentViewer to viewZoomOverlay.js, updates the comment there to say that you need to have getBrowser, and removes getMarkupDocumentViewer from help.
Attachment #267515 -
Attachment is obsolete: true
Attachment #267518 -
Flags: review?(gavin.sharp)
Attachment #267515 -
Flags: review?(gavin.sharp)
Comment 11•17 years ago
|
||
Comment on attachment 267518 [details] [diff] [review]
move getMarkupDocumentViewer to viewZoomOverlay.js
This no longer really needs to be a function anymore, now that it's on an object (could just be a property of the object). r=me with that change, if you want to make it.
Attachment #267518 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 12•17 years ago
|
||
Wouldn't that require that viewZoomOverlay.js be loaded after whatever defines getBrowser(), and then getBrowser() would have to work before the document's loaded?
I'd also prefer to keep it as it is to slightly reduce code repetition.
Comment 13•17 years ago
|
||
Good point - could still be a getter, though. Not sure what you mean by "avoid code repetition", a property/getter would be no more repetitive than the current code.
Assignee | ||
Comment 14•17 years ago
|
||
Regarding repetition, I was comparing to having getBrowser().markupDocumentViewer in the two places where this.getMarkupDocumentViewer() is now.
I can switch it to a getter.
Assignee | ||
Comment 15•17 years ago
|
||
Attachment #267518 -
Attachment is obsolete: true
Attachment #267783 -
Flags: review+
Updated•17 years ago
|
Whiteboard: [checkin needed]
Comment 16•17 years ago
|
||
toolkit/components/help/content/help.js 1.45
toolkit/content/viewZoomOverlay.js 1.7
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Updated•17 years ago
|
Flags: in-testsuite? → in-litmus?
Comment 18•17 years ago
|
||
Verified
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a6pre) Gecko/20070615 Minefield/3.0a6pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a7pre) Gecko/2007071804 Minefield/3.0a7pre
Comment 19•17 years ago
|
||
Marcia, Martijn, this may fall under some of your Fx3 areas. Could you add a test case in litmus to cover this? This is similar to increasing/decreasing the font on a web page.
Comment 20•17 years ago
|
||
Ok, I added http://litmus.mozilla.org/show_test.cgi?id=4703
Flags: in-litmus? → in-litmus+
Comment 21•17 years ago
|
||
verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9b3pre) Gecko/2008010805 Minefield/3.0b3pre ID:2008010805
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•