# Usercards don't show shortnames when switched directly

**URL:** https://meta.discourse.org/t/usercards-dont-show-shortnames-when-switched-directly/29150
**Category:** Bug
**Tags:** user-card
**Created:** [22 במאי,‏ 2015,‏ 8:30pm UTC](https://meta.discourse.org/t/usercards-dont-show-shortnames-when-switched-directly/29150 "2015-05-22T20:30:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![anon42064797](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@anon42064797](https://meta.discourse.org/u/anon42064797)
#### Post date: [22 במאי,‏ 2015,‏ 8:30pm UTC](https://meta.discourse.org/t/usercards-dont-show-shortnames-when-switched-directly/29150/1 "2015-05-22T20:30:29Z")

</div>

Repro steps:

1. Click on someone’s avatar
2. Click on a different avatar

You’ll see a usercard without a shortname:  
 ![](https://global.discourse-cdn.com/meta/original/3X/4/8/480bf95fe4675ddce1e6bb3151f12900b08d41d9.png)

Same thing also applies to mention links et al.

This does _not_ happen when dismissing the first usercard before opening the second one.

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [23 במאי,‏ 2015,‏ 2:06am UTC](https://meta.discourse.org/t/usercards-dont-show-shortnames-when-switched-directly/29150/2 "2015-05-23T02:06:39Z")

</div>

Visual example of the username not displaying:  
 ![](https://global.discourse-cdn.com/meta/original/3X/5/9/5932fee9237934aa1bb337337f293a4c31dadee3.gif)

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [24 במאי,‏ 2015,‏ 5:33pm UTC](https://meta.discourse.org/t/usercards-dont-show-shortnames-when-switched-directly/29150/3 "2015-05-24T17:33:40Z")

</div>

My fault for not adding a property. Fix here:

[https://github.com/discourse/discourse/pull/3499](https://github.com/discourse/discourse/pull/3499)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [24 במאי,‏ 2015,‏ 5:41pm UTC](https://meta.discourse.org/t/usercards-dont-show-shortnames-when-switched-directly/29150/4 "2015-05-24T17:41:23Z")

</div>


