Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saber on iOS freezes when adding new note #1454

Open
2 tasks done
rhizoma opened this issue Mar 23, 2025 · 6 comments
Open
2 tasks done

Saber on iOS freezes when adding new note #1454

rhizoma opened this issue Mar 23, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@rhizoma
Copy link

rhizoma commented Mar 23, 2025

Before submitting an issue, please check the following

  • I have searched for similar issues (both open and closed) and cannot find a duplicate
  • I agree to follow the Code of Conduct

Describe the bug

Upon launching Saber, and adding a new note, the note screen opens but the tools don’t work, the app freezes & cannot be closed without swiping it away. Rebooting and relaunching doesn’t solve the problem. Drawing isn’t possible. Note the whiteboard function works.

iPad Pro 10.5, iOS 17.7.5.
Saber v0.25.4 App Store 25040

Log:
SEVERE at 2025-03-23 11:56:28.980807
PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)") error, Scheduling the task using BGTaskScheduler has failed.

This may be due to too many tasks being scheduled but not run.

See the error for details: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"., null, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370)

#2 Workmanager.registerOneOffTask (package:workmanager/src/workmanager.dart:192)

SEVERE at 2025-03-23 11:56:29.143135
PlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl: Unknown error, null)

To reproduce

  1. Launch Saber
  2. Press + button
  3. Press “new note”
  4. App freezes and the icons appear dimmer than those in the whiteboard function which does work.

Expected behavior

Ability to draw!

Saber version

v0.25.4 App Store 25040

Device

  • Device: iPad Pro 10.5
  • OS: 17.7.5

Anything else?

Whiteboard function works ok.

@rhizoma rhizoma added the bug Something isn't working label Mar 23, 2025
@Tear4Pixelation
Copy link

Tear4Pixelation commented Mar 26, 2025

I have the exact issue on my third-generation iPad Air running iPadOS 18.3.2. As for you, my Whiteboard.
And the logs for me…

SEVERE at 2025-03-27 07:08:45.025222
PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)") error, Scheduling the task using BGTaskScheduler has failed.

This may be due to too many tasks being scheduled but not run.

See the error for details: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"., null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370)
<asynchronous suspension>
#2      Workmanager.registerOneOffTask (package:workmanager/src/workmanager.dart:192)
<asynchronous suspension>


SEVERE at 2025-03-27 07:08:45.253868
PlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl: Unknown error, null)

@Tear4Pixelation
Copy link

This seems to be a known issue with iOS media players. Below, I found details and a possible fix or hint for the issue.
bluefireteam/audioplayers#1546 (comment)

@Tear4Pixelation
Copy link

@rhizoma temporary fix: disable pencil sound in settings. And before you freak out, Set the Main pen to no pressure ajustement (click on the icon and then set it to the stroke that is same thick everywhere.

@Tear4Pixelation
Copy link

Image

@rhizoma
Copy link
Author

rhizoma commented Mar 30, 2025

Thanks, but unfortunately, the fix doesn’t work for me. I turned off pencil sound and set the pen to ballpoint as suggested. Was only able to do this in the Whiteboard app. Still frozen in the Note app.

===

Log:
SEVERE at 2025-03-30 08:18:12.425016
PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)") error, Scheduling the task using BGTaskScheduler has failed.

This may be due to too many tasks being scheduled but not run.

See the error for details: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"., null, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370)

#2 Workmanager.registerOneOffTask (package:workmanager/src/workmanager.dart:192)

SEVERE at 2025-03-30 08:18:12.471145
PlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl: Unknown error, null)

@Tear4Pixelation
Copy link

OK I figured it out I changed multiple settings, the others I thought had no impact, but now with more testing, try changing prompt to rename note to true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants