Don't show twice message widgets
ClosedPublic

Authored by elvisangelaccio on Jul 5 2016, 8:15 PM.

Details

Summary

If we use a global message widget in Part, we don't need to create it and add
it to the layout every time. This implies that message widgets are not "appended"
anymore below the previous one.

Test Plan

Create a new archive twice (without adding files).

Diff Detail

Repository
R36 Ark
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
elvisangelaccio retitled this revision from to Don't show twice message widgets.
elvisangelaccio updated this object.
elvisangelaccio edited the test plan for this revision. (Show Details)
elvisangelaccio added a reviewer: rthomsen.
Restricted Application added a project: Ark. · View Herald TranscriptJul 5 2016, 8:15 PM
Restricted Application added a subscriber: kde-utils-devel. · View Herald Transcript
rthomsen edited edge metadata.Jul 6 2016, 4:31 PM

It would be nice to make the messagewidget disappear when the user adds a file. Can you implement this in the same diff?

It would be nice to make the messagewidget disappear when the user adds a file. Can you implement this in the same diff?

I was planning to do another diff, but I guess I can do it here as well.

elvisangelaccio edited edge metadata.
  • Hide message widget after adding files
rthomsen requested changes to this revision.Jul 8 2016, 2:46 PM
rthomsen edited edge metadata.

The KMessageWidget remains visible if the user opens another archive before adding any files.

This revision now requires changes to proceed.Jul 8 2016, 2:46 PM
elvisangelaccio edited edge metadata.
  • Also hide message widget when opening another archive
rthomsen accepted this revision.Jul 8 2016, 3:48 PM
rthomsen edited edge metadata.

Ship it! :)

This revision is now accepted and ready to land.Jul 8 2016, 3:48 PM
This revision was automatically updated to reflect the committed changes.