Summary: | can't input decimals without the leading 0 | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | medicinole |
Component: | general | Assignee: | Gabriel Barrantes <gabriel.barrantes.dev> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | abderrahman.najjar, adam, dom.jimmy, epp, eugene.savitsky, fanzhuyifan, gabriel.barrantes.dev, heitorm_silva, logan, logancowan, michael, miranda, net147, squallcatchall, stuart |
Priority: | HI | Keywords: | regression |
Version: | 24.05.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/kcalc/-/commit/90c2de1cd5046d740e6522b47bea24cf21d889fe | Version Fixed In: | 24.05.2 |
Sentry Crash Report: |
Description
medicinole
2024-05-28 00:16:42 UTC
Forgot to mention, there's also a bug now where if I type 20/.4 it gives me an input error where I must type as 20/0.4. It does this under all modes, basic, scientific etc. Apologies, it's EndeavourOS Plasma v. 6.0.5 The first issue is being tracked in BUG 487566, so I modified the title to be about the decimal point -- cannot input those as .xyz. *** Bug 487784 has been marked as a duplicate of this bug. *** First bad commit is https://invent.kde.org/utilities/kcalc/-/commit/c7864e9547b2ef2e9e318a88c78ba51f10fbc5e3 A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/91 *** Bug 488449 has been marked as a duplicate of this bug. *** Git commit 255f8a080656258433bf4108cfd31d8968af4392 by Gabriel Barrantes. Committed on 20/06/2024 at 20:17. Pushed by gabrielbarrantes into branch 'master'. Add support for decimal numbers without integer part Add parsing support for numbers without explicit integer part, this allows inputs of the form "[.,]d+", some examples are".1", ".5e10" and ".5+.5". M +6 -0 autotests/kcalc_parser_core_test.cpp M +3 -2 kcalc_parser.cpp https://invent.kde.org/utilities/kcalc/-/commit/255f8a080656258433bf4108cfd31d8968af4392 Git commit 90c2de1cd5046d740e6522b47bea24cf21d889fe by Gabriel Barrantes. Committed on 21/06/2024 at 18:45. Pushed by gabrielbarrantes into branch 'release/24.05'. Add support for decimal numbers without integer part Add parsing support for numbers without explicit integer part, this allows inputs of the form "[.,]d+", some examples are".1", ".5e10" and ".5+.5". M +24 -18 autotests/kcalc_parser_core_test.cpp M +3 -2 kcalc_parser.cpp https://invent.kde.org/utilities/kcalc/-/commit/90c2de1cd5046d740e6522b47bea24cf21d889fe *** Bug 488973 has been marked as a duplicate of this bug. *** *** Bug 489004 has been marked as a duplicate of this bug. *** In which released version was it fixed? Because, in version 24.05.1 it wasn't fixed. (In reply to Heitor da Silva from comment #12) > In which released version was it fixed? Because, in version 24.05.1 it > wasn't fixed. 24.05.2 There is not such a TAG 24.05.2, I wouldn't consider it released, and by consequence, nor resolved. (In reply to Heitor da Silva from comment #14) > There is not such a TAG 24.05.2, I wouldn't consider it released, and by > consequence, nor resolved. It will be fixed in the upcoming 24.05.2 release. If you don't want to wait for the release, you can grab the patch [0] yourself and compile a custom version. Please don't reopen this. [0]: https://invent.kde.org/utilities/kcalc/-/commit/90c2de1cd5046d740e6522b47bea24cf21d889fe *** Bug 489178 has been marked as a duplicate of this bug. *** *** Bug 489865 has been marked as a duplicate of this bug. *** *** Bug 490470 has been marked as a duplicate of this bug. *** (In reply to fanzhuyifan from comment #15) > (In reply to Heitor da Silva from comment #14) > > There is not such a TAG 24.05.2, I wouldn't consider it released, and by > > consequence, nor resolved. > > It will be fixed in the upcoming 24.05.2 release. If you don't want to wait > for the release, you can grab the patch [0] yourself and compile a custom > version. Please don't reopen this. > > [0]: > https://invent.kde.org/utilities/kcalc/-/commit/ > 90c2de1cd5046d740e6522b47bea24cf21d889fe I can't find 24.05.2, only version 1 is in the aur and trying to install via the terminal it only pulls up version 2. Do you know when the aur will be updated? Thanks (In reply to medicinole from comment #19) > (In reply to fanzhuyifan from comment #15) > > (In reply to Heitor da Silva from comment #14) > > > There is not such a TAG 24.05.2, I wouldn't consider it released, and by > > > consequence, nor resolved. > > > > It will be fixed in the upcoming 24.05.2 release. If you don't want to wait > > for the release, you can grab the patch [0] yourself and compile a custom > > version. Please don't reopen this. > > > > [0]: > > https://invent.kde.org/utilities/kcalc/-/commit/ > > 90c2de1cd5046d740e6522b47bea24cf21d889fe > > I can't find 24.05.2, only version 1 is in the aur and trying to install via > the terminal it only pulls up version 2. Do you know when the aur will be > updated? Thanks On terminal it only pulls up version 1* |