automatically take screenshots of all skins with a test profile in CI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
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.
Changed in mixxx: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Mixxx now uses GitHub for bug tracking. This bug has been migrated to: /github. com/mixxxdj/ mixxx/issues/ 9504
https:/