updating the login name does not always update the display name in the accounts-dialog
Submitted by Felix Kaser
Link to original bug (#628604)
Description
When you try to change the login name you would expect the display name to change as well. This is quite annoying with IRC accounts, since changing the nickname is quite common there and happens often. When the display name is not updated properly, it can happen that in the accounts dialog the account shows up as "foo on SomeNet" but in reality the nickname is foobar and thus the account name should be "foobar on SomeNet".
I couldnt find out in which cases this happens, but it looks like its a problem with the "display-name-overridden" flag in account-settings.
I fixed one issue in http://git.collabora.co.uk/?p=user/kaserf/empathy.git;a=shortlog;h=refs/heads/fix-account-name-update, but its still not working properly.
How to reproduce it (with my branch):
- open accounts dialog
- create a new account
- select AIM as protocol (just an example where it was reproducible here...)
- enter some account-details and hit the login button
- now change the login name (should update the display name properly)
- now select another account and reselect the fake account
- when you change the login name now, it does not update the display name
then:
- make sure the display name is the same as the login name
- close accounts dialog
- open accounts dialog again
- select the fake account
- changing the login name should update the display name properly now
Version: 2.31.x