LMMS / LMMS/lmms

Automation editor has logarithmic knob value mismatch (visually)

Open
#8,549 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

### System Information

Ubuntu 24 + Fedora 43 + Windows 10

### LMMS Version(s)

3d97b11f3a4e4ae12a0f3ba1f354c8a8dbf75bb5 (latest) + 1.3.0 alpha 1.102

### Most Recent Working Version

Unknown, but verified not working as far back as 1.3.0 alpha 1.102 from years ago

### Bug Summary

When using the automation editor for a logarithmic knob, the value visually displayed on the ticks to the left (along with when hovering) show a logarithmic scale, but the actual values when double clicking are still linear, causing a mismatch.

Could potentially be a regression of #664?

### Expected Behaviour

Either the ticks should show a linear scale, or the double click values should follow the logarithmic scale.

(I also personally think that hovering over a node should have a label displaying its exact value since double-clicking on it can move it slightly [and/or double clicking on it shouldn't move it].)

### Steps To Reproduce

1. Set a knob to logarithmic (or find one that is already logarithmic)
2. Ctrl+drag it to an automation track
3. Observe how nodes added when double clicking don't match what is visually displayed on the graph ticks or the horizontal label shown when hovering at the same height as the node

### Logs

Click to expand

  

### Screenshots / Minimum Reproducible Project

Note that these images are from 1.3.0 alpha 1.102, but they look the same in latest (just with a different accent color).

---

### Knob set to logarithmic
Knob set to logarithmic
Image

---

### Knob set to linear
Knob set to linear
Image

### Please search the issue tracker for existing bug reports before submitting your own.

- [x] I have searched all existing issues and confirmed that this is not a duplicate.

Contributor guide

No contributing guide indexed for this repository

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 at the automation editor entry point and trace how logarithmic knob values are rendered for graph ticks and hover labels versus values assigned on double-click. Reproduce the mismatch with logarithmic and linear knobs, then verify that the displayed and assigned values agree without regressing linear behavior.

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
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.