Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Jan 17, 2025

And keep option to set it to old for QUARTO_CHROMIUM specified version

This is a quick fix so that our current pre-release version do work with chrome past and present.

This will use the default --headless mode available on the chrome binary used. Starting with chrome 112, it means this will be new headless mode (https://developer.chrome.com/docs/chromium/headless)

chrome headless shell can also be set with QUARTO_CHROMIUM and will work with this

This is the easist fix for now, and it seems to work for me (which new headless had problem on Windows before).

I think the safest for Quarto will be to allow installing chrome-headless-mode and use that.

And keep option to set it to old for QUARTO_CHROMIUM specified version
@cscheid cscheid merged commit c504fc8 into main Jan 17, 2025
47 checks passed
@cscheid cscheid deleted the chrome-headless branch January 17, 2025 14:43
@cderv cderv linked an issue Jan 17, 2025 that may be closed by this pull request
@cderv
Copy link
Collaborator Author

cderv commented Feb 11, 2025

@cscheid it seems this is impacted a number of users using 1.6.40

and current fix is to make them install latest 1.7

I am thinking of backporting this change - it does not seem to much trouble as this is just a change of default to adapt to newer chrome.

would that be ok for you ?

(and we should make a patch release for february as there are other backport there already)

cderv added a commit that referenced this pull request Feb 13, 2025
chrome - change back to `--headless` as default.

This should prevent further problem with recent Chrome and current Quarto 1.6 release
cderv added a commit that referenced this pull request Feb 13, 2025
chrome - change back to `--headless` as default.

This should prevent further problem with recent Chrome and current Quarto 1.6 release
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.

Transition to Chrome new headless mode

3 participants