[Cartoweb-users] Cartoweb and Firefox 3

Pierre GIRAUD pierre.giraud at camptocamp.com
Thu Jul 3 04:26:42 EDT 2008


Hello all,

I was asked to have a look at this problem with FF3 and I think I found
a solution.
The "workaround" is to set a new property for the #map.layer class in
dhtml.css as described in the patch.

Right now, I'm looking for a response from the bugzilla server which
seems to be down currently.

However, I would be happy if you let me know if this works.

Regards,
Pierre

Oliver Christen wrote:
> mmm, the dhtml do not seems to use prototype's getElementsByClassName,
> it use xGetElementsByClassName which doesnt redefine the core
> getElementsByClassName function.
>
> but since the problem you noticed happens only in ajax mode, it also
> means the problem happens only prototye.js is loaded so it is linked
> somehow. We will look into that.
>
> thank you
>
> regards
> Oliver
>
>
>
>> I think the real trouble are located in the regression prototype.js
>>
>> http://ejohn.org/blog/getelementsbyclassname-pre-prototype-16/
>>
>> (don't have time today to look at it )
>> But I know that cw3 use quiet very old version ( 1.5rc )
>>
>> This should also have impact on dhtml.js an certainly quiet a lot's
>> of code inside cw3
>> (I really hope that's not the case :-) )))
>>
>> Tell us if your analyse drive you to the same index.
>>
>> Oliver Christen wrote:
>>> Hi
>>>
>>> thank you for reporting this.
>>> the problem occure specificaly when ajax is enabled.
>>> all clic-drag tools are effectively affected.
>>> we are currently looking into this matter.
>>>
>>> regards
>>> Oliver
>>>
>>>
>>>> Kurt Menke wrote:
>>>>> Hello,
>>>>>
>>>>> I've noticed that the Cartoweb zoom functionality, and the client in
>>>>> general, hangs a lot more often in Firefox 3.  I have to use the
>>>>> Refresh
>>>>> button a lot.  For instance, I can use the zoom tool once fine and
>>>>> the
>>>>> second time it doesn't zoom to the correct area unless I Refresh.  It
>>>>> worked
>>>>> beautifully in Firefox 2.  Has anyone looked into this?
>>>>>
>>>>> Kurt
>>>>>
>>>>>
>>>>>
>>>>> **************************
>>>>>
>>>> Absolutely +1. We seen exactly the same trouble.
>>>> Other tools that need point,clic and drag have the same trouble
>>>> (outline,measure...)
>>>>
>>>> -- 
>>>>
>>>>     Bruno Friedmann
>>>>
>>>> Ioda-Net Sàrl   - www.ioda-net.ch
>>>>  2830 Vellerat - Switzerland
>>>>
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>
>>
>>
>> -- 
>>
>>     Bruno Friedmann
>>
>> Ioda-Net Sàrl   - www.ioda-net.ch
>>  2830 Vellerat - Switzerland
>>
>>  Tél : ++41 32 435 7171
>>  Fax : ++41 32 435 7172
>>  gsm : ++41 78 802 6760
>>
>> C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com
>>
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users


-- 
_________________________________________________________
Pierre GIRAUD
Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex 

Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com  

-------------- next part --------------
Index: htdocs/css/dhtml.css
===================================================================
RCS file: /var/lib/cvs/public/cartoweb3/htdocs/css/dhtml.css,v
retrieving revision 1.5
diff -u -8 -r1.5 dhtml.css
--- htdocs/css/dhtml.css	8 Nov 2005 13:09:55 -0000	1.5
+++ htdocs/css/dhtml.css	3 Jul 2008 08:16:09 -0000
@@ -8,16 +8,17 @@
 #map .dhtml_element_off {
   position: absolute;
 }
 #map .dhtml_element_selected {
   position: absolute;
 }
 #map .layer {
   position: absolute;
+  -moz-user-select: none;
 }
 #map .vertex_off {
   position: absolute;
   overflow: hidden;
   width: 8px; /* must be set in pixels */
   height: 8px; /* must be set in pixels */
   padding: 0;
   margin: 0;


More information about the Cartoweb-users mailing list