Summary: | Scrolling to year -1 in the calendar applet crashes Plasma | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | Vojtěch Bartoň <gamingforyou875> |
Component: | components | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jack.lilhammers, nate, plasma-bugs, zrenfire |
Priority: | NOR | ||
Version: | 5.77.0 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/1cb14c21a9d2e8be066f764a3638ba324362ea67 | Version Fixed In: | 5.78 |
Sentry Crash Report: | |||
Attachments: | calendar applet |
Description
Vojtěch Bartoň
2020-12-12 21:04:00 UTC
How do you "Scroll past -50 in the applet"? Seems you discovered a feature I'm not aware of lol Created attachment 134145 [details]
calendar applet
(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. FIXED-IN: 5.78 M +8 -2 src/declarativeimports/calendar/calendar.cpp https://invent.kde.org/frameworks/plasma-framework/commit/1cb14c21a9d2e8be066f764a3638ba324362ea67 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 |