Debugger window disappears

Hi all,

I'm having an issue with the debugger that I'm hoping someone else has seen as well. Usually when I open it and use it (press ESC then click the "B" icon...) it works just fine. However, sometimes when I drag the dialog box around my application it jumps up to some point above my screen so that I can only see the very bottom 10-20 pixels of the dialog box.

Not only does it do this, but no matter what I do I can't seem to get the dialog to be visible again. I try to close and open the debugger but it stays fixed off the screen. I try to clear the browser cache and reload the page but when I open the debugger it remains off the screen. I even shut down the browser session and start the browser anew only to see it still remain off the screen.

I really just want to be able to get my debug window back into the visible area of the page - how can I do this?

PS - we see this behavior frequently when using the dialog widget as well...

Thanks,
-Nate

This is a known issue in our

This is a known issue in our 4.2.1. release, you can resolve this by customly inspecting the debug window with firebug and then set the top style property to positive number,

Here is a patch which solved the problem, you can apply it manually to the "www.backbase.com.2006.btl/dragAndDrop/dragAndDrop.js" file.

Index: C:/Backbase_4_2_1/bindings/www.backbase.com.2006.btl/dragAndDrop/dragAndDrop.js
===================================================================
--- C:/Backbase_4_2_1/bindings/www.backbase.com.2006.btl/dragAndDrop/dragAndDrop.js
+++ C:/Backbase_4_2_1/bindings/www.backbase.com.2006.btl/dragAndDrop/dragAndDrop.js
@@ -388,13 +388,26 @@
                        }
 
                        if ((!dragEvent || !dragEvent.defaultPrevented) && manager.allowMove) {
+
+                               var iTargetX = manager.currentLeft + manager.offsetLeft;
+                               var iTargetY = manager.currentTop + manager.offsetTop;
+
                                var sPosition = manager.controller.viewNode.bPosition ? manager.controller.viewNode.sPosition : bb.html.getStyle(manager.controller.viewNode, 'position');
                                if (sPosition != 'absolute' && sPosition != 'fixed' ) {
-                                       manager.controller.viewNode.style.position = 'absolute';
+                                       sPosition = manager.controller.viewNode.style.position = 'absolute';
                                        manager.controller.viewNode.bPosition = false;
                                }
+                               if (sPosition == 'absolute' || sPosition == 'relative') {
+                                       var oParent = manager.controller.viewNode.offsetParent;
+                                       if (oParent && oParent != document.body) {
+                                               var oCoord = bb.html.getBoxObject(oParent, sPosition == 'absolute' ? 'padding' : 'content');
+                                               iTargetX -= oCoord.x;
+                                               iTargetY -= oCoord.y;
+                                       }
+                               }
                                //Just move it around
-                               bb.html.position( manager.controller.viewNode, null, 'at-pointer', manager.currentLeft + manager.offsetLeft, manager.currentTop + manager.offsetTop );
+                               manager.controller.viewNode.style.left  = iTargetX+'px';
+                               manager.controller.viewNode.style.top   = iTargetY+'px';
                        }
                }
 

applying js

Excuse my ignorance on the syntax, but want to make sure I am making the correct change.

Are we to apply the changes (+ => add, - => remove) in the resource block inside dragAndDrop.xml?