Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2546

Weird split view animation when recording audio files in iPad

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.5.2
    • 3.5.1
    • iOS
    • Hide
      1. Install the app in an iPad device.
      2. Login as a teacher and go to a forum that accepts attachments.
      3. Click to add a new discussion.
      4. Write some text in the title or the body.
      5. Click to add an attachment and select "Audio".
      6. Click "Done" without recording any audio. Check that there is no weird animation and you don't see any modal saying that you will lose your changes.
      Show
      Install the app in an iPad device. Login as a teacher and go to a forum that accepts attachments. Click to add a new discussion. Write some text in the title or the body. Click to add an attachment and select "Audio". Click "Done" without recording any audio. Check that there is no weird animation and you don't see any modal saying that you will lose your changes.
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • Moodle Mobile 3.5.2

      When the audio recorder is opened inĀ the iPad, the view is always switched to portrait and the width is decreased because there's a "white" space in the view. This makes ion-split-pane detect that we are no longer in tablet, and our code to deactivate the split view is executed. When the recorder is closed the split view is activated again. This causes a weird animation when the recorder is closed (see attached video).

      The javascript code is not frozen while the recorder is opened, so we cannot use timeouts or similar. We should either:

      1. RemoveĀ our code to navigate when the split view is activated/deactivated.
      2. Use a global flag to disable the navigation. This flag should be turned on before opening the audio recorder in iOS, and turned off when it's closed.
        OR
      3. Check if there's any way to detect that the audio recorder is opened, but I didn't find any so far.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.