Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple result base #490

Open
TheNicker opened this issue Aug 21, 2023 · 9 comments
Open

Multiple result base #490

TheNicker opened this issue Aug 21, 2023 · 9 comments

Comments

@TheNicker
Copy link

TheNicker commented Aug 21, 2023

Currently the result base is only one of many to choose from: hex,dec,oct,bin, etc..
It would be very convenient to view a number in multiple bases simultaneously like windows calc when in programmer mode
image

@hanna-kn
Copy link
Contributor

Screenshot_20230822_162202 Screenshot_20230822_162558 Screenshot_20230822_162708

@TheNicker
Copy link
Author

TheNicker commented Aug 22, 2023

Hi @hanna-kn ,
First, thank you for this software, it helped me in my recent project.

I can see that you showcased the Qt version, and I also noticed that except libqalculate, the Qt and GTK versions are completely different.

I was using the GTK version, so by pressing CTRL+B, I got the number conversion window. However it is sepereated from the main window and doesn't update on-the-fly as in the Qt version

I have no problem running both the Qt and the GTK version under gnome, though ideally only one flavour should be used.
It seems like the GTK version is more popular and richer in features, so it'll be helpful to get the full featured multi result-base into it.

@hanna-kn
Copy link
Contributor

I mainly intended to show the multiple number bases displayed above the programming keypad (Ctrl+P), in the first screenshot. The number bases view in the Qt version is nicer, but I've not been able to design anything similar which fits the main window of the GTK version.

@TheNicker
Copy link
Author

I'm trying to understand the issue.
Is it a GTK technical issue or visual design decision that needs to take place, or else?

@hanna-kn
Copy link
Contributor

It is primarily a visual design issue.

@TheNicker
Copy link
Author

In these scenarios, personally I prefer functionality over aesthetics.

It's OK if it's not perfect, worst case it can be opted out by default

@hanna-kn
Copy link
Contributor

In these scenarios, personally I prefer functionality over aesthetics.

The programming keypad in qalculate-gtk provides the same functionality, if calculate-as-you-type is activated, but the visual design of the bases dock window in qalculate-qt improves the usability.

@TheNicker
Copy link
Author

The programming keypad in qalculate-gtk provides the same functionality

Last time I checked, "Number Bases" window doesn't update while typing even if "caluclate as you type" is activated.
It needs to be reopened or refreshed by CTRL+B

@hanna-kn
Copy link
Contributor

hanna-kn commented Aug 24, 2023

The programming keypad in qalculate-gtk provides the same functionality

Last time I checked, "Number Bases" window doesn't update while typing even if "caluclate as you type" is activated. It needs to be reopened or refreshed by CTRL+B

That is true, the number bases window does not update automatically when the main expression entry or result is updated (the number bases window were mainly intended for separate use).

I'm however referring to the alternative "programming" keypad in the main window, opened with Ctrl+P or the left-most button at the top of the keypad.

(I accidentally clicked the "Close with comment" button)

@hanna-kn hanna-kn reopened this Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants