Open zoff99 opened 8 years ago
Hm thats strange. When I try your steps I get always the todays date. When I switch from today view to month view and then press + button I get the first date of month. But when I press the today button first I get the todays date. Android 4.4.4
the same goes for "time" when adding a new event. this should always be a fixed logic
I did a bunch of testing. I found that Etar seems to have the concept of the active date, which is what gets filled in when you create a new event. The active date is not based exclusively on the current state. Rather, it is based on the last action you took and sometimes the previous state. Here is what I believe to be a comprehensive list of all actions, whether they affect the active date, and, if so, how.
Note: Opening the app is considered the same as changing the view
Today
buttom -> todayThere is one special case: If you click the FAB to add a new event, then press cancel or hit back, and the active month is this month, and the active date is not the 1st of the month, then the active date will be set to today's date. Rephrased as steps to reproduce: scroll through monthly view and end up on this month, create a new event, then cancel it; the next time you create an event it will auto-fill today's date.
I'll give this a bit more thought, then edit it to include how I think the actions should affect the active date.
So, because #1148
how to see the bug:
) open etar (month view as standard view when opening) ) press "today" button (now is 22.08.2016) ) now press red "+" button to add event ) the new event has prefilled date: 08.Aug.2016
that is strange
also sometimes it prefills with first date of month sometimes it seems to choose a random Monday
the "+" button should always use "todays" date i think at last it should not be a random date