PDA

View Full Version : [FIXED-72][3.0.0] Focus Frame Problem



migolo
6 Jul 2009, 10:22 PM
Hi there

I updated my extjs library from RC2 to 3.0.0 and I get a blue border arround some panels but with errors (like the image attached). I just open the site and the error appears then I press a key or the mouse and it aligns.

I tested it in Firefox 3.0 (Ubuntu), Firefox 3.5, Chrome, Safari (Windows) and its the same problem, only in IE 8 is working ok. (very rare :(()



Is this a bug? How can I remove that blue border?



Thanks

Miguel Gonzalez

Condor
6 Jul 2009, 10:26 PM
Did you also update the stylesheets and all images (the entire resource directory)?

And did you clear your browser cache?

migolo
6 Jul 2009, 10:32 PM
yes I updated all resources (removed the 3.0 rc2 and copied 3.0.0)

I cleared the browser cache and tried it in an unoppened browser (Safari, I installed it to test if the bug appears)

I am uploading my app to try online.

evant
6 Jul 2009, 10:39 PM
Not really possible to tell without seeing some code. Could you please post a sample that demonstrates the issue?

robertoroberto
6 Jul 2009, 11:31 PM
I'm sure you are importing the ux-all.js

I just reported this error in the distribution package of RC.
Also with 3.0 final there is the same exception.

read http://www.extjs.com/forum/showthread.php?t=73074

and http://www.extjs.com/forum/showthread.php?t=73083

I hope next release ExtJS Team with distributed it without including the focus.js

migolo
6 Jul 2009, 11:35 PM
yes I am importing ux-all.js

The link you can see the error is http://sistema.libreriatec.com/

I will try removing the ux-all

evant
6 Jul 2009, 11:40 PM
As suggested, try removing ux-all. It seems there was an issue with the build process.

migolo
6 Jul 2009, 11:45 PM
I removed ux-all.js and it worked!...

I will leave that example online in order to check it and try to fix it, how you tell, I will try to remove focus.js from the file.

Many thanks

robertoroberto
7 Jul 2009, 12:04 AM
If you remove from the ux-all.js the focus.js, It works fine.
I just do it for my application.

I hope next release of extjs will fix the distribution

aconran
8 Jul 2009, 11:12 AM
If you remove from the ux-all.js the focus.js, It works fine.
I just do it for my application.

I hope next release of extjs will fix the distribution
Believe it or not this is literally a feature. The Focus adds a frame to show which item is active and is part of our Accessibility support. We will create a separate package for the accessibility so that it is not in ux-all.js.