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

Weird clipboard glitch. #279

Open
JeremySpradlin opened this issue Mar 3, 2025 · 1 comment
Open

Weird clipboard glitch. #279

JeremySpradlin opened this issue Mar 3, 2025 · 1 comment
Labels
bug Something isn't working platform:macos

Comments

@JeremySpradlin
Copy link

I just ran into a very weird situation. So I was using Claude to build an iOS app. I had had XCode build and run the app on my phone, which I was simulatanekously using to check twitter.

I am uncertain of the exact events that caused this and will try to figure them out shortly, but I can tell you it involved some combination of the following actions -

XCode open and a previous build made and sent to the mobile device connected via usb 3 to my imac.

Claude Prompt: "Hello! I want to create an iOS app that uses the Anthropic API to help students and parents, and eventually teachers with schoolwork and tutoring. But first, we need to lay the foundation for users to make accounts and subscribe to advanced features via apple pay. Can you implement that framework please?"

"ContentView is giving the linter error: /Users/erbun/Dev/TapTutor/TapTutor/ContentView.swift:18:36 Type 'ModelContext' has no member 'autoupdatingReplica'
Can you look at that please?"

"Ok that cleared it up, but I did get a few build errors; In SubscriptionService I am getting
/Users/erbun/Dev/TapTutor/TapTutor/Services/SubscriptionService.swift:59:23 Initializer for conditional binding must have Optional type, not 'Transaction'
In SubscriptionView I'm getting 1: /Users/erbun/Dev/TapTutor/TapTutor/Views/SubscriptionViews/SubscriptionView.swift:176:16 Initializer for conditional
binding must have Optional type, not 'String'
2: /Users/erbun/Dev/TapTutor/TapTutor/Views/SubscriptionViews/SubscriptionView.swift:183:16 Initializer for conditional binding must have Optional type,
not 'String'"

"So the app builds and appears to load on my screen but all I see is a black blank screen. Should I see something else?"

Results: Initial prompt had a couple of linter errors. Shared them with claude and it cleaned them up. Then I got a few build errors when I initially tried building. Shared the file names with the build errros and claude cleaned them up (Seriously this app is fucking scary good).

After I sent the last prompt, about the black blank screen, shortly after a UI showed up, like the app wasn't broken, was just taking forecer to load. However I had already sent the prompt, and so I switched over to twitter to scroll while it did it's thing.

It's possible I swtiched accounts during this time. I'm pretty sure I did, but not 100%.

I did, however, look up a book on amazong on my computer, and then try and paste it in a reply to a mutual. What pasted was.... unexecpted.

** A comprehensive video can be provided for this, I am having trouble uploading it **

What you are seeing here is what happened hwne I tried to paste a link I had just copied from Amazon.com. The things I find most notable:

  • This is obvoulsy including at least some of my prompts and output from claude. It's like the claude stdout injected itself into my clipboard.
  • It has to be something involving the clipe board, as I had initiated the session with pasting a prompt in, but all the other prompts were non-pasted, and it's obvious that somehow the output of claude got a place in the clipboard so that when I copied a url from amazong for a book and then tried to paste it into my phone, which was still connected via usb and an open app that had been built and loaded by xcode by claude, suddently injected that output into twitter.
  • Another thing I found fascinating was how spazzy X was. For sure, that is a massive output to paste into a tweet, and so it probably breaks all sorts of things. What surprised me was how much ir broke things. You can see me in the video, but I am hitting buttons trying to delete, type, whatever I can do to get back to the feed.
  • It is notable that even with whatever was going on I was eventually, with enough impatience and tapping, got back to the feed, so it is likely just an issue with the clipboard but it is somehow obviously connected to Claude.
@ashwin-ant ashwin-ant added bug Something isn't working platform:macos labels Mar 3, 2025
@wolffiex
Copy link

wolffiex commented Mar 3, 2025

Can you let us know if you see this again? This is an isolated report, so it may be due to terminal settings or other unexpected system configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform:macos
Projects
None yet
Development

No branches or pull requests

3 participants