Closed
Bug 2760
Opened 26 years ago
Closed 26 years ago
Other windows redraw when a URL is loaded
Categories
(Core Graveyard :: Viewer App, defect, P2)
Core Graveyard
Viewer App
Tracking
(Not tracked)
RESOLVED
FIXED
M8
People
(Reporter: sfraser_bugs, Assigned: nisheeth_mozilla)
Details
In viewer, do a build with double buffering turned off. Now open 2 windows,
and click in one to give it focus. Load a sample in that window. Note that the
other window redraws, even when it is entirely visible. This should not happen.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 2•26 years ago
|
||
This is a cross-platform problem coming from the WebCrawler.
In order to reproduce it:
- open window A and leave it with an horizontal shape
- open window B and make it vertical
- put a breakpoint on the line "vm->UpdateView()" inside
nsWebCrawler::EndLoadURL()
- load a different URL in window B
- when the breakpoint is reached, look at the 'rootView' used in vm->UpdateView()
==> You can tell by the mBounds that the WebCrawler is refreshing window A
instead of window B.
In fact we have 2 problems:
1) The WebCrawler refreshes the wrong window when we have more than one window.
2) The WebCrawler always generates a double refresh at the end of an URL load
(even when the WebCrawler is not used).
Reassigned to Kipp.
Assignee: pierre → kipp
Status: ASSIGNED → NEW
Component: Layout → Viewer App
OS: Mac System 8.5 → All
Hardware: Macintosh → All
Comment 3•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Nisheeth - can you fix this? Its (hopefully) a pretty simple set of changes to
the viewer; it will help get your feet wet in that code which will help you as
you dig into the webshell code.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•26 years ago
|
||
Accepting bug...
Assignee | ||
Comment 6•26 years ago
|
||
Moving non-crashing layout and webshell component bugs to M8...
I already have enough blockers and crashers for M6. If I fix them in time for
M6, I'll move some of these bugs back to the M6 milestone.
I'm keeping the M7 milestone for fixing XML bugs.
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•26 years ago
|
||
I've made it so that the webcrawler does not register itself as document loader
observer until the crawler is invoked by command line arguments to viewer.
The code that Pierre points to now only gets executed in a crawl session which,
I assume, always uses just one top level window.
Marking fixed.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•