3.2.0

Problems with version 1.0 in Firefox 1.5

There are several known problems with ActiveWidgets 1.0 when running in Firefox 1.5. I am planning to make a bug fix release (1.0.2) soon after Firefox 1.5 final, somewhere in the next two weeks. Here is a list of problems which I know so far:

1). Scrollbars inside grid headers. Could be fixed with the following CSS:

.active-grid-row.gecko, .active-box-normal.gecko {
    overflow-y: visible;
}


2). Problem with column resizing (same as 1.0.6, 1.0.7) - apply the same fix:

if (window.HTMLElement) {

    var element = HTMLElement.prototype;

    var capture = ["click",    "mousedown", "mouseup",    "mousemove", "mouseover", "mouseout" ];

    element.setCapture = function(){
        var self = this;
        var flag = false;
        this._capture = function(e){
            if (flag) {return}
            flag = true;
            var event = document.createEvent("MouseEvents");
            event.initMouseEvent(e.type,
                e.bubbles, e.cancelable, e.view, e.detail,
                e.screenX, e.screenY, e.clientX, e.clientY,
                e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,
                e.button, e.relatedTarget);
            self.dispatchEvent(event);
            flag = false;
        };
        for (var i=0; i<capture.length; i++) {
            window.addEventListener(capture[i], this._capture, true);
        }
    };

    element.releaseCapture = function(){
        for (var i=0; i<capture.length; i++) {
            window.removeEventListener(capture[i], this._capture, true);
        }
        this._capture = null;
    };

}



3). vertical scrollbar missing in 'basic.htm' - don't know the solution yet.


Anything else?


Alex (ActiveWidgets)
November 21,
When the grid is wider than all the columns the header dosn't extend all the way accross. I personnaly want to hide this anyway but I know it's not how it's suppose to appear :)
J
November 21,
.active-grid-row.gecko, .active-box-normal.gecko {
    overflow-y: visible;
}


That code for the other fix corrects the header problem as well. I hadn't put any of the patches in my code so ignore the above message :)
J
November 21,
I have the same problem with active widget beta 2.
Adding those lines to the css didn't fixed it.
Lucho
November 21,
well this is a bug list for version 1. I don't think that css classes are the same in the new version but if you looked at the output from the grid you should be able to determine what they are and the same fix will probably work
J
November 22,
.aw-grid-row.gecko ? .aw-scroll-bars.gecko ?
.aw-bars-box.gecko ? ??
Lucho
November 22,
Lucho,

the CSS fix is only for version 1.0 and intended to remove scrollbars from inside header cells in FF1.5.

What kind of problem do you have with beta2?
Alex (ActiveWidgets)
November 22,
oh sorry, I thought the fix was about missing scrollbars.

Actually with beta2 in FF1.5 they disappear as soon as the css is loaded I guess.
Lucho
November 22,
So that was your number 3)

3). vertical scrollbar missing in 'basic.htm' - don't know the solution yet.
Lucho
November 22,
ok, this one will be fixed in beta3.
Alex (ActiveWidgets)
November 22,
New Firefox out today!
http://theinquirer.net/?article=27990

Hopefully this issue can be resolved soon :)
November 29,
darn I was hoping it wouldn't be out till alex had fixed the probs
J
November 29,
Hey Alex,

I was wondering if you'd have a clue about this one;

using FF1.5, I get those horizontal scrollbars in the grid header cells, which can be fixed (as mentioned above) using;

.active-grid-row.gecko, .active-box-normal.gecko {
    overflow-y: visible;
}


However, I have a 'hidden' column which basically causes the header cells to be offset. I don't know if you can get what I'm trying to say. Basically, the grid itself is fine. But the first header (which should have a width of 0) is about 15 px wide, and thus moving all other header cells right a bit.

Let me know if you have any input on this!

Cheers!

Ryd.
Ryders
December 1,
i am looking for this answer as well (to the offset when there are hidden columns).

thanks!
carol
December 1,
I had the same problem, please refer to the screenshot at:
http://office.orite.com/~frank/ag_error.gif
Frank Liu
December 1,
Any indication or estimate when this glitch could be fixed?

Cheers
patrick
December 2,
Key Navigation which used to work prior to FireFox 1.5 does not work anymore.

Testcase: basic.htm
Dietrich
December 2,
Is there a fix for the missing vertical scrollbars in Firefox 1.5 already?
Peter Riet
December 6,
the css hack for "Scrollbars inside grid headers" does not work for mine

see the test page ( use test as account/password to login )
http://newped2.auckland.ac.nz/hebrew/start.pyg?cmd=view_course&courseidentifier=13

Anything I missed ?

Thanks

Wen
December 7,
Wen- Very interesting. I bet it has something to do with the mix of fonts and AW calculating the needed width for the captions. Just for fun, have you tried to increase the height of the header and decreased the font size to see if the scroll bars go away? Or in the CSS for the header, set the scroll bar to hidden? This is kind of a brute force method of programming, don't fix the cause-hide the side effect.

Peter- I do all my development in FF 1.5 and I have not experienced missing vertical scroll bars in my own stuff (I do see that Wen's page is missing the scroll bar but that could be a side effect of the header problem). Provide a link to your page where you are missing the scroll bar so I can see what makes your page different from what I am doing where I always get it. In fact, I get better and more consistant results right now using FF then I do in IE, go figure?
Jim Hunter
December 7,
Jim
Thanks for your reply.
I try change the css hack to this
.active-grid-row.gecko, .active-box-normal.gecko {
overflow-x: hidden;
}

and now the "Scrollbars inside grid headers" problem is gone,
but still miss the scroll bar for that page...
Hope we could come up a solution soon.

Thanks.
Wen
December 8,
It seems the the vertical scrollbars only show up if there are horizontol scrollbars too (in e.g. an iframe). if the grid is small enough to to need horizontal scrollbar, the vertical scrollbar dissapears
December 8,
Alex: Any news regarding the fix for the FireFox 1.5 incompatibilites?

Thank you for fixing.

Best Regards.
Dietrich
December 12,
Just published new 1.0.2 release -

http://www.activewidgets.com/javascript.forum.9654.0/maintenance-release-1-0-2.html
Alex (ActiveWidgets)
December 12,
Is there still a bug in releasing the mouse pointer outside the grid after grid resize?
romz
December 12,
Just outside the grid should be ok, the problem is when you release the mouse outside the window (or iframe) which contains the grid - firefox does not capture the events outside the browser window (as fas as I know).

Can anyone suggest the solution?
Alex (ActiveWidgets)
December 12,
Hmm your right, I'm using it inside an i-frame. I just upgraded to my browser FireFox 1.5 and I'm suprised with all the new bugs came out. The css fix above removed those scrollbars appearing in all column headers and fields.

Well at last the grid in Firefox can now be navigated with a mouse scroll but only if the mouse pointer is over the vertical scrollbar of the grid. If the mouse pointer in over the grid, there's no mouse scroll event :c(

It seems there are also some new bugs when the grid is inside an iframe. Some activity inside the grid makes the vertical and harizontal scrollbars of the iframe appear even though there is no overflow. Look at the pics below. Sorry I don't have a server to show you the actual page.

---------------------------------------------------------------------
The grid have x and y overflow of data.
http://disasteromz.multiply.com/photos/photo/2/1.jpg

Once you select a certain row, both harizontal and vertical scrollbar of the iframe appears but there is no overflow. You will also notice the vertical scrollbar of the grid and the vertical scrollbar of the iframe seems overlapping each other. If you click portion of the page outside the grid but still inside the iframe, the iframe scrollbars disappear.
http://disasteromz.multiply.com/photos/photo/2/3.jpg

Here is another one, there is no grid overflow.
http://disasteromz.multiply.com/photos/photo/2/5.jpg

Still if you select a certain row, the scrollbars appear on the iframe.
http://disasteromz.multiply.com/photos/photo/2/7.jpg

If you still click the portion of the page outside the grid but inside the iframe, the scrollbars disappear. If you resize the columns, the scrollbars appear also.
http://disasteromz.multiply.com/photos/photo/2/9.jpg
---------------------------------------------------------------------

I hope you understand it now. I tried my best to demonstrate and explain it. It will be more convincing if you make one sample yourself. I think it still can be fixed by applying overflow:hidden on the pages the iframe will load but there are cases that it should not be applied like when the page will be viewed in a smaller window and the scrollbars are still hidden. overflow:auto don't resolve this problem either. I hope there will be a workaround. This bug doesn't happen in FireFox 1.0.x.

Any help around there? Thanks and Merry Christmas!
romz
December 24,
*bump*

any help out there?

Happy New Year!
romz
December 28,
.active-grid-row.gecko, .active-box-normal.gecko {
    overflow:hidden;
}


THIS CODE WILL WORK BEST
Ramkrishna
February 7,

This topic is archived.

See also:


Back to support forum