Skip to content

fix download of screenshots not working because the last Chrome window closes the popup#7

Open
StefanTirea wants to merge 2 commits into
HamzaEzzRa:mainfrom
StefanTirea:private/fix-screenshots-not-downloaded
Open

fix download of screenshots not working because the last Chrome window closes the popup#7
StefanTirea wants to merge 2 commits into
HamzaEzzRa:mainfrom
StefanTirea:private/fix-screenshots-not-downloaded

Conversation

@StefanTirea

Copy link
Copy Markdown

Hi, this would be a quick and dirty fix for the issue described in #6.
The chrome extension popup is closed when the last chrome window is closed. My fix moves closing the window at the end when the whole capture process is completed (as a workaround).

It would be better to move all the window capture + processing logic into a service worker (background worker) to better prevent this issue from happening.

@StefanTirea StefanTirea force-pushed the private/fix-screenshots-not-downloaded branch from 7f592d7 to b768acb Compare September 3, 2025 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant