[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Description changed: I use the calendar-app with my work google calendar. For that calendar I have alarms setup to automatically send an email 24 hours, 4 hours and 30 minutes before any event and I choose email as the reminder (as opposed to popup) so that I wouldn't be bombarded with reminders all day. Unfortunately the calendar app does not make a distinction between email and popup and every event with an email reminder gets imported as an event that gets an event notification on the phone with an alarm sound. I have a lot of events in my calendar and so my phone is constantly making noise at all times of the day. This is particularly annoying at night time since I might get a reminder as early as 3am or 4am, which wakes me up. Of course, I could use silent mode at night, but, like last night, I forgot and was awoken at 6am. Plus, I don't necessarily want the phone in silent mode-- I'd like to be able to hear if a phone call comes in since that is likely an emergency call I need to take. There are a lot of different bugs related to calendar event notifications and if some of them were fixed, it would ameliorate this bug. For example, I've been hoping for a setting to disable sounds for just the calendar (whether via the app or system settings) but otherwise get calendar notifications. Being able to change the alarm sound to 'None' would work too. TBH at this point I don't care which bug is fixed, I need to get this phone to stop sounding off constantly. WORKAROUND: 1. download https://commons.wikimedia.org/wiki/File:Silence.ogg to /home/phablet 2. use gsettings to adjust the sound: $ DISPLAY=:0.0 gsettings get com.canonical.indicator.datetime calendar-default-sound '/usr/share/sounds/ubuntu/ringtones/Marimbach.ogg' - $ DISPLAY=:0.0 gsettings set com.canonical.indicator.datetime calendar-default-sound /home/phablet/Silence.ogg + $ DISPLAY=:0.0 gsettings set com.canonical.indicator.datetime calendar-default-sound /home/phablet/Silence.ogg $ DISPLAY=:0.0 gsettings get com.canonical.indicator.datetime calendar-default-sound '/home/phablet/Silence.ogg' + + UPDATE: if you used the above workaround, after the OTA11 update you can undo the workaround with: + $ DISPLAY=:0.0 gsettings set com.canonical.indicator.datetime calendar-default-sound /usr/share/sounds/ubuntu/ringtones/Marimbach.ogg + $ DISPLAY=:0.0 gsettings get com.canonical.indicator.datetime calendar-default-sound + '/usr/share/sounds/ubuntu/ringtones/Marimbach.ogg' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed ** Changed in: indicator-datetime (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: ubuntu-calendar-app Status: In Progress => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: canonical-devices-system-image Status: Confirmed => In Progress ** Tags added: system-apps-11 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: ubuntu-calendar-app Milestone: None => 0.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: ubuntu-calendar-app Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: indicator-datetime (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Branch linked: lp:~renatofilho/indicator-datetime/fix-1533681 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
Renato, thanks for working on some of the indicator-datetime backlog. =) For this one, after the EDS engine collects all the alarms for an event, it should cull out the ones that have neither an audio_url nor display text, ie: === modified file 'src/engine-eds.cpp' --- src/engine-eds.cpp 2016-02-03 16:33:39 + +++ src/engine-eds.cpp 2016-03-29 17:53:12 + @@ -960,7 +960,8 @@ appointment.end = i.first.second; appointment.alarms.reserve(i.second.size()); for (auto& j : i.second) -appointment.alarms.push_back(j.second); +if (!j.second.text.empty() || !j.second.audio_url.empty()) +appointment.alarms.push_back(j.second); subtask->task->appointments.push_back(appointment); } } A few important notes: 1. I believe the clock app used to (and possibly still does?) write empty valarms, so when testing this or any other fix you should confirm that it doesn't break the clock. For backwards compatibility with existing clock-app alarms, we may need indicator-datetime to inject an Alarm if none is present for any event containing the "x-canonical- alarm" tag. 2. Most of indicator-datetime's EDS tests were created with output from clock-app, so new ical tests are needed to cover these other valarm action types. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: canonical-devices-system-image Milestone: ww08-2016 => 11 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Tags added: indicator -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: indicator-datetime (Ubuntu) Assignee: Charles Kerr (charlesk) => Renato Araujo Oliveira Filho (renatofilho) ** Changed in: canonical-devices-system-image Assignee: Alejandro J. Cura (alecu) => Bill Filler (bfiller) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
fwiw, the proposal in comment #6 sounds good. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: ubuntu-calendar-app Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: canonical-devices-system-image Status: New => Confirmed ** Changed in: canonical-devices-system-image Assignee: Bill Filler (bfiller) => Alejandro J. Cura (alecu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: indicator-datetime (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Changed in: indicator-datetime (Ubuntu) Importance: Undecided => High ** Changed in: indicator-datetime (Ubuntu) Assignee: (unassigned) => Charles Kerr (charlesk) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
In my opinion this should be the indicator behavior for each action: DISPLAY = Show the message without any sound SOUND = Show the message with the sound EMAIL = do nothing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
as Charles mentioned I believe it is a indicator problem. The indicator should check which kind of alarm the event has and play a sound or display the message based on that: Until now I found 3 types: BEGIN:VALARM ACTION:[DISPLAY | AUDIO | EMAIL] The indicator should check that and act as requested. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
@renato please help to see if anything needs to be done on calendar app or backend ** Changed in: ubuntu-calendar-app Assignee: (unassigned) => Renato Araujo Oliveira Filho (renatofilho) ** Changed in: ubuntu-calendar-app Importance: Undecided => High ** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Bill Filler (bfiller) ** Changed in: canonical-devices-system-image Milestone: None => ww08-2016 ** Changed in: canonical-devices-system-image Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
Here is an ical that should contain the event that sounded this morning. Ie, there is a calendar event for 10am local (US/Chicago) on 2016-01-13 that sounded the calendar alarm at 6am local (US/Chicago). This is a recurring event and I included all events with the 'SUMMARY:1 on 1 Chris/Jamie'. I have redacted the 'UID:' fields-- there were only two different ones (I guess depending on who created the event??) but I redacted the info with a string of the same length as what was previously there and kept the two UIDs unique. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
** Attachment added: "calendar.ics" https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1533681/+attachment/4549340/+files/calendar.ics -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1533681] Re: imported google calendar events sound when they shouldn't
This sounds like it might be an indicator-datetime bug rather than a calendar-app bug. Jamie, could you please attach a sample entry from the ical file that's causing unwanted event sounds? You will find the file(s) in ~/.local/share/evolution/calendar/*/calendar.ics where * generally includes "system" and may include other directories as well. ** Also affects: indicator-datetime (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533681 Title: imported google calendar events sound when they shouldn't To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1533681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs