Include a new Internal Screenshot job
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Wishlist
|
Daniel Manrique |
Bug Description
When we created the external screenshot job (using an external USB webcam), we removed the one we had for Internal Screenshots:
plugin: shell
name: screenshot
requires:
package.name == 'xorg'
package.name == 'imagemagick'
command: import -window root ${CHECKBOX_
_description:
Captures a screenshot.
plugin: attachment
name: screenshot.png
depends: screenshot
command: cat ${CHECKBOX_
We would need to add back something similar to the checkbox provider, as it is an useful test for external testing.
Daniel comments:
"If we want to bring an "internal screenshot" test back, I'd suggest
looking at using something other than imagemagick, which sometimes was
unreliable. We can use gnome-screenshot, use the dbus
org.Gnome.
look into another option that may have better compatibility with
tablet/phone; maybe some qt-based thing."
Related branches
- Zygmunt Krynicki (community): Approve
-
Diff: 24 lines (+17/-0)1 file modifiedproviders/plainbox-provider-checkbox/jobs/graphics.txt.in (+17/-0)
Changed in plainbox-provider-checkbox: | |
importance: | Undecided → Wishlist |
description: | updated |
description: | updated |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
It took me 15 minutes (watch in hand) to write the proposed set of gnome-screensho t-based jobs which solve this requirement for desktop installations of Ubuntu; that way, if we need to refactor or outright trash and start anew, it won't be a lot of wasted work :)
- We can refine this to something using Qt that will also work on Ubuntu touch.
- I only do a simple screengrab. I can easily turn this into a generator to get a screenshot for each card, and either an attacher for each card or a global attachment processor to create a screenshots tarball.
But those two are more effort so I suggest looking at them if/when we think we'll need them.