[Mouse Cursor KCM] Improve installation workflow
ClosedPublic

Authored by broulik on Apr 24 2018, 10:00 AM.

Details

Summary
  • Support drag and drop install
  • Open file dialog directly rather than opening a dialog with an input field and then having to click "Browse" again
  • Use inline message instead of message box for "you need to restart for changes to take effect" (if applying fails)
  • Port from deprecated KIO::NetAccess to using QTemporaryFile and make downloading async
Test Plan
  • Dragged a .tar.gz file from the store website into the

It seems many themes fail to install, zip doesn't work at all (it's using KTar) and even many .tar.gz themes fail. Needs further investigation. This patch is more about the UI part than the underlying install mechanism

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Apr 24 2018, 10:00 AM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 24 2018, 10:00 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Apr 24 2018, 10:00 AM
mart accepted this revision.Apr 24 2018, 10:02 AM
This revision is now accepted and ready to land.Apr 24 2018, 10:02 AM
broulik edited the summary of this revision. (Show Details)Apr 24 2018, 10:02 AM
broulik edited the test plan for this revision. (Show Details)
broulik added a reviewer: Plasma.
This revision was automatically updated to reflect the committed changes.