-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Keyboard Support Redo #246
base: main
Are you sure you want to change the base?
Conversation
If you're forwarding key events there's no reason to do all that manual key press handling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason you change the copy and paste logic? Is there maybe an issue we don't know about?
Yes because my entry is set to read only |
Since entry is now in read only mode .grab_focus () & etc is no longer needed;
Remove application_instance.set_accels_for_action (ACTION_PREFIX + ACTION_CLEAR, {"Escape"}); & let event control handle it or the escape button will not animate.
Since Gdk.Key.Return is user by default to trigger the selected UI element when navigating the UI with the arrow keys or the tab keys the equal button will never get pressed or fire, But instead the highlight button will be pressed so Gdk.Key.equal makes the most since
Let me test this out |
Can test my code just so I can make sure the nothing funny happening on my end? https://gitlab.gnome.org/GNOME/gnome-calculator/-/blob/master/src/math-display.vala#L124 |
…cked function - Exposing every single buttons like this isn't necessary & calling the for each button is a better idea EXP: activate_action(ACTION_INSERT, new GLib.Variant("s", "Character Gos Here")); is batter. The del calc button do not use glib actions Calling button_del_clicked(); & button_calc_clicked(); is nessary.
All the necessary have been made please review my code. |
Please be patient. You're not the only person waiting on me for a review :) |
#242