RLS should order the server list by placing the default server first

Bug #1045838 reported by David Barth
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Remote Login Service
Fix Released
Medium
Albert Astals Cid

Bug Description

When marking a server as 'default server', RLS doesn't order it to place it at the top of the list displayed by unity-greeter.

Note: one could argue that this could be a UCCS bug ;)

Related branches

Ted Gould (ted)
Changed in remote-login-service:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
assignee: nobody → Ted Gould (ted)
Revision history for this message
Albert Astals Cid (aacid) wrote :

As far as i remember the spec says they should be sorted alphabetically and what should happen with the "default server" is that once you put email/pass on the "Remote Login" entry the "focus" of the list gets moved to that server (and that is what the greeter does if the proper default_server info is passed up)

I think the bug here is that this bit of info is not being correctly propagated

Revision history for this message
Albert Astals Cid (aacid) wrote :

I'd say this needs fixes in UCCS too, since doing

echo $mypassword | thin-client-config-agent $myemail

returns

{
  "AdditionalManagementServers": [],
  "DefaultServer": "",
  "Name": "Landscape",
  "RemoteDesktopServers": [
    {
      "DomainRequired": false,
      "Name": "Some name",
      "Password": "b3c2hVmg",
      "Protocol": "rdp",
      "URL": $someurl,
      "Username": $somepwd,
      "WindowsDomain": ""
    },
    {
      "DomainRequired": false,
      "Name": "Some name 2",
      "Password": "blabla",
      "Protocol": "rdp",
      "URL": $someurl,
      "Username": $somepwd,
      "WindowsDomain": ""
    }
  ],
  "URL": "http://uccs.landscape.canonical.com/"
}

I.e. it does not say anywhere i selected the "Some name" server to be the default server

Revision history for this message
Albert Astals Cid (aacid) wrote :

Also causing the problem, it seems that r-l-s is ignoring the set_last_used_server calls

Ted Gould (ted)
Changed in remote-login-service:
assignee: Ted Gould (ted) → Albert Astals Cid (aacid)
status: Triaged → Fix Committed
Ted Gould (ted)
Changed in remote-login-service:
status: Fix Committed → Fix Released
milestone: none → 0.6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.