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

Copy disabled in new version of ttkDesigner==0.37.0a36 #221

Closed
smartkid2024 opened this issue Jan 24, 2024 · 5 comments · Fixed by #223
Closed

Copy disabled in new version of ttkDesigner==0.37.0a36 #221

smartkid2024 opened this issue Jan 24, 2024 · 5 comments · Fixed by #223
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@smartkid2024
Copy link

Also ctrl+c Ctrl+Shift+C doesn't work anymore
In Terminal:
image

Copy disabled in new version of ttkDesigner==0.37.0a36:
image

@ceccopierangiolieugenio
Copy link
Owner

ceccopierangiolieugenio commented Jan 24, 2024

ttkDesigner use pyperclip to supposrt the copy and paste with the system clipboard.
those should be accessed using:
CTRL+C , CTRL+V
The Gnome Terminal "Edit" menu cannot be linked to any actions performed in the terminal,
It works only if you select something in the terminal when the mouse is not captured.
So it should not works when any pyTermTk app is running.
You said it was working before?

The Paste instead,use a paste mode that can be detected by the app (so, it should works)

Try to check if "CTRL+C" - "CTRL-V" are working
note:
in the linux style, a simple selection copy the content automatically in the clipboard
so if you are trying to substitute some text remember that selecting the text to be substituted override it in the clipboard.

@ceccopierangiolieugenio ceccopierangiolieugenio added the question Further information is requested label Jan 24, 2024
@smartkid2024
Copy link
Author

I tried middle click as you mentioned to copy paste I tried Ctrl+C Ctrl+Shift+C none of them worked
And I found out it doesn't work on here:
image

but Ctrl+C works here:
image

@ceccopierangiolieugenio
Copy link
Owner

I need to doublecheck the lineedit widget
I suspect that the clipboard support is no more working (or I never implemented it)

@ceccopierangiolieugenio ceccopierangiolieugenio added the bug Something isn't working label Jan 24, 2024
@ceccopierangiolieugenio
Copy link
Owner

Yes, the CTRL-C, CTRL-V are not implemented
The SHIFT-CTRL-V should works or the terminal "paste"
I will fix this soon

ceccopierangiolieugenio added a commit that referenced this issue Jan 24, 2024
…d-in-new-version-of-ttkdesigner

FIX: #221 Add clipboard support in the lineedit
@ceccopierangiolieugenio
Copy link
Owner

if you upgrade pyTermtk to the version 0.37.0a40
pip3 install --upgrade pyTermTk
the problem should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants