Bug #1364

Item infos are transfered for buff tooltip when not needed

Added by kaetemi almost 4 years ago. Updated over 3 years ago.

Status:Closed Start date:09/22/2011
Priority:Normal Due date:
Assignee:kaetemi % Done:

100%

Category:Client: General
Target version:Version 0.9.0

Description

The class CItemInfos is used to transfer detailed information of an item. It is intended for the detailed property view of an item.
By adding and IItemInfoWaiter to the interface manager, it will automatically request an item's detailed info from the server as soon as the properties on the waiter changed. When the detailed info arrives, a virtual function is called.

The function getContextHelp is used in many places, including the merchant sales list, to get a normal informational display string for sheets.
It is also used in the interface manager for the actual context help, also known as tooltips.

The buff info, that is the +HP etcetera bonus, an item info waiter was implemented in the getContextHelp function of the CDBCtrlSheet control.
This causes heavy network traffic, and thus major slowdowns, when a user loads a merchant sales list. Especially when items with long user texts are involved.

History

#1 Updated by kaetemi almost 4 years ago

  • Status changed from Assigned to Resolved
  • Target version set to Version 0.9.0
  • % Done changed from 0 to 100

#2 Updated by kaetemi over 3 years ago

Applied in changeset commit:6d55abcc7218.

#3 Updated by sfb over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF