KWidgetsAddons : more compact password dialog
ClosedPublic

Authored by rjvbb on Oct 23 2017, 4:14 PM.

Details

Summary

When kwalletd4 was replaced by kwalletd5 I quickly got annoyed by the so much and unnecessarily larger password dialog. This patch addresses that issues, maing the dialog comparably compact as it was under KDE4.

BUG: 381231

Test Plan

I've been using this patch since before summer, on Mac and Linux. I never encountered a password dialog that became unusable or looked wrong.

Screenshots attached to the bug report I filed about this (https://bugs.kde.org/show_bug.cgi?id=381231):

Before:

After (packed):

Diff Detail

Repository
R236 KWidgetsAddons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
rjvbb created this revision.Oct 23 2017, 4:14 PM
rjvbb added a comment.Oct 23 2017, 4:17 PM

Screenshots attached to the bug report I filed about this (https://bugs.kde.org/show_bug.cgi?id=381231):

Before:

After (packed):

Fantastic. Can you add the following onto its own line in the Summary section?

"BUG: 381231"

That will cause that bug to get automatically closed once this is merged.

cfeck added a subscriber: cfeck.Oct 23 2017, 4:51 PM
cfeck added inline comments.
src/kpassworddialog.ui
137

Is this change intended?

rjvbb added a comment.Oct 23 2017, 7:05 PM

Is this change intended?

I doubt that (it's been a while). Probably something Designer added, and I can't imagine it would have an impact on packing. I'll check.

Yeah, could you remove that and any other uynnecessary lines, so we have the bare minimum set of changes necessary to improve this?

Couple more changes, if you please:

  • Add the before-and-after screenshots to the Test Plan section so everyone who comes here sees them
  • Add "BUG: 381231" on its own line in the Summary section, which will make that bug get automatically closed once this is landed.
kfunk requested changes to this revision.Oct 24 2017, 9:24 PM
This revision now requires changes to proceed.Oct 24 2017, 9:24 PM
rjvbb updated this revision to Diff 21340.Oct 25 2017, 9:20 PM

patch cleaned up as requested.

rjvbb edited the summary of this revision. (Show Details)Oct 25 2017, 9:24 PM
rjvbb edited the test plan for this revision. (Show Details)
rjvbb set the repository for this revision to R236 KWidgetsAddons.
ngraham accepted this revision.Oct 25 2017, 9:25 PM

@kfunk, all good now?

kfunk accepted this revision.Oct 27 2017, 8:37 AM

Looks like it :)

This revision is now accepted and ready to land.Oct 27 2017, 8:37 AM

Go ahead and land this, @rjvbb! Nice work.

This revision was automatically updated to reflect the committed changes.