[opensource-dev] Review Request: Viewer cache UI improvements.

Log Linden log at lindenlab.com
Tue Jul 12 11:20:06 PDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/321/
-----------------------------------------------------------

(Updated July 12, 2011, 11:20 a.m.)


Review request for Viewer.


Changes
-------

Added relevant jira tickets.


Summary
-------

This is mostly a UI change in support of the viewer cache improvements I have been making. The XUI changes were mocked up and approved by Wolf.

* Moved viewer cache controls to the advanced tab of the preferences menu.
* Changed the cache size control to a spinner.
* Relabeled the reset button to "Default Location" to clarify the purpose.
* Readded a clear cache button.
* Increased the minimum cache size to 64MB and set the max to 9984MB.  The increment in the spinner is 64 and both the min, max and default are multiples of 64. Wolf suggested using a high 4 digit number to allow the 4 digit wide spinner text box to suggest the maximum size of the cache.


This addresses bugs ER-814, ER-818 and ER-831.
    http://jira.secondlife.com/browse/ER-814
    http://jira.secondlife.com/browse/ER-818
    http://jira.secondlife.com/browse/ER-831


Diffs
-----

  indra/newview/skins/default/xui/en/panel_preferences_advanced.xml 9c0506d10226 
  indra/newview/skins/default/xui/en/panel_preferences_setup.xml 9c0506d10226 
  indra/newview/skins/default/xui/en/notifications.xml 9c0506d10226 
  indra/newview/llappviewer.cpp 9c0506d10226 
  indra/newview/llfloaterpreference.h 9c0506d10226 
  indra/newview/llfloaterpreference.cpp 9c0506d10226 

Diff: http://codereview.secondlife.com/r/321/diff


Testing
-------

I have built and tested all three platforms.  I also tried switching between a viewer with a lower max or min.  The value in the settings.xml file will be automatically clamped during the cache initialisation.  On older viewers, when a user opens the settings tab with the cache size slider, it will jump to within the old bounds.  When the user click ok in that preferences menu, the clamped value is saved in the settings file.  In the new viewer with the spinner, the old out of bounds value will appear in the spinner until the user changes it. This won't have an effect on the value being used, because of the clamp during init. 


Thanks,

Log

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110712/7fbf1474/attachment-0001.htm 


More information about the opensource-dev mailing list