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/paste with CPTextView only works with a main menu #2983

Open
daboe01 opened this issue May 31, 2021 · 5 comments
Open

copy/paste with CPTextView only works with a main menu #2983

daboe01 opened this issue May 31, 2021 · 5 comments

Comments

@daboe01
Copy link
Contributor

daboe01 commented May 31, 2021

you can see this e.g. in the manual test CPTextViewCibTest that does not have a main menu.

this limitation is not present in cocoa and is not obvious.

one solution could be to raise an exception if no main menu is installed.
another solution could be to add this to the documentation.
a third solution could be to always add the main menu on startup but hide it by default.

what do you think?

@cappbot cappbot added this to the Someday milestone May 31, 2021
@cappbot cappbot added the #new label May 31, 2021
@daboe01
Copy link
Contributor Author

daboe01 commented May 31, 2021

-#new
+TextView
+#needs-review

@cappbot
Copy link

cappbot commented May 31, 2021

Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue.

@cappbot
Copy link

cappbot commented May 31, 2021

Milestone: Someday. Labels: #needs-review, TextView. What's next? This issue is pending an architectural or implementation design decision and should be discussed or voted on.

@Abhie87
Copy link

Abhie87 commented Jun 2, 2021

Another observation related to CPTextView is that when CPTextView is in modal window at that time also the copy paste does not works, even though the main menu is there in the main window.

@daboe01
Copy link
Contributor Author

daboe01 commented Jun 2, 2021

Another observation related to CPTextView is that when CPTextView is in modal window at that time also the copy paste does not works, even though the main menu is there in the main window.

do your modal windows return YES from acceptsFirstResponder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants