Closed
Bug 732089
Opened 13 years ago
Closed 13 years ago
Maple: keep resolution on the document instead of the xul window
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 732971
Tracking | Status | |
---|---|---|
blocking-fennec1.0 | --- | beta+ |
People
(Reporter: jrmuizel, Unassigned)
References
Details
(Whiteboard: maple, qa+, [layout])
Currently we have to try to keep the per document zoom in sync with the top level resolution. We should just set the resolution on the individual document window.
We may need to do some additional work to keep the java zoom in sync with the document resolution, but we already have problems with this.
Reporter | ||
Updated•13 years ago
|
Whiteboard: maple
Reporter | ||
Comment 2•13 years ago
|
||
So it seems like this doesn't work, because we only read the resolution out of the top level presShell.
Updated•13 years ago
|
Blocks: land-maple
QA+ : verify also that zooming and panning in the foreground tab and then switching to background tab does not cause the new foreground tab to become blurry.
Whiteboard: maple → maple, qa+
Updated•13 years ago
|
blocking-fennec1.0: --- → ?
Comment 4•13 years ago
|
||
Kats tells me that this bug encapsulates cleanup that will be needed after bug 732564 (which works around it) lands. Thus, it doesn't block landing.
No longer blocks: land-maple
Updated•13 years ago
|
blocking-fennec1.0: ? → -
Comment 5•13 years ago
|
||
See bug 724770 also. Ideally we want to store the zoom someplace that it can be saved/restored during forward/back/reload navigation, along with the scroll position.
Comment 6•13 years ago
|
||
Mats, it makes more sense to us for layout to own this, because we don't understand all the interactions of presshells/etc.
Kats, can you give a brief description of what needs to be done to presshells/etc?
Assignee: bugmail.mozilla → matspal
Comment 7•13 years ago
|
||
So right now when we need to zoom content, we have to call setResolution() on the top-level window's pres shell (i.e. window.top.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils).setResolution) for it to work. This means that every time we switch tabs (which are <browser> elements in a deck contained within the top-level XUL window) we are re-setting the resolution on the top level window. What we would like to be able to do is have a different resolution stored on each of the <browser> pres shells, and basically have Gecko be aware of this. This means (1) taking it into account when clamping scroll coordinates (bug 732016) and (2) saving/restoring the zoom the way it does scroll coordinates (bug 724770).
Feel free to ping me if this is unclear or needs further explanations.
Comment 8•13 years ago
|
||
Also apparently there is bug 732971 which is basically a duplicate of this.
Updated•13 years ago
|
blocking-fennec1.0: - → beta+
Updated•13 years ago
|
tracking-fennec: --- → ?
Whiteboard: maple, qa+ → maple, qa+, [layout]
Updated•13 years ago
|
Assignee: matspal → nobody
Comment 9•13 years ago
|
||
This seems like a dupe of bug 732971 to me. Please un-dupe if I'm wrong.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•11 years ago
|
tracking-fennec: ? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•