New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"All Day" events collapse to zero width in day view with 1.0.33. #1287
Comments
Without knowing anything, 215c4d8 "Show multiday events with corrent start and end points" sounds like a good candidate. My guess would be that if (endDay > lastDay) {
endDay = lastDay;
rightoffset = 0;
} else {
rightoffset =
((MINUTES_PER_DAY - event.endTime) * cellWidth) / MINUTES_PER_DAY;
} is incorrect, as the last day matches the ending day if the "All Day" event only spans a single day and so does the view. But that's a guess. |
Can you send a Screenshot. Can't repoduce on my phone with Android 10. @jspricke Can you reproduce this? |
Sure.
|
Can't see that on Android 9 with Etar .33 from F-Droid nor with CalyxOS 4.4.0 (Android 13). |
I just noticed same happens in the week view, month view is fine, though. Well then, could it be related to the data? Like my calendar events are somehow malformed? |
Somehow strange. What happens if you create a new allday event with etar? |
Those are displaying fine. Well, saving them ones does fix the display. So the event above before saving it with Etar
After saving it with Etar:
Difference is that |
Yeah, that would be it I guess. There seems to be some confusion as to whether
Anyway, the bug does also happen with events which only specify
|
I still believe that the problem lays in the commit cited above: rightoffset =
((MINUTES_PER_DAY - event.endTime) * cellWidth) / MINUTES_PER_DAY; I'm guessing that |
Yes definitely.
Probably. Maybe a check if event.endTime is greater than 0 will help. Do you have the possibility to test this? |
Arr, I guess so. I'll give it a try. |
I think the proper way would be to check whether time is available at all, as in if |
See #1290 for the PR. |
What's the procedure, do you keep the issues around until the release or should this one be closed? |
Normally the issue is closed automatically with the next release. |
"All Day" events are being displayed at the top of the day view, however with 1.0.33 they collapse to have no width, they only appear as colored bars ~4 pixel wide at the left edge with no text. They can still be selected normally, though, so the space is allocated to them and they can be edited. This does only appear to happen with single day events, if they span multiple days they are displayed normally.
1.0.30 does not show this issue, reverting back and forth between 30 and 33 reliable shows the issue. The events are sourced from a DAVx5 synchronized calendar, if that is of any interest, I'm seeing this on a phone and a tablet with Android 10.
The text was updated successfully, but these errors were encountered: