jhc13 / taggui

Tag manager and captioner for image datasets
GNU General Public License v3.0
495 stars 26 forks source link

Copy text with Ctrl+C #183

Open geroldmeisinger opened 1 month ago

geroldmeisinger commented 1 month ago

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)