Calendar icon indicating copy to clipboard operation
Calendar copied to clipboard

Notification sound not triggering if you do not dismiss previous missed event

Open ghtesting2020 opened this issue 3 months ago • 13 comments

Checklist

  • [x] I can reproduce the bug with the latest version given here.
  • [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [x] This issue contains only one bug.
  • [x] I have read and understood the contribution guidelines.

Affected app version

16.1

Affected Android/Custom ROM version

16

Affected device model

pixel

How did you install the app?

F-Droid / IzzyOnDroid

Which calendar service or provider do you use, if any?

No response

Which sync adapter app do you use for calendar synchronization, if any?

No response

Steps to reproduce the bug

going from my issue in 734. I have found out what is the actual issue. There seems to be some kind of problem if you set a custom notification sound. Put any sound file on your phone to use as a notification set it to that file in settings > notification > calendar > category the sound plays the first time

then the sound never plays again. if you go into settings and change the notification sound from that custom sound to say Oxygen, it will play Oxygen or your default. There is no consistency but seems like Calendar is having issues picking what sound to play.

this explains why my notifications were "silent" even when using do not disturb with Alarm channel bypass. Calendar thought it was playing my custom sound but was playing nothing.

Expected behavior

Any notification sound works.

Actual behavior

no sound is played or a different sound is played (default)

Screenshots/Screen recordings

No response

Additional information

No response

ghtesting2020 avatar Sep 11 '25 13:09 ghtesting2020

  1. Does it happen for both events and tasks?
  2. Does it happen for all events/tasks in this particular event type?
  3. Are affected events/tasks one-time or recurring?
  4. Have you changed notifications audio stream in Settings after the first time sound was playing?

Aga-C avatar Sep 11 '25 14:09 Aga-C

  1. I don't use tasks only events
  2. All events in all categories
  3. Both recurring and one time
  4. I changed it to Alarm stream as suggested in 734

however the second day just no notification sounds play at all. Whether I have a DND mode on or not. It is very frustrating as I had 0 issues with Calendar for years and now I am missing stuff.

I've spent a few hours trying various things. Even setting back to default notification sounds doesn't work after the first day.

I tried going back to version 1.5.0, 1.6.0 and those have the same issue. I am going to try a very old build or pre-fossify to see if it's good then.

The notifications appear in Settings > Notifications > Notification history but no sound plays. So both the OS and app seem to the think it worked.

When I go to Calendar > Notifications > I can see the count increasing per category "About x notifications per day" but there is a Show unused categories that expands to nothing at the bottom. So maybe they are playing in other category/streams but there is a bug?

This happens to both old events I imported, or new events without prior import.

ghtesting2020 avatar Sep 12 '25 14:09 ghtesting2020

It must have something to do with Androids new Modes (creating a do not disturb mode) as I tried an old version and it still doesn't sound. Shows up in Notification bar

Created a mode Apps > Allowed Calendar to bypass Alarms & other interruptions > Allowed Alarms and Reminders to bypass

In Fossify Calendar I have it set to Alarm Stream

Then

Created a new mode, toggled Allow all notifications, which defeats the purpose

No sound, but as usual the icon shows up in the notification bar

Then

Disabled all modes

NO SOUND WTF???????? Noticiatiom appears in bar as usual.

Seems like setting a mode whether its on or not will break sound for all future notifications

Reinstall from scratch, do not turn on a Mode.

Notifications sound like normal. Whether custom sounds or built in

And yes, Override Do Not Disturb is on for each category in system notification settings

ghtesting2020 avatar Sep 12 '25 14:09 ghtesting2020

There seems to be some kind of problem if you set a custom notification sound.

Please share the custom sound file you are using. I tried to reproduce your issue under different conditions (custom modes, etc.) on the same device, and I couldn't.

no sound is played or a different sound is played (default)

I think a different sound was played because you changed the stream from Notification to Alarm. Changing the stream creates a new category with default notification settings (as you previously noticed here, it is now tracked in https://github.com/FossifyOrg/Calendar/issues/548). The same reset also happens when you turn on/off vibrations using the in-app vibration toggle.

Note that changing the stream to Alarm means notifications will be silent if your alarm volume is 0. As per my testing in https://github.com/FossifyOrg/Calendar/issues/734#issuecomment-3217730731, you don't need to change the stream to use custom modes because you are already explicitly allowing the app to interrupt you.

There is no consistency but seems like Calendar is having issues picking what sound to play. this explains why my notifications were "silent" even when using do not disturb with Alarm channel bypass. Calendar thought it was playing my custom sound but was playing nothing.

The sound you select in your notification settings is technically played by the system. Fossify Calendar is only responsible for issuing the event notification, and the rest is done by the system.

naveensingh avatar Sep 13 '25 13:09 naveensingh

There seems to be some kind of problem if you set a custom notification sound.

Please share the custom sound file you are using. I tried to reproduce your issue under different conditions (custom modes, etc.) on the same device, and I couldn't.

no sound is played or a different sound is played (default)

I think a different sound was played because you changed the stream from Notification to Alarm. Changing the stream creates a new category with default notification settings (as you previously noticed here, it is now tracked in #548). The same reset also happens when you turn on/off vibrations using the in-app vibration toggle.

Note that changing the stream to Alarm means notifications will be silent if your alarm volume is 0. As per my testing in #734 (comment), you don't need to change the stream to use custom modes because you are already explicitly allowing the app to interrupt you.

There is no consistency but seems like Calendar is having issues picking what sound to play. this explains why my notifications were "silent" even when using do not disturb with Alarm channel bypass. Calendar thought it was playing my custom sound but was playing nothing.

The sound you select in your notification settings is technically played by the system. Fossify Calendar is only responsible for issuing the event notification, and the rest is done by the system.

I don't think it's related to custom sound.

I just tested with the following: my Mode is set to active, Calendar allowed override, the group is allowed to override Do Not Disturb Alarm volume is around 80% (I never lower it, it was never 0) BUILT IN sound "Krypton"

NO sound played, notification appeared in my notification bar like always.

I disabled all Modes. Do not disturb is NOT on, alarm volume is still around 80%, custom sound Krypton

NO sound played, notification appeared in my notification bar like always.

I uninstall the calendar, import my settings and old events

I make a test event or wait for the first old event to play

SOUND works whether I am in my mode or not

then I make another event or wait for next scheduled one

NO SOUND PLAYS whether I have a mode on or not

WTF???????????????? How come the sound plays the first time but never again? This is driving me insane. I have spent hours trying to reproduce or find the cause

I have attached logs, maybe they will have something.

I REALLY need this fixed asap, I relied on this app for years and never had a problem until the last couple weeks.

ghtesting2020 avatar Sep 13 '25 21:09 ghtesting2020

Okay. Now:

then I make another event or wait for next scheduled one

NO SOUND PLAYS whether I have a mode on or not

Did you dismiss the first test notification before you received the second test notification?

If you didn't, could you please try?

naveensingh avatar Sep 14 '25 01:09 naveensingh

Okay. Now:

then I make another event or wait for next scheduled one

NO SOUND PLAYS whether I have a mode on or not

Did you dismiss the first test notification before you received the second test notification?

If you didn't, could you please try?

And also as you can see it duplicates the notification sound even though these are built in sounds, not my custom sound. I think it then has trouble picking one which is why no sound plays. (One of them was highlighted, but I was trying different sounds. When selecting them manually in settings, they play the test souns properly so I do not know why they would be duplicating.

ignoreImageMinify

ghtesting2020 avatar Sep 14 '25 01:09 ghtesting2020

@naveensingh YO you found the bug! I can reproduce every time now.

If you DO NOT DISMISS previously missed alarms, the next one WONT sound.

I always have alarms I keep as a reminder until I finish them and the next one would sound without a problem. Now they just appear in notification bar but no sound is played.

This never used to be a problem before. I would probably need to go back to 1.2.0 or somethig.

ghtesting2020 avatar Sep 14 '25 02:09 ghtesting2020

YO you found the bug!

I'd recently purchased a new pair of glasses. Unfair advantage, really.

If you DO NOT DISMISS previously missed alarms, the next one WONT sound.

@ghtesting2020 Are you able to reproduce this with the latest Pixel update?

naveensingh avatar Sep 30 '25 11:09 naveensingh

@naveensingh yes it's still an issue and I need it fixed urgently. The app is pretty useless to me currently

ghtesting2020 avatar Oct 02 '25 12:10 ghtesting2020

@naveensingh will this be fixed or should I use another?

ghtesting2020 avatar Oct 14 '25 14:10 ghtesting2020

It will be.

naveensingh avatar Oct 14 '25 14:10 naveensingh

It will be.

Sir, any update on this? Been broken for a few months now.

ghtesting2020 avatar Nov 13 '25 15:11 ghtesting2020

Seems fixed in android 16.1 was OS bug.

ghtesting2020 avatar Nov 28 '25 02:11 ghtesting2020