Calendar
Calendar copied to clipboard
Monthly view widget shows also other weeks
Checklist
- [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one feature request.
- [X] I have read and understood the contribution guidelines.
- [X] I optionally donated to support the Fossify mission.
Feature description
Congratulations for such a cool app at first. The monthly view of the widget shows more weeks then necessary compared to other calendars. It shows the first week of next month instead of optimizing the viewsize.
Why do you want this feature?
To get a good overview with just that what is needed/requested
Additional information
Or in other words: 5 rows view in the widget would be best. No month has more weeks so 6 rows like it's now shouldn't be necessary
No month has more weeks so 6 rows like it's now shouldn't be necessary
It's not true. Check e.g. March 2025.
No month has more weeks so 6 rows like it's now shouldn't be necessary
It's not true. Check e.g. March 2025.
You're right. Checked it with Samsung Calendar and its a unique time I saw it expanding to 6 rows. Let me clarify. I have nothimg against 6 rows if they are necessary :)
Hi @Aga-C and @Semuria,
I’d like to help with resolving the issue where the monthly view widget sometimes shows extra weeks. My plan is to:
Dynamically calculate the number of rows (weeks) based on the first and last days of the month.
Ensure that if the month spans six weeks, it will display six rows, but if the month only requires five rows, it will display just five.
Prevent unnecessary extra days from the next month or previous month from being displayed, maintaining a clean and concise view of the current month.
I’ll work on this and submit a pull request with the changes. Let me know if you have any suggestions or additional thoughts!
Thanks!
Please read the contribution guidelines:
- https://github.com/FossifyOrg/Calendar/blob/master/CONTRIBUTING.md
- https://github.com/FossifyOrg/General-Discussion#contribution-rules-for-developers
Before fixing a bug or adding a feature, make sure it is already reported in the repository, is open, and does not have the
needs triagelabel. If the issue is closed or still has needs triage label, your PR will likely be rejected. The only exception is for critical bugs that have not been classified yet.