Qalculate / qalculate-gtk

Qalculate! GTK+ UI
https://qalculate.github.io/
GNU General Public License v2.0
946 stars 68 forks source link

[FR] Horizontal fractions #510

Open boromyr opened 8 months ago

boromyr commented 8 months ago

It would be a great step if in Qalculate fractions could be expressed in horizontal layout instead of the outdated single-line text input using / to divide. This, in addition to a better visualization of the input, would provide a significant speed of writing, eliminating the need to use parentheses on parentheses, and also a lower risk of errors due to incorrect or unnecessary parentheses. This is a feature present both in my physical Casio and in Android apps. For example, this could be how to display fractions in the future: image I am sure that this could be a novelty appreciated by any type of user.

hanna-kn commented 8 months ago

I agree that it would make the expression clearer, but I think that in many cases makes input less efficient (for simple numerators and denominators) and more complicated (it requires use of non-alphanumerical keys or pointing device the move out of numerator and denominator).

It would nevertheless be nice to provide it as an option. The problem is that it's quite complicated to implement.

boromyr commented 8 months ago

I don't think it complicates the input more than it simplifies it, you could just use tab, arrow keys or any other key, even customized, to navigate within the fraction, for example in Microsoft Math you can create your own fraction: image and complete it in: image I don't know how complicated it might be to implement, but Qalculate is able to display the results in mathematical format. image

tethragon commented 5 months ago

This feature request would be much appreciated by almost anyone. Many popular scientific calculators (physical calculators, web calculators and smartphone calculators) have this capability of "natural type". For a single developer I can see that this would be challenging/complicated. However, qalculate has far more and superior functions compared to most calculators out there. I wish there could be a way to implement this "natural type" to qalculate...

PS This feature has been requested by me at a previous time #463