Details
-
Defect
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
Viewer 2.4.0, Viewer 2.7.1
-
None
-
None
-
Second Life 2.7.1 (232828) Jun 14 2011 00:25:50 (Second Life Release)
Release Notes
You are at 131782.0, 229250.0, 600.6 in FurNation Fusion located at sim4966.agni.lindenlab.com (216.82.21.174:13002)
Second Life Server 11.05.31.231546
Release Notes
CPU: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz (2801 MHz)
Memory: 3891 MB
OS Version: Linux 2.6.36-gentoo-r5 #4 SMP Thu Feb 10 03:06:00 CET 2011 x86_64
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: ATI Mobility Radeon HD 3400 Series
OpenGL Version: 3.3.10600 Compatibility Profile Context
libcurl Version: libcurl/7.21.1 OpenSSL/1.0.0d zlib/1.2.5 c-ares/1.7.1
J2C Decoder Version: KDU v6.4.1
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.11.753 / OpenAL Community / OpenAL Soft: ALSA Software
Qt Webkit Version: 4.7.1 (version number hard-coded)
Voice Server Version: Not Connected
Built with GCC version 40103
Packets Lost: 37/3080 (1.2%)Second Life 2.7.1 (232828) Jun 14 2011 00:25:50 (Second Life Release) Release Notes You are at 131782.0, 229250.0, 600.6 in FurNation Fusion located at sim4966.agni.lindenlab.com (216.82.21.174:13002) Second Life Server 11.05.31.231546 Release Notes CPU: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz (2801 MHz) Memory: 3891 MB OS Version: Linux 2.6.36-gentoo-r5 #4 SMP Thu Feb 10 03:06:00 CET 2011 x86_64 Graphics Card Vendor: ATI Technologies Inc. Graphics Card: ATI Mobility Radeon HD 3400 Series OpenGL Version: 3.3.10600 Compatibility Profile Context libcurl Version: libcurl/7.21.1 OpenSSL/1.0.0d zlib/1.2.5 c-ares/1.7.1 J2C Decoder Version: KDU v6.4.1 Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.11.753 / OpenAL Community / OpenAL Soft: ALSA Software Qt Webkit Version: 4.7.1 (version number hard-coded) Voice Server Version: Not Connected Built with GCC version 40103 Packets Lost: 37/3080 (1.2%)
-
Fixed - On Review
-
Code Review, Product Owner
-
-
Viewer - Viewer
Description
To reproduce
- Start the viewer from a terminal, or make the debug console visible after logging in
- Open the map e.g. by pressing Ctrl-m or by clicking the Map button (can be made visible from the bottom bar context menu)
Expected
- Map opens
- Debug console or terminal displays
INFO: openFloater: Opening floater worldmap
(and no warning)
Observed
- Map opens
- Debug console or terminal displays
INFO: openFloater: Opening floater worldmap
WARNING: getChild: Found child named "zoom slider" but of wrong type 12LLSliderCtrl, expecting P8LLSlider
Diagnosis
void LLFloaterWorldMap::adjustZoomSliderBounds() looks for a XUI element named "zoom slider" amongst the LLFloaterWorldMap's children but assumes the element is of (C++) type LLSlider. There is a child element named "zoom slider", but it is a slider XUI element, which gets mapped to C++ type LLSliderCtrl. Altough LLSliderCtrl is allegedly a decorator for LLSlider, it can't be casted to the latter, thus why we're seeing the warning message.
Possible solution
LLSliderCtrl::setMinValue(F32) does forward calls to LLSlider::setMinValue(F32), so requesting the child element as LLSliderCtrl should result in the intended behavior without causing a warning.