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

Bug #1801471 reported by RJ Skerry-Ryan
6
This bug affects 1 person
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.

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9504

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.