secondlife / secondlife/viewer

The "Density Exponent" option does not manually accept the "0" value in the water settings floater

Open
#3,343 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce
  1. Download and install the Second Life Release 7.1.12.12258017789 build.
  2. Log in.
  3. Open inventory.
  4. Create a new water setting or open an existing one.
  5. Manually type the "0" value into the "Density Exponent" option and click "Enter".
  6. Observe the "Density Exponent" value.

Actual result:
The "Density Exponent" option does not manually accept the "0" value in the water settings floater.

Expected result:
The "Density Exponent" option should manually accept the "0" value in the water settings floater.

Note:
This issue is reproduced on Win10/OSX.

This issue was found during ad-hoc testing of secondlife/viewer/issues/1207.

Also, hovering the "Density Exponent" slider to the "0.00" value is accepted as expected.

This issue is reproduced on the current production build Second Life Release 7.1.11.12363455226.

actual.mp4
https://github.com/user-attachments/assets/4d5efc0d-02ac-4f24-9b36-6da62b6cfb8b

Environment

Second Life Release 7.1.12.12258017789 (64bit) Release Notes

You are at 212.3, 105.6, 21.5 in Product Engine located at simhost-0b5daa906e656304d.agni
SLURL: http://maps.secondlife.com/secondlife/Product%20Engine/212/106/21
(global coordinates 336,852.0, 307,306.0, 21.5)
Second Life Server 2024-11-25.12013542687
Release Notes

CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (3696 MHz)
Memory: 32688 MB
OS Version: Microsoft Windows 10 64-bit (Build 19045.5247)
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: Radeon RX 5500 XT

Windows Graphics Driver Version: 32.0.12033.1030
OpenGL Version: 4.6.0 Core Profile Context 24.12.1.241127

Window size: 1920x1017
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 3000kbit/s
LOD factor: 1.375
Render quality: 3
Texture memory: 4029MB
Disk cache: Max size 1638.4 MB (0.4% used)

RestrainedLove API: (disabled)
J2C Decoder Version: KDU v8.4.1
Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.23.1 / OpenAL Community / OpenAL Soft: OpenAL Soft
Dullahan: 1.14.0.202408091639
CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54
Chromium: 118.0.5993.54
LibVLC Version: 3.0.21
Voice Server Version: Vivox 4.10.0000.32327.5fc3fe7c.5942f08

Packets Lost: 2/2,143 (0.1%)
January 06 2025 06:54:06

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 reproducing the issue in the water settings floater and trace the Density Exponent input handling. Verify that manually entering 0 is accepted and retained, while preserving the existing slider behavior; the payload does not name a source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.