Skip to content

Refactor and migrate many features components to QML KCM

Mike Noe requested to merge work/kcm4release into master

RFC for the flow/UX.

@teams/vdg

  • Basic configure printer should work. Printers and classes can be added as well.
  • Printer driver(make/model) selection is migrated to QML
  • Printer member selection for Classes is migrated to QML
  • Cards based main view, ported away from Kirigami::BasicListItem/CardsListView

Known Issues/Other: Cancelling a transaction during auth is not robust (master is the same, if not worse). I have some ideas to make this more robust, but for a later MR !78 (merged)

Todos:

  • QML code clean up (remove debug prints, etc.)
  • Fix connecting to a remote printer is not robust
  • Migrate DriverMatch feature found in the widget app config
  • Migrate auto-configure (copied from widget app)
  • Enable widget apps {add,configure} from KCM

These items are for future MRs

  • Support connections to Windows Samba printers (currently not functional?)
  • Support connections to Serial printer devices

depends: !72 (merged) !74 (merged)

re: #5 (closed)

Testing: flow/UX: See new visuals below. To see current visuals/whatnot, you can just goto systemsettings/printers.

https://github.com/OpenPrinting/system-config-printer is required for the Redhat grouping and driver matching to work properly.

I do not know how to test remote printers.

KCM Main View pm_main

Config Print Server Settings pm_configserver

Find a new Printer, Discovered pm_detected

Find a new Printer, Manual Config pm_manual

Select Make/Model pm_makemodel

Add Printer pm_addprinter

Add Printer Class pm_addclass

Edited by Mike Noe

Merge request reports

Loading