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

fix copy-paste shortcut on the phase-configuration panel #29

Open
pavoljuhas opened this issue Nov 27, 2017 · 5 comments
Open

fix copy-paste shortcut on the phase-configuration panel #29

pavoljuhas opened this issue Nov 27, 2017 · 5 comments
Assignees
Milestone

Comments

@pavoljuhas
Copy link
Member

The atom-list in the Phase Configuration panel has copy/paste functionality in the right-click context menu. The standard copy/paste shortcuts <ctrl-c>, <ctrl-v> however apply to the current phase node in the fit-tree even if it is the atom-list that is in focus.

Proposed solution: check what is in focus when handling the Copy / Paste shortcut keys.

@sbillinge
Copy link
Contributor

This may be related to #14 so perhaps they should be handled together @chiahaoliu @pavoljuhas ? It would also be good for @dragonyanglong to be looped in since he will be working on PDFgui2.0

@pavoljuhas
Copy link
Member Author

The descriptions are similar, but I think it is better to keep them as separate tasks. The "Phase Configuration" already has copy/paste functionality in, so this issue just needs a proper handling of shortcut keys. The Parameters page to my knowledge does not have copy/paste functions at all. I suggest Tim @chiahaoliu and I do this issue first and then proceed to #14.

@sbillinge
Copy link
Contributor

sbillinge commented Nov 29, 2017 via email

@pavoljuhas
Copy link
Member Author

@chiahaoliu - Happy New Year Tim! Was there any progress with this task?

I'd like to do a minor release soon so we can have other improvements (working bugreport) out in the Anaconda version.

@chiahaoliu
Copy link
Member

@pavoljuhas Happy new year!

Actually I briefly started looking into this issue but got confused somehow. Maybe you can help me with the context of this issue :)

I looked into the PhaseConfigurationPanel class and I found in the onKey method there is no clause to capture the <ctrl+c> and <ctrl+v> events. However, there is copy-paste method in the right-click event as you mentioned.

Would this be the origin of the problem? (since shortcut is not handled).

Thanks.

@sbillinge sbillinge added this to the v3.2.0 milestone Jan 2, 2025
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

3 participants