Automation editor has logarithmic knob value mismatch (visually)
Nobody has claimed this yet.
- 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 linear
### 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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