[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 Gabriel Barrantes changed: What|Removed |Added Latest Commit|https://invent.kde.org/util |https://invent.kde.org/neon |ities/kcalc/-/commit/511857 |/snap-packaging/kcalc6/-/co |0f6f8785ff8f7b471938bbf7b47 |mmit/5118570f6f8785ff8f7b47 |84a79ce |1938bbf7b4784a79ce --- Comment #9 from Gabriel Barrantes --- Git commit 5118570f6f8785ff8f7b471938bbf7b4784a79ce by Gabriel Barrantes. Committed on 07/05/2024 at 14:45. Pushed by carlosdem into branch 'master'. Show result while editing input Show result while editing input without the need to press the equal button, if the input reaches an invalid state (non computable) during editing, result will be cleared or not depending on the error, inputs that fail to be parsed like "1+#" trigger a result clear, inputs that yield a math error like "1/0" also clear the result, however intermediate inputs like "1+2+" will keep the "3" in the result display. If the user attempts to commit an invalid input using the equal button, an error message will appear as previously implemented. Changing the base mode or the trigonometric mode also triggers a result recalculation and update. A backspace signal clears the result display if the input reaches an invalid state regardless of the error type. Results are not committed to history unless the equal button is pressed. Change default result display to be empty instead of "0", it will also be empty if the input goes back to empty. M +57 -14 kcalc.cpp M +4-1kcalc.h M +30 -16 kcalc_core.cpp M +12 -3kcalc_core.h M +10 -3kcalc_display.cpp https://invent.kde.org/neon/snap-packaging/kcalc6/-/commit/5118570f6f8785ff8f7b471938bbf7b4784a79ce -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 Gabriel Barrantes changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Latest Commit||https://invent.kde.org/util ||ities/kcalc/-/commit/511857 ||0f6f8785ff8f7b471938bbf7b47 ||84a79ce --- Comment #8 from Gabriel Barrantes --- Git commit 5118570f6f8785ff8f7b471938bbf7b4784a79ce by Gabriel Barrantes. Committed on 07/05/2024 at 14:45. Pushed by carlschwan into branch 'master'. Show result while editing input Show result while editing input without the need to press the equal button, if the input reaches an invalid state (non computable) during editing, result will be cleared or not depending on the error, inputs that fail to be parsed like "1+#" trigger a result clear, inputs that yield a math error like "1/0" also clear the result, however intermediate inputs like "1+2+" will keep the "3" in the result display. If the user attempts to commit an invalid input using the equal button, an error message will appear as previously implemented. Changing the base mode or the trigonometric mode also triggers a result recalculation and update. A backspace signal clears the result display if the input reaches an invalid state regardless of the error type. Results are not committed to history unless the equal button is pressed. Change default result display to be empty instead of "0", it will also be empty if the input goes back to empty. M +57 -14 kcalc.cpp M +4-1kcalc.h M +30 -16 kcalc_core.cpp M +12 -3kcalc_core.h M +10 -3kcalc_display.cpp https://invent.kde.org/utilities/kcalc/-/commit/5118570f6f8785ff8f7b471938bbf7b4784a79ce -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 --- Comment #7 from ezh --- In Neon Unstable I do not see the change. KCalc Version 24.04.70 -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 --- Comment #6 from ezh --- How can I do that? I'm not a programmer, nor a power user on Linux. -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 --- Comment #5 from Gabriel Barrantes --- (In reply to ezh from comment #3) > Created attachment 167602 [details] > Step-by-step different situations > > Step-by-step different situations with Advanced Calculator (a year 1999 > Windows program). > I may share it if needed, it is a freeware. Feel free to give it a try and provide any relevant feedback. -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 Bug Janitor Service changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #4 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/84 -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 Gabriel Barrantes changed: What|Removed |Added Status|REPORTED|CONFIRMED Assignee|ete...@alum.rit.edu |gabriel.barrantes.dev@outlo ||ok.com Ever confirmed|0 |1 -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 --- Comment #3 from ezh --- Created attachment 167602 --> https://bugs.kde.org/attachment.cgi?id=167602=edit Step-by-step different situations Step-by-step different situations with Advanced Calculator (a year 1999 Windows program). I may share it if needed, it is a freeware. -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 --- Comment #2 from ezh --- (In reply to Gabriel Barrantes from comment #1) > This would actually be a simple change, however I think it would be better > to just clear the result while editing the input, seems more consistent... > Because if an invalid input is reached while editing, then the result will > disappear and then appear once the input becomes valid again. I'm using for 24 years this Windows calculator. It changes the result on the fly: you add a value and it would immediately counted in the result, no need to press anything else. If you get an error (dividing to 0), then to result is shown, if you press enter, then you will get the "error" message. -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 --- Comment #1 from Gabriel Barrantes --- (In reply to ezh from comment #0) > In bug 470371 was the feature editing the formula added. > > Now when you edit the formula you have to press Enter to see the changed > result. > > I would suggest the counting would automatically go without pressing Enter, > on the fly. > When you enter 3+3 the result immediately shows 6, when you change to 3+33 > the result immediately shows 36. This would actually be a simple change, however I think it would be better to just clear the result while editing the input, seems more consistent... Because if an invalid input is reached while editing, then the result will disappear and then appear once the input becomes valid again. -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 Bug Janitor Service changed: What|Removed |Added Severity|normal |wishlist -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 ezh changed: What|Removed |Added CC||c...@carlschwan.eu -- You are receiving this mail because: You are watching all bug changes.
[kcalc] [Bug 480607] Feature request: count the result on the fly
https://bugs.kde.org/show_bug.cgi?id=480607 ezh changed: What|Removed |Added CC||gabriel.barrantes.dev@outlo ||ok.com -- You are receiving this mail because: You are watching all bug changes.