🪰 Viewer Bug Reports

• Use concise, precise descriptions• Do not include sensitive information. • Create a support ticket at https://support.secondlife.com for individual account issues or sensitive information.
Crash to Desktop when containing object is destroyed while renaming inventory item
Rez any prim/object in-world. Place a script inside the object that calls llDie() after a short timer, Set the object temporary, or simply have another user delete the object when instructed to do so. Add any second inventory item into the object (e.g., a notecard, landmark, or script). Right-click the item in the contents tab and select Rename so the inline text edit field is active with keyboard focus. While the text editor still has focus and there is a pending change to the name, trigger the destruction of the object. Observed Result: The viewer crashes to desktop immediately. Expected Result: The rename operation should abort cleanly without crashing the viewer. Suspected cause: The rename isn't canceled when the object is destroyed: When the containing object dies, LLPanelObjectInventory::clearContents() queues the scroller for deletion (die()) and sets mFolders = NULL. However, it never cancels the active rename or drops keyboard focus from the text field (mRenamer). When LLMortician cleans up the views on the next pass, LLFolderView::~LLFolderView() runs first and sets mViewModel = NULL. As the base destructors finish tearing down the view hierarchy, focus is finally stripped from mRenamer. Because the field is set to commit on focus loss, it tries to finish the rename and calls arrange(). Inside arrange(), it calls getFolderViewModel()->sort(this). Since mViewModel was already cleared in step 2, this immediately blows up with a null-pointer dereference (0xC0000005). Fix: The fix is to cleanly cancel the rename and drop focus before destroying the views, rather than letting focus loss trigger a commit during teardown. Add cancelRenaming() to LLFolderView : Disables commit_on_focus_lost , removes the popup, and cleanly releases focus. Cancel renaming during cleanup: Call cancelRenaming() in ~LLFolderView() , deleteAllChildren() , and LLPanelObjectInventory::clearContents() . Add null checks: Guard against a null mViewModel in commitRename() and finishRenamingItem() so arrange() won't attempt to sort a destroyed view. I've created and tested a working fix here as an example https://github.com/soapyf/slviewer/commit/9e7da4917065b857cca6f1954721dcce8e5b2fd7 And I have also submit it as a PR https://github.com/secondlife/viewer/pull/6321
2
Ā·
SL Viewer
Ā·
tracked
Duplicate `name` attributes on sibling nodes with the same tag name in XML files within `xui\en`
In the XML files located in the /indra/newview/skins/default/xui/en folder on the 2026-09-13 develop branch, there are four instances where sibling nodes with the same tag name have the same name attribute value. Since this hinders localization, please change them to appropriate names. floater_model_preview.xml ## 983: There are two <text name="quality_label"> elements inside <panel name="physics analysis vhacd"> 1013: <text name="quality_label">Resolution:</text> 2022: <text name="quality_label">Hulls per Mesh:</text> This node is not currently used on Windows, so it could not be tested menu_viewer.xml ## 2143: There are two <menu_item_check name="Rendering Type Glow"> elements inside <menu name="Rendering Types"> 2189: <menu_item_check label="Glow" name="Rendering Type Glow"> 2199: <menu_item_check label="Fullbright" name="Rendering Type Glow"> ## 2841: There are two <menu_item_call name="Force LLError And Crash"> elements inside <menu name="Force Errors"> 2853: <menu_item_call label="Force LLError And Crash" name="Force LLError And Crash"> 2859: <menu_item_call label="Force LLError, Message And Crash" name="Force LLError And Crash"> mime_types.xml 2: There are two <mimetype name="application/octet-stream"> elements inside <mimetypes name="default">. 312: <mimetype name="application/octet-stream"> <label name="application/octet-stream_label">Stream</label> <widgettype>movie</widgettype> <impl>media_plugin_libvlc</impl> </mimetype> 499: <mimetype name="application/octet-stream"> <label name="video/octet-stream">Movie</label> <widgettype>movie</widgettype> <impl>media_plugin_libvlc</impl> </mimetype> Each child has a label element, but the name attribute is set to application/octet-stream_label or video/octet-stream , and the text nodes within them contain strings that should be translated.
2
Ā·
SL Viewer
Ā·
tracked
Load More
→