All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

Nearby chat history is displaying both Display Names and user.names when the Display Name is not changed from default.

Review Request #153 - Created Feb. 19, 2011 and submitted

ardy.lay Reviewers
viewer
VWR-24917
None viewer-development
https://jira.secondlife.com/browse/VWR-24917
I have been finding the redundent display of functionally equivalent names in nearby chat history and IM history quite tiresome.
Simple proposal: If the resident's Display Name is at the default then do not display their user.name.
https://bitbucket.org/ArdyLay/viewer-development-vwr-24917

Change is to: LLAvatarName::getCompleteName

I find the following Callers:
LLAvatarActions::requestFriendshipDialog
LLAvatarActions::startIM
LLAvatarActions::startCall
LLIMModel::LLIMSession
LLIMModel::logToFile
LLPostponedNotification::onAvatarNameCache
LLUrlEntryAgent::onAvatarNameCache
LLUrlEntryAgent::getLabel
LLUrlEntryAgentCompleteName::getName

// Callback for name resolution of a god/estate message
llviewermessage.cpp(2149): args["NAME"] = av_name.getCompleteName();
llviewermessage.cpp(2154): chat.mText = av_name.getCompleteName() + ": " + message;

static void on_avatar_name_cache_toast ...
llimview.cpp(108): args["FROM"] = av_name.getCompleteName();

Some of these make me wonder if this change will cause some defects and should be implimented as a seperate function.
I have been using this trivial change and have shared it with a friend, via bitbucket.  We have both built the viewer on Windows 7 and find the resulting reduction in redundent text in chat and IM history on screen to be very helpful.
Review request changed
Updated (March 4, 2011, 5:11 a.m.)
I edited my proposed change after considering the feedback provided by reviewers.  Thanks.
Diff updated.  Repository synced with viewer-development and diff applied.
Ship it!
Posted (March 4, 2011, 5:20 a.m.)

   

  
Ship it!
Posted (March 4, 2011, 12:32 p.m.)
Perfect :-)