Closed nick87720z closed 4 years ago
Not sure, what was wrong. I tried in qalc cli - approximate/exact, as well as set precision 20
(was 512). Now it's as neat as in qalculate-gtk. However, rofi-calc output seems to be little affected, yet bug doesn't appear where it should be, showing full output for sqrt(3)
. Same for super-long output for integrate example above. I'm leaving it if anyone else can reproduce problem.
I'm afraid I can't reproduce this even with your given example. Maybe it's some config or your qalc version? I'm on qalc 3.9.0
I'll close this as I still can't reproduce. Maybe check your qalc config at ~/.config/qalculate/qalc.cfg
if the problem persists. If you can show me how to reproduce this on a clean install, I'll try to fix it.
It seems, only first line from result output is printed. E.g., there is no problem with input like "4+5" or "(x-y)^2. But for "sqrt(3)" output is such:
rofi-calc showes only first line:
sqrt(3) = approx.
Would be better to show all lines before new prompt string.
Yet there is more complex output happens, e.g. with some recommendation (also I had cases in past when it told that unable to resolve something, but not it's hard to reproduce).
Example:
Could be great to have output/history in scrolled area. Though could be that it's rofi theming issue, where all widgets hierarchy is created along with styles.
Yet I think about way to preconfigure cli qalc for better output formatting. At least qalculate-gtk makes neat output.
Edit: using rofi-calc 1.6. It seems to be hard to reproduce.