onlook icon indicating copy to clipboard operation
onlook copied to clipboard

[bug] Screenshot needs to be of the most recently interacted frame

Open drfarrell opened this issue 4 months ago • 3 comments

Describe the bug

I have two frames on the page, one is dark and the other is light. The dark one I've been working on a lot, and yet when I "add a screenshot" it pulls a screenshot from the other frame. Image

Ideally this takes a screenshot of the workspace that I am working most recently in otherwise it doesn't make sense for the AI.

drfarrell avatar Aug 14 '25 01:08 drfarrell

/attempt: #2676

Raj-G07 avatar Aug 15 '25 15:08 Raj-G07

Will take up this issue. I actually ended up facing some other bug related to screenshotting which I'll try to fix on the same commit. (2 identical screenshots being taken lead to a base64 id conflict, which breaks the context array rendering)

reddygtvs avatar Aug 20 '25 15:08 reddygtvs

Nice thanks @reddygtvs !

Kitenite avatar Aug 21 '25 23:08 Kitenite