MacOS Yosemite & Safari 8 / incorrect device data

  • I'm running KRPano in this ancient browser (2014 :), inside a VM.

    device is detected as iPad/DesktopMode, and the viewer only listens to gesture events.
    my first scene starts correctly, keyboard control is working, but mouse controls and hotspot clicks are disabled.

    Here's what i did to force mouse listeners with no luck :
    - embed touchdevicemousesupport option but it's enabled by default
    - overwrite device infos
    - savage replace userAgent
    - disable and enable "usercontrol" on control tag after pano load

    user agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/8.0.8 Safari/600.8.9

    device infos :
    desktop false
    mouse false
    mobile false
    handheld true
    touch false
    tablet true
    mac true
    ipad true
    safari true v8.0.8

  • you're absolutely right, unfortunately my client is still using this ancient version !
    i tested a fresh yosemite VM install and it comes with safari 8.
    KRPano is loading correctly, which is awesome !
    keyboard control is working, but no mouse ...
    a patch would be a loss of time, but i'd like to find a way to force mouse control

  • Hi,

    are you using krpano 1.20.8?

    I ask because in that version the 'iOS Desktop Mode' detection was changed due iOS 14 changes and should work also for this case. Beside of some other changes there is now also an additionally check if there is touchscreen-input support and that should be not true on a Mac Safari.

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!