Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

Safari issues?

Satan.Satan. __BANNED USERS
I just switched to Safari a few days ago and found that Ctrl+I, Ctrl+U and Ctrl+B (along with others) no longer work in the forums. They were working fine with Firefox. Is there a Safari setting I have to kick in the face to get this working? It works normally on Safari, according to at least one other forumer on Safari and he can't remember if he had to do anything special.

Satan. on

Posts

  • BelruelBelruel naw Registered User regular
    edited April 2008
    i can't do the ctrl commands on safari, and never have been able to, i just manually type them, its not that much extra text

  • Rear Admiral ChocoRear Admiral Choco Registered User regular
    edited April 2008
    My best guess would be using Alt+whatever, since it's Apple software, but I just type it out in Firefox anyway.

    CDIOl.png
  • Satan.Satan. __BANNED USERS
    edited April 2008
    My best guess would be using Alt+whatever, since it's Apple software, but I just type it out in Firefox anyway.

    I tried just about every modifier combination, and it worked in Firefox (I just switched to Safari). I'm wondering if it's a Safari 3.1 compatibility issue.

  • Satan.Satan. __BANNED USERS
    edited April 2008
    Belruel wrote: »
    i can't do the ctrl commands on safari, and never have been able to, i just manually type them, its not that much extra text

    Safari 3.1, out of curiosity?

  • RamiusRamius Joined: July 19, 2000 Administrator, ClubPA admin
    edited April 2008
    Go here, and replace the text in the left-side box with the following code:
    <html>
    <head>
    <title>My title</title>
    </head>
    
    <body>
    <script type="text/javascript">
    var userAgent = navigator.userAgent.toLowerCase();
    var is_opera = ((userAgent.indexOf('opera') != -1) || (typeof(window.opera) != 'undefined'));
    var is_saf = ((userAgent.indexOf('applewebkit') != -1) || (navigator.vendor == 'Apple Computer, Inc.'));
    var is_webtv = (userAgent.indexOf('webtv') != -1);
    var is_ie = ((userAgent.indexOf('msie') != -1) && (!is_opera) && (!is_saf) && (!is_webtv));
    var is_ie4 = ((is_ie) && (userAgent.indexOf('msie 4.') != -1));
    var is_ie7 = ((is_ie) && (userAgent.indexOf('msie 7.') != -1));
    var is_moz = ((navigator.product == 'Gecko') && (!is_saf));
    var is_kon = (userAgent.indexOf('konqueror') != -1);
    var is_ns = ((userAgent.indexOf('compatible') == -1) && (userAgent.indexOf('mozilla') != -1) && (!is_opera) && (!is_webtv) && (!is_saf));
    var is_ns4 = ((is_ns) && (parseInt(navigator.appVersion) == 4));
    var is_mac = (userAgent.indexOf('mac') != -1);
    
    document.write('MOZ: '+is_moz+'<br>SAF: '+is_saf);
    </script>
    </body>
    
    </html>
    

    Then hit the button above the left-side box, and report back what the right-side box tells you. Then, based on that, I might be able to provide you another test to run.

  • Satan.Satan. __BANNED USERS
    edited April 2008
    Ramius wrote: »
    Go here, and replace the text in the left-side box with the following code:
    Spoiler:

    Then hit the button above the left-side box, and report back what the right-side box tells you. Then, based on that, I might be able to provide you another test to run.

    MOZ: false
    SAF: true

  • Satan.Satan. __BANNED USERS
    edited April 2008
    For what it's worth, Safari 2.0.4 exhibits the same behavior. I don't even administrate this particular machine and I figured I would give it a try.

  • LewishamLewisham Registered User regular
    edited April 2008
    Safari's Rich Text Editor controls don't support those commands. You will find that there are no rich text editors on the internets that do.It's not a PA issue, more Safari lacking a feature.

  • Satan.Satan. __BANNED USERS
    edited April 2008
    Lewisham wrote: »
    Safari's Rich Text Editor controls don't support those commands. You will find that there are no rich text editors on the internets that do.It's not a PA issue, more Safari lacking a feature.

    I have reports of Safari handling those functions just fine. What about those?

  • RamiusRamius Joined: July 19, 2000 Administrator, ClubPA admin
    edited April 2008
    ok, I threw together a test page for you. Go to here: http://xa44.com/test/ and try each of the editors, by typing a little text and then trying the Ctrl-U, Ctrl-B, and Ctrl-I formatting options on that text. Report back the debug info that gets populated into the green box.

  • Satan.Satan. __BANNED USERS
    edited April 2008
    Ramius wrote: »
    ok, I threw together a test page for you. Go to here: http://xa44.com/test/ and try each of the editors, by typing a little text and then trying the Ctrl-U, Ctrl-B, and Ctrl-I formatting options on that text. Report back the debug info that gets populated into the green box.

    Basic. Nothing happened with Ctrl+B.
    Spoiler:


    WYSIWYG. Bold and italics showed up, underline did not.
    Spoiler:

  • RamiusRamius Joined: July 19, 2000 Administrator, ClubPA admin
    edited April 2008
    I'd be curious to know if the wysiwyg works for underlining at this site (click the text to turn on editing mode). Perhaps there is a non-standard key combination that Safari uses for Underline (something other than Cmd-U)?


    As for the Basic test, I'm surprised to see such low numbers for your ctrl+keypress test. in FF, the Ctrl key doesn't fire anything, and the 'B' key fires a 98. In IE, the Ctrl key fires a 17 and the 'B' key fires a 66. By the looks of it, in Safari the Cmd key fires a 9 and the 'B' key fires a 21? Anyways, it would be nice to see examples with Cmd-I and Cmd-U in there as well. Also, I added one more debug statement in. So when you get a chance, give me the debug output for the Basic test again, thanks.

  • LewishamLewisham Registered User regular
    edited April 2008
    Oh, looks like you guys are fixing it. Please ignore my idiocy :(

  • Satan.Satan. __BANNED USERS
    edited April 2008
    Ramius wrote: »
    I'd be curious to know if the wysiwyg works for underlining at this site (click the text to turn on editing mode). Perhaps there is a non-standard key combination that Safari uses for Underline (something other than Cmd-U)?


    As for the Basic test, I'm surprised to see such low numbers for your ctrl+keypress test. in FF, the Ctrl key doesn't fire anything, and the 'B' key fires a 98. In IE, the Ctrl key fires a 17 and the 'B' key fires a 66. By the looks of it, in Safari the Cmd key fires a 9 and the 'B' key fires a 21? Anyways, it would be nice to see examples with Cmd-I and Cmd-U in there as well. Also, I added one more debug statement in. So when you get a chance, give me the debug output for the Basic test again, thanks.

    Same issues with that WebKit site. I should notice that I am using Ctrl+_ here, not Cmd. Ctrl is what worked in FF. Cmd+_ never worked in FF and doesn't even produce keypress results in the tests.

    Ctrl+B-U-I, Basic Test
    Spoiler:

  • RamiusRamius Joined: July 19, 2000 Administrator, ClubPA admin
    edited April 2008
    sorry man, looks like safari isn't sending me anything I can work with. At all.

    I'm guessing the reports you heard about it working for some people were related to using WYSIWYG mode, which you reported worked for bold and italics.

    On the plus side, I believe you have something called "Services"? (http://wafflesoftware.net/thisservice/) I don't know exactly how they work, but if they can take keyboard shortcuts you should be able to make your own bbcode inserter, I'd think.

  • Satan.Satan. __BANNED USERS
    edited April 2008
    Ramius wrote: »
    sorry man, looks like safari isn't sending me anything I can work with. At all.

    I'm guessing the reports you heard about it working for some people were related to using WYSIWYG mode, which you reported worked for bold and italics.

    On the plus side, I believe you have something called "Services"? (http://wafflesoftware.net/thisservice/) I don't know exactly how they work, but if they can take keyboard shortcuts you should be able to make your own bbcode inserter, I'd think.

    It's alright. It's a quicky browser compared to the big players. I'm already starting to work around it and thanks for finding that for me. Thanks for trying!

Sign In or Register to comment.