WIP: Support for Remote Desktop Gateway
Needs ReviewPublic

Authored by scarpino on Jan 13 2018, 10:16 AM.

Details

Summary

FEATURE: 281071
Support for Remote Desktop Gateway

Since this PR adds 4 more input fields, I refactored the UI to use tabs instead of a "single-column" widget.

I mark this as WIP, because the password should be saved into KWallet if it's enabled.

Test Plan

built and tested

Diff Detail

Repository
R436 KRDC
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
scarpino requested review of this revision.Jan 13 2018, 10:16 AM
scarpino created this revision.
scarpino edited the summary of this revision. (Show Details)Jan 13 2018, 10:17 AM
scarpino edited the summary of this revision. (Show Details)
scarpino retitled this revision from Support for Remote Desktop Gateway to WIP: Support for Remote Desktop Gateway.Jan 13 2018, 10:20 AM
scarpino edited the summary of this revision. (Show Details)
ngraham edited the summary of this revision. (Show Details)Jan 13 2018, 3:48 PM

Thanks for your work! Code looks good after a first short look into it. Can you share a screenshot how it looks with the new tab widget?

rdp/rdppreferences.cpp
41

Why is this not required anymore?

rdp/rdppreferences.ui
686

Are you sure this and the following lines are not required anymore?

scarpino updated this revision to Diff 25555.Jan 17 2018, 7:20 PM

Re-add tabstops

scarpino marked an inline comment as done.Jan 17 2018, 7:20 PM
scarpino added inline comments.
rdp/rdppreferences.ui
686

Thanks, this is an error indeed and I also have to add my new entries

scarpino marked an inline comment as done.Jan 17 2018, 7:21 PM
scarpino marked an inline comment as done.
scarpino marked an inline comment as done.Jan 17 2018, 7:26 PM

New UI:

rdp/rdppreferences.cpp
41

I think this was an hack to display width/height fields properly under the resolution combobox.

scarpino marked an inline comment as done.Jan 17 2018, 7:26 PM
scarpino marked an inline comment as done.

Minor points I have noticed on screenshots:

  1. add : after labels (before input) to be consistent with other places
  2. probably explain at least once (e.g. in the tab title the full name for RD"?

Done:

BTW, I really don't know how to handle the RDpassword. I would like to store that into KWallet, but that is an 'host preference' for KRDC and the kwallet isn't accessible from that class. Should I implement it that way?

scarpino updated this revision to Diff 25563.Jan 17 2018, 8:05 PM

Fix labels

BTW, I really don't know how to handle the RDpassword. I would like to store that into KWallet, but that is an 'host preference' for KRDC and the kwallet isn't accessible from that class. Should I implement it that way?

Yes, saving the passwords is the (only) valid option for this case.

lueck resigned from this revision.May 21 2018, 8:49 PM

i am no developer