GNOME Bugzilla – Bug 748729
small problem with base change on log
Last modified: 2016-09-19 19:31:32 UTC
This was filed downstream (against 3.8.x in RHEL 7.0, but still applies): Description of problem: When press the [log] button, gcalctool enters the white space automatically right after "log". If I press the button to write subscript after it, gcalctool automatically removes the space, but when I use the Alt key to do it, gcalctool doesn't remove the the space automatically. This causes the "Malformed expression" error. Version-Release number of selected component (if applicable): gcalctool-6.4.2.1-1.fc17.i686 How reproducible: 100% Steps to Reproduce: 1. Press button [log] 2. Hold Alt and press 2 on HW keyboard 3. Release Alt and press e.g. 512 4. Confirm Actual results: Malformed expression Expected results: 9
This bug is still relevant with gnome-calculator-3.21.90-1.fc25.x86_64 of Fedora 25.
Created attachment 335825 [details] [review] Fix base change for log, fixes #748729 https://bugzilla.gnome.org/show_bug.cgi?id=748729 Ported the behaviour of the superscript/subscript toggle of removing trailing spaces if no selection to the keyboard-only superscript/subscript entry using modifiers.
Review of attachment 335825 [details] [review]: Looks great!