Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Multiple window opacity issue when open PDF inside iframe

    Hi,

    We need to open a few pop up "edit doc" windows each of them consist of two (left & right) HTMLPanes/iframes:
    - left one load indexing page doc info as HTML page (legacy system);
    - right one load PDF from HTTP server (regular Adobe Reader browser plugin)

    Everything opens fine, but when you try to move windows around, the top window header and left HTML portion become partially opaque when you move the window over the one of the bottom window's PDFs iframes.
    Tested on Firefox 3.6.2, GWT 2.0, SmartGWT 2.1

    Code:
       Canvas main;
    
       public void onModuleLoad() {
          //load a VB interface
          main = Canvas.getById("rootVLayout");
          main.draw();
       }
    
       private Window createDocEditWindow(int docId, int index) {
          HTMLPane indexHTMLPane = new HTMLPane();
          indexHTMLPane.setContentsType(ContentsType.PAGE);
          indexHTMLPane.setContentsURL("http://www.google.com");
          indexHTMLPane.setShowResizeBar(true);
    
          HTMLPane imageHTMLPane = new HTMLPane();
          imageHTMLPane.setContentsType(ContentsType.PAGE);
          imageHTMLPane.setContentsURL(REFERENCE TO PDF); 
    
          HLayout rootHLayout = new HLayout();
          rootHLayout.setWidth100();
          rootHLayout.setHeight100();
          rootHLayout.addMember(indexHTMLPane);
          rootHLayout.addMember(imageHTMLPane);
    
          Window window = new Window();
          window.setWidth(700);
          window.setHeight(700);
          window.setTop(10 * index);
          window.setLeft(10 * index);
          window.setCanDragReposition(true);
          window.setCanDragResize(true);
          window.setShowMinimizeButton(false);
          window.addItem(rootHLayout);
          return window;
       }
    
       void onSomeEvent() {
          Window win = createDocEditWindow(11, 1);
          main.addChild(win);
          win = createDocEditWindow(22, 2);
          main.addChild(win);
       }
    Any suggestions?

    #2
    Isomorphic,

    We tested it with the latest 2.3 night build. The issue still persist.

    Any updates or suggestions? We are really puzzle with this limitation/bug.

    Thanks

    Comment

    Working...
    X