Skip to content

The current selected day, month, week, year is not preserved after rotating #1042

@rros

Description

@rros

Checklist

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

Affected app version

1.10.2

Affected Android/Custom ROM version

Android 16

Affected device model

Google Pixel Pro 10

How did you install the app?

GitHub releases

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

Google Calendar, Microsoft Outlook, webcal

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

DAVx5, ICSx5

Steps to reproduce the bug

  1. Go to the day view
  2. Swipe or tap to the next day
  3. Rotate the device

Expected behavior

I expect to see the same day I saw before rotating

Actual behavior

The day which was used to load the view is shown instead.

Screenshots/Screen recordings

No response

Additional information

This issue is present in all the different views: day, week, month, month + day, year and list.

Also, when navigating deeper, i.e. selecting a month when on a year view also has this problem. I think this is logical, because the same fragments are used when navigating deeper.

I already know how to fix it for all the views except the list view and I'm working on a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedFeature or bug accepted. PR is welcome.bugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions