# Possible bug - Copy in vicinity of Comment Box copies contents of box

**URL:** <https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294>\
**Category:** Questions & Answers\
**Tags:** drracket\
**Created:** [November 5, 2024, 2:30pm UTC](https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294 "2024-11-05T14:30:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToddOBryan](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/toddobryan/32/1962_2.png) [@ToddOBryan](https://racket.discourse.group/u/ToddOBryan)\
**Post date:** [November 5, 2024, 2:30pm UTC](https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294/1 "2024-11-05T14:30:53Z")

</div>

I've been using a lot of comment boxes in starter code for student assignments, and if you right click on code near the comment box and choose Copy, you often paste the contents from the comment box instead of the selected code.

This doesn't seem to happen if you use Ctrl+C mostly.

What's the easiest way of posting a video to show the problem?

---

<div class="post-metadata">

**Author:** ![ToddOBryan](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/toddobryan/32/1962_2.png) [@ToddOBryan](https://racket.discourse.group/u/ToddOBryan)\
**Post date:** [November 7, 2024, 2:01pm UTC](https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294/2 "2024-11-07T14:01:37Z")

</div>

Should I be posting this somewhere else? Do the devs monitor the discourse?

---

<div class="post-metadata">

**Author:** ![ToddOBryan](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/toddobryan/32/1962_2.png) [@ToddOBryan](https://racket.discourse.group/u/ToddOBryan)\
**Post date:** [November 7, 2024, 5:49pm UTC](https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294/3 "2024-11-07T17:49:49Z")

</div>

Just made an Issue on the DrRacket Github:

> <https://github.com/racket/drracket/issues/694>
>
> I've been using comment boxes in files for student assignments.
> 
> If you right-cl…ick and copy near a comment box, it seems to grab the contents of the comment box, not the selected text (video below).
> 
> Ctrl-C does seem to work.
> 
> https://drive.google.com/file/d/1hQwIv4CqqjjuJQrLnUKittQh0TtHFPBp/view?usp=sharing is a link to a video of the bug.

---

<div class="post-metadata">

**Author:** ![ToddOBryan](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/toddobryan/32/1962_2.png) [@ToddOBryan](https://racket.discourse.group/u/ToddOBryan)\
**Post date:** [November 28, 2024, 12:19am UTC](https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294/4 "2024-11-28T00:19:00Z")

</div>

Should have mentioned that @robby already fixed this.
