tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
6.07k stars 525 forks source link

Sporadic behaviour in calendar views. #6784

Closed cautious-bread closed 7 months ago

cautious-bread commented 7 months ago

Bug in mobile app

Describe the bug When in the calendar tab (node?) of the Android app, in the week Week and Agenda views, there are a few broken behaviours...

  1. The week across the top of the view is not representing the same week below it - i.e. currently the week for 25-31 March is showing my events for 1-7 April.
  2. Tapping anywhere on the week "bar" at the top results in it jumping back a week.
  3. Opening the week bar to show the month causes the week header to disappear, leaving it impossible to see when week is being viewed.
  4. Tapping a day in this month overview (drop-down?) sometimes shows the events for that day. But with my testing I'm only able to exactly hit the mark on the bottom week's row. Tapping anywhere else results in the overview jumping back a month,
  5. Looking at a day when in the month view, then going "back" has the app go back to the Mail tab, instead of the Calendar's Month view that we were just in.

To Reproduce Steps to reproduce the behavior: As above. Tapping around the month overview drop-down will result in it jumping back a month. Open the week view and observe the incorrect events on display underneath.

Expected behavior

  1. The week view should show the correct events for that week.
  2. Tapping on a day in week view bar should highlight that day.
  3. The current week being viewed should be visible as a highlight across the month overview drop-down.
  4. Tapping any day in the month overview drop-down should display the events for that week.
  5. Going "back" after viewing an event should go back to the previous view.

Screenshots 1st-april 3rd-april week-view-month-drop-down

Smartphone (please complete the following information):

Additional context No other context. Just want to bring attention to the broken Calendar behaviour I'm experiencing.

Test Notes

Test on Android and Chromium.

rezbyte commented 7 months ago

Hi @cautious-bread, I am sorry to hear you are having issues with the calendar.

I can reproduce these issues and will investigate them further now.

jujar commented 7 months ago

I have this issue as well. A little variation to OP's problem is that trying to select a day from the half-screen month view (OP's last image) always results in the calendar view going back a month. I am only ever able to select a day from the full screen month view but even after the selection the week bar displays the wrong week and doesn't show which date has been selected. Device: Oneplus 7 PRO OS: DivestOS 20-20240312-dos-guacamole Android 13

murilopereirame commented 7 months ago

Probably not related, the selected day isn't shown inside the popup on Two Columns layout. Should I create a new issue or it should be covered by this current issue? Screenshot from 2024-04-02 09-47-24

charlag commented 7 months ago

oh, you think mini selector is also not scrolled to the right place? then it should be covered here

murilopereirame commented 7 months ago

Sorry, forgot to mention that this also happens on iPad

rezbyte commented 7 months ago

Probably not related, the selected day isn't shown inside the popup on Two Columns layout. Should I create a new issue or it should be covered by this current issue? Screenshot from 2024-04-02 09-47-24

I tried this out and I do not think this is related. The calendar seems to be displaying the correct month.