![]() |
|
RouteConverter and Mac OS X - Printable Version +- RouteConverter Forum (https://forum.routeconverter.com) +-- Forum: Users (https://forum.routeconverter.com/forum-17.html) +--- Forum: English: Discussions (https://forum.routeconverter.com/forum-12.html) +--- Thread: RouteConverter and Mac OS X (/thread-598.html) |
RE: RouteConverter and Mac OS X - routeconverter - 03.11.2010 (02.11.2010, 23:15)hvdwolf Wrote: Right-clicking works on both Linux and Mac. The problem with mac though is that due to the 3 callbacks also three equal points get inserted at once. Please send me the log file. I thought, this has been fixed. (02.11.2010, 23:15)hvdwolf Wrote: The speed problem on Mac is gone. Saving and opening files now works fine. files are written OK as well, I'm glad to hear that. (02.11.2010, 23:15)hvdwolf Wrote: So far I'm really impressed with what you've done in a short time. Thank you. Wouldn't be possible without your help and responsiveness. Thank you! RE: RouteConverter and Mac OS X - hvdwolf - 03.11.2010 Please find attached the mac log renamed as .txt. Including triple point registrations and removal of one or two points. RE: RouteConverter and Mac OS X - routeconverter - 03.11.2010 (03.11.2010, 17:22)hvdwolf Wrote: Please find attached the mac log renamed as .txt. Including triple point registrations and removal of one or two points. Argh, I've removed all of the logging stuff that could have helped me investigating this further. Please download the latest prerelease and try again. It should contains log lines with something like processing callback and inserting position (The inserts were the problem, right?) RE: RouteConverter and Mac OS X - hvdwolf - 03.11.2010 (03.11.2010, 19:01)routeconverter Wrote: Please download the latest prerelease and try again. It should contains log lines with something likeYes, it does. (03.11.2010, 19:01)routeconverter Wrote: (The inserts were the problem, right?)Yes, they are, but these are visible. So, just to be sure I did some more map actions. - First a center map - Then a Zoom map - Then 3 (times 3) inserts. Something else with the 3 inserts. 3 points are inserted and the middle one has the focus in the right tab. When I insert a second point (times 3), I get the order (a,b,c for the 3 points): 1a, 1b, 2a,2b,2c,1c It means that I have to move in the position list form the second point b to the third point c, before adding another position. But this shouldn't be a problem anymore when the triple insert is fixed. See attached log.zip RE: RouteConverter and Mac OS X - routeconverter - 05.11.2010 (03.11.2010, 19:01)routeconverter Wrote: But this shouldn't be a problem anymore when the triple insert is fixed. This is weird... RouteConverter gets a lot of insert-position requests from the web browser: Quote:Nov 3, 2010 9:40:33 PM slash.navigation.converter.gui.mapview.BaseMapView processCallbacks It seems this JavaScript from contextmenucontrol.js produces them: GEvent.addDomListener(entry, "click", function () { if (arg == "insert") { me.insertPosition_(); ContextMenuControl.prototype.insertPosition_ = function () { var me = this; var point = me.clickedPoint_; callJava("insert-position/" + point.lat() + "/" + point.lng()); }; I don't see a bug there... you? Are you able to debug this? RE: RouteConverter and Mac OS X - hvdwolf - 05.11.2010 (05.11.2010, 11:36)routeconverter Wrote: It seems this JavaScript from contextmenucontrol.js produces them:I don't see a bug either, but it's not the insert only. I also did a right-click "zoom in" and a right-click "center". These are also executed 3 times. Could it be that it's not the contextmenucontrol.js as such but that "something" offers the action 3 times to this contextmenucontrol.js? I don't know if I can debug this but I'll see what I can do. RE: RouteConverter and Mac OS X - routeconverter - 06.11.2010 (05.11.2010, 20:32)hvdwolf Wrote: I don't see a bug either, but it's not the insert only. I also did a right-click "zoom in" and a right-click "center". These are also executed 3 times. You're right. _Every_ AJAX request is processed three times. I've extended the debug output logging (again). Please try the latest prerelease, probably there's some hint, where this effect is coming from. RE: RouteConverter and Mac OS X - hvdwolf - 06.11.2010 I did: - 3 times a zoom action - 1 Center map action - 2 inserts See attached log. RE: RouteConverter and Mac OS X - routeconverter - 08.11.2010 (06.11.2010, 17:54)hvdwolf Wrote: I did: Strange. Every AJAX request 3 times. Please try the latest prerelease. It debugs the JavaScript part into the map: How does that look like on your machine? RE: RouteConverter and Mac OS X - hvdwolf - 09.11.2010 I did the tests. See attached log.zip containing a screen capture and a log file. |