<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d15592931\x26blogName\x3dThe+Writely+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://writely.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://writely.blogspot.com/\x26vt\x3d-1468682718282902998', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>
 
 

Why aren't you supporting Safari!!! Sam
9.09.2005 [] - Permalink

We hear you, loud and clear. Lots of Mac users want Safari. Heck, my wife does! So, why aren't we supporting it?

Well, sorry to say, there are some bugs in Safari's text editing support. If you're interested in the technical details, here's an example.

On the editor page, we have some toolbars. When you click on the buttons in the toolbar, you want it to change whatever text is selected. But, in Safari, unlike all the other browsers, when you click on that button, it drops the selection in the page before giving control to us. So, there's nothing to change, and all the buttons don't work. This is bug #1.

OK, we can deal with this. We can watch the mouse, and when the mouse moves right over a button, we can grab the selection before you click, and then restore it later. That almost works, but we then hit bug #2: Safari incorrectly reports what the selection is if it's been made by double clicking. If I select the first word of the sentence "Thanks a lot" by dragging, Safari tells me the selection starts at position 0, and goes to position 6, which is OK. But, if I double click, say, right on the 'a' in 'Thanks', Safari tells me that the selection starts and ends at position 3, even though it also tells me the text of the selection is "Thanks". So when I go to restore the selection, it's wrong, and it still doesn't work, only sometimes instead of always.

I don't know how to solve this. I can play some games with collapsing the selection to an endpoint, and moving it around, but they're complicated and they might not work in all cases. I'm asking Apple for help. If anyone reading this has a suggestion, I'd be glad to hear it - you can reply here, or in the feedback form on the Writely site.

So, that's why we're not on Safari yet. It's a nice browser in some ways, but it's missing important stuff that's going to take time to work around. We're trying, and I'm sure we'll get there, but it might take a little while.

 
Comments:
I have contacted them through that site, and no one has responded to me, which is kind of disappointing. I've also filed a bug in their bug database.

Thanks for the lead, though.

Sam
 
Sam:

I know some peeps over at Apple. I could try to see if I could get a response for you. They work on a different project but at least I could see...
 
Hm, what a about Camino, it uses the same gecko webkit as firefox ... couldn't that be supported?
 
You'd think that it would just work, right? But, it doesn't - they broke something in the async JS support when they carved out gecko. We're waiting for them to settle down before looking at it - you could hassle them if you want them to work with writely. :)
 
I am on the case. Let's see if I can get a call back or an email...
 
Post a Comment



<< Home


© 2006 Google, Inc. -  Contact Us - Writely Blog - FAQs - Privacy Policy - Terms of Use- ATOM Feed - RSS Feed