secondlife / secondlife/viewer

MOAP/media surface selection highlights render intrusive mesh/face outlines outside Build/Edit mode

Open
#5,787 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Summary:

When left-clicking a media-on-a-prim (MOAP) surface outside Build/Edit mode, the viewer displays selection-highlighted geometry, including face/vertex/mesh outlines. On some mesh media surfaces, this creates dense visible lines over the media itself, making the media interface difficult to see or use.

This appears to be tied to the general selection highlighting behaviour. Disabling RenderHighlightSelections / “Enable highlighting” hides the outlines, but that also removes useful selection highlighting while building, so it is not a practical workaround.

Steps to reproduce:

  1. Log into Second Life Viewer 7.2.3. (Currently using Firestorm in parity with Second Life Viewer: 7.2.3)

  2. Make sure selection highlighting is enabled:

    Preferences search: “Enable highlighting”

    or debug setting: RenderHighlightSelections = TRUE

  3. Rez or find an object with media-on-a-prim / shared media applied to a face.

  4. Preferably test with a mesh object or a non-flat / multi-face mesh surface using media, as the issue is much more visible there.

  5. Make sure Build/Edit tools are not open and that the object is not being edited.

  6. Left-click the media surface to interact with the media.

  7. Observe the visible selection outlines / face or vertex-like lines drawn over or around the media surface.

Expected result:

When interacting with a MOAP/media surface outside Build/Edit mode, the viewer should allow interaction with the media without rendering intrusive build-style face/vertex/mesh selection outlines over the media.

Selection highlighting should remain available while actually building/editing, but media interaction during normal use should not obscure the media UI.

Actual result:

Clicking a MOAP/media surface automatically selects or highlights the object/face, causing visible selection outlines to appear. On mesh media surfaces, this can show dense geometry/vertices/face lines over the surface. This makes some media menus or media UIs hard to navigate.

Disabling “Enable highlighting” or setting RenderHighlightSelections to FALSE removes the visual problem, but also removes useful selection highlighting while building/editing.

Impact:

This affects the usability of media-on-a-prim / shared media interfaces, especially mesh-based media menus and HUD-like media panels. The media can become visually cluttered or difficult to read after clicking on it.

Notes / suspected cause:

Residents discussing the issue noted that MOAP interaction appears to automatically select the surface/object, which may be expected for media interaction. The bug is not necessarily that selection happens, but that the viewer renders intrusive selection geometry outside Build/Edit mode.

A possible fix would be to suppress rendering of face/vertex/mesh selection highlights for MOAP/media interaction when the user is not in Build/Edit mode, while preserving normal highlighting during building/editing.

Workaround:

Set RenderHighlightSelections to FALSE or disable “Enable highlighting” in Preferences. This is only partial, because it also disables useful highlighting while building.

Evidence:

  • The issue was reproduced by multiple residents.

  • One resident confirmed the same visual effect after deliberately putting media on a non-flat surface.

  • Another resident reproduced it by testing media on a random mesh, where left-clicking made the lines appear.

  • The issue occurs for me on media surfaces and is especially common on mesh surfaces.

Screenshots:

https://cdn.discordapp.com/attachments/1185613623721205871/1502494688173752384/FirestormOS-Releasex64_8CQyTIrGcx.png?ex=69ffeab8&is=69fe9938&hm=2c0fea8450952be4c0813eb11ec40a761f711ff834a0f5c08e6de2fd4ccd81ba&

https://gyazo.com/61aed53abbea909953c40a313bafe68f

https://secondlife.canny.io/admin/feedback/bug-reports/p/moap-media-surface-selection-highlights-render-intrusive-mesh-face-outlines-outs


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #5787 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @canny[bot] (replace 20 with the amount, and @canny[bot] with the user to tip).

📖 If you want to learn more, check out our documentation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the RenderHighlightSelections setting and the MOAP interaction path, reproducing the issue on a non-flat or multi-face mesh outside Build/Edit mode. Compare the rendered result with Build/Edit mode enabled; done means media interaction no longer draws intrusive face, vertex, or mesh outlines outside editing while normal build highlighting remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.