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 text with Ctrl+C #183

Open
geroldmeisinger opened this issue Jun 8, 2024 · 0 comments
Open

Copy text with Ctrl+C #183

geroldmeisinger opened this issue Jun 8, 2024 · 0 comments

Comments

@geroldmeisinger
Copy link
Contributor

geroldmeisinger commented Jun 8, 2024

Ctrl+C doesn't work when I select a text. when I open the context menu there are no keyboard shortcuts for most actions (there are a few though). the copy action works when selected from context menu. this is probably related how Qt interacts with the OS.
(Unfortunately I cannot take a screenshot when contextmenu is open o_O)

LLM:

In QPlainTextEdit, the default behavior should allow you to copy text with Ctrl+C without needing to add any extra code. However, if you want to explicitly handle the Ctrl+C event or ensure that the copy functionality works as expected, you can implement it in your application.
If you can't find any issues with your codebase, then it might be a
problem with the environment where you are running your application. Make
sure that you are using a supported environment and PySide6 version that
is compatible with your operating system.

another issue I noticed which is probably related to Qt: app doesn't snap to edge (Aero snap)

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

1 participant