Sie sind nicht angemeldet.

1

Mittwoch, 18. April 2012, 19:34

iPad 3 (aka 3rd generation iPad) Crashing When Changing Hotspot Styles

Hi there,

Please forgive me if a similar problem is located elsewhere on the forum, I tried searching but didn't find such a problem...

Here's my issue: I have a panoramic with a large number of image hotspots (63-126) and everything works great on the iPad 2. However, when we started testing on the iPad 3, Safari will crash after a varied amount of time. The hotspots are set up in this way: 63 of them are always visible and set up with onclick events. The onclick events for these 63 hotspots trigger the remaining hotspots to become visible. I've tried both setting the actual visible attribute of those hotspots, as well as loading a style with the visible attribute set to true. Both of these methods cause the iPad 3 to crash. When I take out any code that changes the visible state of the hotspots, the iPad 3 no longer seems to crash (I've limited testing to about 15 minutes, so it's possible it would crash given longer usage times).

Is there anything that I'm doing wrong? I understand Safari is having some rather serious memory issues that cause crashing to happen frequently. I have another very similar panoramic set up that doesn't appear to crash for the iPad 3 either, however. Any help would be greatly appreciated! I'm attaching the XML file of the panoramic that is causing the iPad 3 to crash.

Thanks!

(Edit):
The current attached file attempts to make hotspots visible by using this type of a statement:
hotspot[hs-glowing-1].loadstyle('show-glow');
Where style is defined as:
<style name="show-glow" visible="true"></style>

However, I've also tried simply doing:
set(hotspot[hs-glowing-1].visible, true);

Which produces the same crashing result.
»Masses117« hat folgende Datei angehängt:
  • crashing.xml (118,1 kB - 63 mal heruntergeladen - zuletzt: Heute, 00:06)

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Mittwoch, 18. April 2012, 20:01

loadstyle seems overkill.

see this recent thread.

syntax question..
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Mittwoch, 18. April 2012, 21:04

Agreed about the loadstyle, but I was just trying every possible combination of things to get it stable for the iPad3. Along with the loadstyle approach, I tried changing the code so that it uses the following:

set(hotspot[hs-glowing-1].visible, true);

But that also caused the iPad 3 to crash. All the crash reports from Safari state low memory. I'm at a loss as to what is going wrong - I suppose it could just be something with Safari but I'm not really in charge of when Apple releases updates. Thanks for the reply, I'll try switching to the form you suggested in that other thread.

4

Mittwoch, 18. April 2012, 23:26

Nevermind about this issue, looks like it had something to do another person's script that was running on the page as well. Sorry for the false alarm, was just confused since it always crashed while clicking on a hotspot.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

5

Donnerstag, 19. April 2012, 01:17

Confirmed. I tested an ipad3 hiding hotspots over and over..
360's looked really nice.. but all my graphics are fuzzy. **Sigh** another thing to do.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Ähnliche Themen