tolgee / tolgee-js

Tolgee JavaScript libraries monorepo
https://tolgee.io
MIT License
218 stars 24 forks source link

Screenshots taken may not work #3295

Closed paulwer closed 4 months ago

paulwer commented 4 months ago

hey everyone, when taking screenshots from the ui, the modal is hidden and reapprears, but no screenshot was taken. Console Output: Didn't recieve TOLGEE_SCREENSHOT_TAKEN in time. useGalery.ts:108

Anything I can do?

stepan662 commented 4 months ago

Hmm, weird, do you have Tolgee Tools chrome plugin installed?

paulwer commented 4 months ago

Yes I do, and I have fixed it. I reinstalled the extension and it worked again.

Before reinstalling the extension shows the message this website does not use tolgee.

I dont know the reason for the issue in the first place :)

stepan662 commented 4 months ago

Chrome is restricting plugins a bit more, so maybe it was somehow connected. We've needed to rewrite it a bit recently, so maybe the old version is not working properly already.

paulwer commented 4 months ago

after refreshing the page like twice, it doesnt get reconized again :(

I am using edge btw

stepan662 commented 4 months ago

Hmm, I haven't tested it in Edge before. But it seems working even after multiple refreshes. Do you have some reliable way to reproduce? Also you are using windows or mac?

paulwer commented 4 months ago

I am using windows. Sadly no I cannot give a reliable way to reproduce. I also discovered, that when the screenshot was taken and is display in the bottom, it results in a img-not loaded item, which also cannot be uploaded to tolgee.

image

Edit: same issue on chrome btw too.

stepan662 commented 4 months ago

What do you mean by "that when the screenshot was taken and is display in the bottom"?

paulwer commented 4 months ago

when the screenshot was taken it would be shown in the modal at the end in section screenshots, before saving it. By clicking on it, it would be displayed as above. (when not the error from above was in output => Didn't recieve TOLGEE_SCREENSHOT_TAKEN in time. useGalery.ts:108)

stepan662 commented 4 months ago

Hmm, I'd need some way how to replicate this error. I'll try it out on windows in edge, but without replication, it's really hard to do anything about this.

paulwer commented 4 months ago

if you want, we could meet up, if you want me to show you our setup. if that helps.

Could this anything have to do with vite, because we use this?

What do you need from me?

stepan662 commented 4 months ago

I'll write you on community slack.