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

automatically take screenshots of all skins with a test profile in CI #9504

Open
mixxxbot opened this issue Aug 23, 2022 · 0 comments
Open

Comments

@mixxxbot
Copy link
Collaborator

Reported by: rryan
Date: 2018-11-03T05:39:05Z
Status: Confirmed
Importance: Wishlist
Launchpad Issue: lp1801471


It would make reviewing skin PRs easier if CI automatically computed screenshots of all the bundled skins. Even better if we had a GitHub bot that commented on the PR with the images embedded.

We'd need a test profile checked into the codebase that the skins could be computed with -- maybe with some fake tracks in the sqlite database. Also, we'd need to avoid any popups that block the boot process (e.g. the soundmanager "no device" warning).

We could try to wire something together with xvfb and a timer, but this will likely hit the launchimage screen sometimes. I'm thinking Mixxx could have a "screenshot" mode where you start it like:

./mixxx --skin LateNight --screenshot LateNight.png --settingsPath ./testProfile

And it starts up, renders the QMainWindow to a png, then shuts down.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant