LMMS / LMMS/lmms

Empty TCO still acts like BB editor on high zoom

Open
#7,749 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### System Information

Windows 11

### LMMS Version(s)

1.3.0-alpha.1.780+9159533 (win32/x86_64, Qt 5.15.16, GCC 14.2.0).

### Most Recent Working Version

_No response_

### Bug Summary

After #5988, the B/B editor object is no longer drawn by default on an empty piano roll TCO at high zoom levels.
However, if the TCO is highly zoomed in, _scrolling_ over this empty TCO still creates Stepnotes just like scrolling over a B/B tombstone would.

### Expected Behaviour

There is no effect; LMMS scrolls over the tracklist like it should do normally.

### Steps To Reproduce

1. Create empty piano roll TCO
2. Check at the default zoom level or zoom in
3. Scroll mouse wheel upward while hovering over TCO
4. See zero-length note appear. Its volume can be adjusted by scrolling too.

### Logs

### Screenshots / Minimum Reproducible Project

https://github.com/user-attachments/assets/0a84127e-c1c8-48a3-a601-0efd37878d8e

### 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

Reproduce the issue with an empty piano roll TCO at default and high zoom, then inspect the mouse-wheel handling for the TCO and the B/B editor object. Done means scrolling over the empty TCO has no effect and does not create or adjust a zero-length note, while normal tracklist scrolling still works.

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
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.