Launching mlem switches volume controls to Alarm+Notification volume
Describe the bug On my iPhone, (iOS 16.6.1, iPhone 11 Pro Max) I have my sound settings configured as so:
- Settings -> Sounds & Haptics -> Ringtone And Alert Volume: a. Volume level: max b. Change With Buttons: disabled
This makes it so that my alarm and ringtone volume is "locked" at maximum volume. Changing the volume with the buttons or through the Control Center (swipe down from top right corner of the phone) should only affect the volume of the speaker (music, game sounds, videos, etc).
I've noticed however, that after launching mlem, changing the volume, at least through Control Center, changes the Alarm & Ringtone volume instead.
Expected Behavior My alarm and ringtone volume should not be changed when I adjust the volume
Actual Behavior After launching mlem, if I swipe into Control Center and say, drop the volume down to zero, my alarms and ringtones are now muted!
To Reproduce This doesn't appear to be 100% reproducible, but what I've seen:
- Force quit mlem if it's running
- Configure iOS so that the ringtone volume is 100% and that the buttons do not change the ringtone volume
- Completely mute the volume of music/video/games on your phone by holding down the volume down button
- Swipe down from the top to open Control Center, confirm that the volume bar is at 0%
- Now launch mlem
- Swipe down from the top to open Control Center again and the volume bar will be at 100%
- Adjust that volume bar so it's at 0%
- Now go to Settings -> Sounds & Haptics and you'll see that the ringtone volume is at 0%
Note: I reproduced this several times in a row this morning but now that I'm typing this up it's not reproducing the behavior. My guess is that this might be related to content that's rendered by the app? or perhaps this is somehow a bug in iOS itself? I will say that I've never had this problem until I installed mlem, so it at least seems to be triggered by something the app is doing.
Mlem Information: Version: 1.0.2, Build: 687
Additional Context I'll update this issue if I can find a reliable way to reproduce it 100% of the time
Update: I'm able to repro it 100% now, it appears to be most related to whether or not mlem was already running. If I force quit mlem, wait a minute, then relaunch mlem the issue occurs. If I just launch mlem and it had already been running, it doesn't reproduce the issue.
so maybe there's something in the "cold start" path that's triggering this behavior?
Upgraded my phone to 17.0.1 and the issue still reports. Also, at one point my lemmy instance was down for maintenance which meant my timeline was empty and it still happened, so it appears unrelated to the content in your feed and is just based on cold launch of the app
Update: still reproduces 100% of the time on a new iPhone.
iPhone 15 Pro Max iOS 17.1.2 Mlem 1.1.1
Yep, I can repro this… very strange.
This is currently (accidentally) fixed on our 2.0 branch. Since we struggled to find the cause of this in 1.0, we should check whether this bug occurs after every couple of PRs or so. It's possible that there's something in 1.0 that's causing this that we just haven't added to 2.0 yet.
It's definitely something to do with the initial launch. After reproducing the behavior, switching apps and navigating back to Mlem shows the device volume correctly.
This is back in v2.0 as of this PR.
Looks like this is still a thing, as reported here
I can't reproduce this in the same way that I did before 🤔
iOS18.0 to iOS18.2, iPhone 15 Pro, the stable Mlem App from App Store. All those months, after the last update from App Store, the typing sound inside the App is extremely loud, while if I switch out of the app to type, the sound level is normal.
Can't repro this behavior on 2.0