GTK Vs QT · Issue #11 · Qalculate/qalculate-qt - GitHub

Skip to content Dismiss alert {{ message }} / qalculate-qt Public
  • Notifications You must be signed in to change notification settings
  • Fork 43
  • Star 390
  • Code
  • Issues 40
  • Pull requests 1
  • Discussions
  • Actions
  • Projects
  • Security
  • Insights
Additional navigation options 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.

Sign up for GitHub

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

Jump to bottom GTK vs QT #11 Open ben2talk opened this issue Aug 24, 2021 · 19 comments Open GTK vs QT #11 ben2talk opened this issue Aug 24, 2021 · 19 comments

Comments

@ben2talk Copy link

ben2talk commented Aug 24, 2021

Doing some maths homework here, there are some issues.

#1 With the GTK history, I can select to REMOVE only one history item. With QT, I can only select all, or clear (all).

We need the options available in GTK.

#2 with GTK preferences>Numbers & Operators we can select Division and Multiplication signs. Under QT this is absent.

👀 1 goyalyashpal reacted with eyes emoji All reactions
  • 👀 1 reaction
@hanna-kn Copy link Contributor

hanna-kn commented Aug 25, 2021 edited Loading

I will add an option to use a middle dot ("⋅") as multiplication sign. The main reason the dot operator is not used by default is because of the better visibility of "×". It is also problematic that recommended dot operator Unicode symbol is not available in most fonts. A middle dot is however always used for output of unit expressions.

I'm not sure if it is a good idea to add the option to use ÷ as default division sign, and the division slash Unicode symbol ("∕") is often typographically problematic for user input (it is however used for output).

Handling of single history items is a bit trickier in the Qt version because of the use of a text widget instead of a list.

The initial Qt version does not include all planned features.

All reactions hanna-kn added a commit that referenced this issue Aug 26, 2021 @hanna-kn Option to use (middle) dot as multiplication sign (issue #11) b0b6531 hanna-kn added a commit that referenced this issue Aug 28, 2021 @hanna-kn Option to remove single result/expression from history (issue #11); I… 4886f89 …f there is no selection copy the result/expression at cursor; Ask the user for correct interpretation (once) when entering expression with ambiguous implicit multiplication hanna-kn added a commit that referenced this issue Sep 1, 2021 @hanna-kn Option to use regular slash character instead of Unicode division sla… f2966ea …sh (issue #11) @ddobrev Copy link

ddobrev commented Oct 25, 2021

I am out of words to describe this outstanding application. Not only constants but units too! This makes Qalculate a tool not just for maths but also physics and chemistry. Incredible as it sounds that this marvellous piece of software has problems, the first one described here does make work slower. I usually want to copy my result to another file and every time I have to either select (all), copy and paste everything and then delete all results but the one I need, or select (all), delete, run my command, then select and copy/paste. There are 2 separate problems I can see:

  1. There's no option to select just one result (the one right-clicked);
  2. There's no option to copy a result (the one right-clicked) directly without selection.

If necessary, I can report these as stand-alone. But in any case, please fix them because they require relatively little work for enormous gains.

All reactions @hanna-kn Copy link Contributor

hanna-kn commented Oct 25, 2021 edited Loading

  1. There's no option to select just one result (the one right-clicked)
  2. There's no option to copy a result (the one right-clicked) directly without selection.

(2) has been fixed in the latest version (3.21). Is see no need for (1) since all actions in the context menu now applies to the result under the pointer if there is no selection. (I do not understand why you need select all, it has always been possible to make a custom selection using the pointing device.)

Note that qalculate-qt is not currently not as mature qalculate-gtk.

All reactions @ddobrev Copy link

ddobrev commented Oct 25, 2021

It does work, brilliant! I would suggest to you, though, to consider my other request, for a DMG. If you had it along with a built-in updater, I wouldn't've had to bother you at all.

All reactions @ddobrev Copy link

ddobrev commented Oct 25, 2021

And less important: I can't actually select single items using my pointing device. Simply nothing happens if I (left-)click a row. Might be a bug in macOS only.

All reactions @hanna-kn Copy link Contributor

hanna-kn commented Oct 25, 2021 edited Loading

And less important: I can't actually select single items using my pointing device. Simply nothing happens if I (left-)click a row.

Notice that you have to (left-)click and drag the pointer (it is a text field and not a list).

Might be a bug in macOS only.

Unfortunately I'm unable to test the application on Mac OS.

All reactions @ddobrev Copy link

ddobrev commented Oct 27, 2021

Drag-selection does work, thank you.

All reactions @Ygarr Copy link

Ygarr commented Nov 19, 2021 edited Loading

FLTK would be better:)

👀 1 elcste reacted with eyes emoji All reactions
  • 👀 1 reaction
@funnym0nk3y Copy link

funnym0nk3y commented Dec 29, 2021

Is the Qt GUI intended to reach feature parity with the GTK GUI eventually?

❤️ 1 elcste reacted with heart emoji All reactions
  • ❤️ 1 reaction
@hanna-kn Copy link Contributor

hanna-kn commented Dec 30, 2021

Is the Qt GUI intended to reach feature parity with the GTK GUI eventually?

Yes. Although the functionality might be implemented differently. The main features currently missing (from my perspective) is configure keyboard shortcuts and customizable keypad. Is there any specific feature you're missing?

All reactions @funnym0nk3y Copy link

funnym0nk3y commented Dec 30, 2021

I haven't used the Qt version much, as I am way more comfortable with the GTK one. But I will try to comment on a few things:

  1. The keypad in the GTK version offers many more functions which makes usage more approachable, as I can see what is available. This is the main reason I dislike fully fledged CAS as it always requires a whole week of RTFM.
  2. The GTK version allows the usage with only the keyboard. But I think that is what you meant by keyboard shortcuts.
  3. There is a small row of text between the input and the result in the GTK version which displays the current settings (The famous calculation in degree instead of radian mistake).
  4. The most recent calculation is better emphasized in the GTK version due to being completely separate from the history.
  5. I think text instead of icons is more comprehensive which is closely related to get going quickly.
  6. I really like that the functions and constants are now in a separate window and not nested deeply in a menu structure.
  7. The Qt GUI starts way faster.
  8. There is a dark mode in Qt.
  9. Qt can be used better on touchscreens.
  10. The Qt version misses the date, vector and matrix insertion helpers.

Those are the things that caught my eye. Please mind they are very opionated.

All reactions @hanna-kn Copy link Contributor

hanna-kn commented Dec 30, 2021

1. The keypad in the GTK version offers many more functions which makes usage more approachable, as I can see what is available. This is the main reason I dislike fully fledged CAS as it always requires a whole week of RTFM.

This is definitely an area that I would like to improve in the Qt GUI. On the other hand I would prefer to steer users towards the completion functionality of the expression entry.

2. The GTK version allows the usage with only the keyboard. But I think that is what you meant by keyboard shortcuts.

There is no major difference in what can or cannot be done using the keyboard in the two GUI. The GTK version does however provide the possible to add your own keyboard shortcuts.

3. There is a small row of text between the input and the result in the GTK version which displays the current settings (The famous calculation in degree instead of radian mistake).

I decided not to add this to avoid clutter, and since the flat mode menu provides quicker access. In most cases the angle unit is displayed in the parsed expression.

4. The most recent calculation is better emphasized in the GTK version due to being completely separate from the history.

It was design decision to make the history more prominent. The most recent result is displayed with a bigger font size, but it is of course not comparable to the separate result display in the GTK GUI (which is however cumbersome for long results).

5. I think text instead of icons is more comprehensive which is closely related to get going quickly.

Text does however require a lot of space. I do however agree that the GTK version should generally be easier for new users.

6. I really like that the functions and constants are now in a separate window and not nested deeply in a menu structure.

The variables, functions, and units windows are also available in the GTK version (using the Edit menu, keypad buttons, or associated shortcuts)

10. The Qt version misses the date, vector and matrix insertion helpers.

They are available in the the context menu of the expression entry.

All reactions @montyx99 Copy link

montyx99 commented Jul 2, 2022

My main issue, there are no keypad handler buttons. Such as I've made it float by accident, and I cannot make it part of the main window again. Also I cannot hide/show the whole keypad.

All reactions @hanna-kn Copy link Contributor

hanna-kn commented Jul 3, 2022

My main issue, there are no keypad handler buttons. Such as I've made it float by accident, and I cannot make it part of the main window again.

Double-click the title bar of the keypad, or drag the the title bar of the floating keypad to the desired position (or, if not using Windows, press the button left of the x in the title bar keypad).

Also I cannot hide/show the whole keypad.

Press the keypad button (the rightmost of the left-aligned buttons) and select "None" or desired keypad variant, press the x button (upper right) of the keypad, (un)check "Keypad" in the context menu of the toolbar or the keypad title bar, or press Ctrl+K.

All reactions @gudvinr Copy link

gudvinr commented Aug 27, 2022 edited Loading

I detached keyboard but there is no way to attach it back to the window.

Also for some reason on KDE (which is Qt-native platform) qalculate looks different from other Qt apps. Buttons, selectors, etc have slightly different colors and shapes.

All reactions @hanna-kn Copy link Contributor

hanna-kn commented Aug 28, 2022

I detached keyboard but there is no way to attach it back to the window.

See my previous comment (press the button left of the x in the title bar keypad, double-click the title bar of the keypad, or drag the the title bar of the floating keypad to the desired position). I will probably add an option to restore the dock widget defaults in the next version.

Also for some reason on KDE (which is Qt-native platform) qalculate looks different from other Qt apps. Buttons, selectors, etc have slightly different colors and shapes.

Perhaps Qalculate is using Qt6 (without KDE themes support).

👍 1 Randdose reacted with thumbs up emoji All reactions
  • 👍 1 reaction
hanna-kn added a commit that referenced this issue Sep 2, 2022 @hanna-kn Add option (in keypad button menu) to reset keypad position (issue #11) 504c070 @yw4z Copy link

yw4z commented Sep 23, 2024

might be off topic but do you planning to release qt / gtk versions seperately. Current portable zip for windows has 150+ mb size . im sure only qt will drop below 50mb. btw qt version works better on windows but one feature is missing to simplify UI. hiding left keypad

All reactions @hanna-kn Copy link Contributor

hanna-kn commented Sep 24, 2024

might be off topic but do you planning to release qt / gtk versions seperately. Current portable zip for windows has 150+ mb size . im sure only qt will drop below 50mb.

I estimate that the size difference would be less than 20%.

but one feature is missing to simplify UI. hiding left keypad

In the upcoming version, when the right keypad is hidden, the number pad will be available as a separate keypad (the "Hide Number Pad" option is replaced by "Always Show Number Pad").

All reactions @yw4z Copy link

yw4z commented Sep 24, 2024

Thanks for your reply and effort on this. yes you right too many libraries used as common for qt and gtk. and one more thing, i like design but a bit heavy and 150mb a bit much for my use. i mostly use basic calculation, using history and conversion. any plans for making a minimal version with less features to making it more compact and faster launch. maybe making libraries / modules optional can be solution

All reactions Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Assignees No one assigned Labels None yet Projects None yet Milestone No milestone Development

No branches or pull requests

8 participants @gudvinr @ddobrev @ben2talk @Ygarr @montyx99 @hanna-kn @yw4z @funnym0nk3y You can’t perform that action at this time.

Từ khóa » Gtk Vs Qt