Plasma crashes when you scroll past the year -50 in the calendar applet.
(IMPORTANT) Have Holidays or Astronomical events enabled.
STEPS TO REPRODUCE
1. Have Holidays/Astronomical events enabled in the applet settings
2. Scroll past -50 in the applet
Scroll past year -50.
Linux/KDE Plasma: Manjaro 20.2
(available in About System)
KDE Plasma Version: Plasma 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
I think there should be a limit as to how far you can scroll in the applet.
How do you "Scroll past -50 in the applet"? Seems you discovered a feature I'm not aware of lol
Created attachment 134145 [details]
(In reply to Nate Graham from comment #1)
> How do you "Scroll past -50 in the applet"? Seems you discovered a feature
> I'm not aware of lol
Oh yeah, I forgot to say "year" in the title. If you open the applet and click on the month twice, you will get into a decade view. Then just scroll far back with your mouse wheel.
Can reproduce. It crashes for me as soon as I get to -1.
Negative calendar years don't make sense. Will fix.
Git commit 1cb14c21a9d2e8be066f764a3638ba324362ea67 by Nate Graham.
Committed on 17/12/2020 at 17:10.
Pushed by ngraham into branch 'master'.
Don't allow negative calendar years
The concept is nonsensical and trying to display them crashes the
app displaying the calendar.
M +8 -2 src/declarativeimports/calendar/calendar.cpp
Well, negative years are dates before Christ. While I'm an atheist, those dates still make sense.
Of course I also think that hardly anyone will complain about this change :D
PS: I commented on your commit because I think that there's a little mistake