lp:~ahayzen/ubuntu-ui-extras/printer-added-ensure-proxy-printer
- Get this branch:
- bzr branch lp:~ahayzen/ubuntu-ui-extras/printer-added-ensure-proxy-printer
Branch merges
- Jonas G. Drange (community): Approve
-
Diff: 45 lines (+15/-11)1 file modifiedmodules/Ubuntu/Components/Extras/Printers/models/printermodel.cpp (+15/-11)
Branch information
Recent revisions
- 152. By Andrew Hayzen
-
* If printerAdded is called ensure there is always a proxy printer
* Update printerLoaded to use getPrinterByName to improve DRY - 151. By Andrew Hayzen
-
* Remove PrinterQueue.qml example and add missing job methods to Printers.qml example, so we have only one example
- 150. By Jonas G. Drange
-
improves the deviceName by dropping the CMD (note that the full string remains accessible from device.id)
- 149. By Andrew Hayzen
-
* Connect job-impressions
-completed from cups to PrinterJob: :impressionsCom pleted( )
* In the job model listen to printerStateChanged as changes t job-impressions-completed causes that signal
* Improve the PrinterSignalHandler to limit the maximum wait time of unprocessed signals to four times the timeout
* Add unit test for SignalRateLimiter to check it does perform a flush
* Rename PrinterSignalHandler to SignalRateLimiter - 148. By Andrew Hayzen
-
* Add a JobLoader for loading a specific jobId for a printer and loading the extended attributes
* Move the loading of creationTime, completedTime, processingTime, size and user to extended attributes as signals don't give us those
* Add method for PrinterBackend for getting a specific job
* Split up JobModel::update so there is jobCreated, jobState and jobCompleted which then call addJob, removeJob and updateJob
* Improve Printer::updateFrom to not call loadAttributes as this results in a possible UI block
* Add missing comparisions for PrinterJob deepCompare and updateFrom
* Change PrinterJob::setPrinter to not call loadDefaults and instead explicitly call it
* Change Printers to trigger requestJobExtendedAttributes which triggers a background thread rather than doing in foreground - 146. By Jonas G. Drange
-
includes cups/adminutils.h into which the cups device callback was moved in >= libcups2-dev 2.2.2
- 144. By Andrew Hayzen
-
* Add filters for active, paused and queued
* Add sorting by creationTime and then falling back to id
* Change time related roles in JobModel to return QDateTime, not QString, so sorting doesn't break
* Update tests - 143. By Andrew Hayzen
-
* Change printerGetJobAt
tributes to use printer-uri and job-id (the same as holdJob and releaseJob
* Give printerGetJobAttributes printerName so we can ensure we get the correct job
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-ui-extras