Hi,
i've been having trouble opening GMail in "standard view" in my
application ( using Mozilla 2.0 platform ).
this is the flow of events:
1.entering my user name and password
2. the progress bar is displayed, and reaches 100%
3. after that a "white page" is displayed.
4. 2 options  from here - a.after waiting a while a "try again" page
is displayed
                                    b.if i change to "basic view"  - i
enter into my account.

While debugging the application, i noticed that in
nsViewManager::Refresh i do not reach the "RenderViews" (the function
that eventually will paint the frames) , and exit at this point:

  damageRegion.And(damageRegion, viewRect);
  if (damageRegion.IsEmpty()) {
#ifdef DEBUG_roc
    nsRect damageRect = damageRegion.GetBounds();
    printf("XXX Damage rectangle (%d,%d,%d,%d) does not intersect the
widget's view (%d,%d,%d,%d)!\n",
           damageRect.x, damageRect.y, damageRect.width,
damageRect.height,
           viewRect.x, viewRect.y, viewRect.width, viewRect.height);
#endif
    return; //***** EXIT FUNCTION
  }

the reason for exiting is because the viewRect that i receive from the
view is empty!
i should notice that the process of painting in my app' is by the
event "NS_PAINT" and not by "RenderOffScreen"

any suggestions will be helpful!
thanks!
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to