-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instrument-track measure ticks sometimes off by 1px #4155
Comments
Interestingly on my system it appears as if the ticks "fall behind" on the Instrument tracks. The first few ticks line up but get worse as the track goes on. Haven't looked at the code but I assume the ticks are drawn like this: Draw tick, move forward by X pixels, draw tick, ... If this is the case then it appears that the value "X" being added is off by a very small amount. |
BTW, I'm using LMMS 1.2.0-rc5, Qt 5.9.2, GCC 4.8.4 AppImage build. If someone could point me to the correct file where this is done I'd be happy to look into it, but I can't seem to find the code |
It happened in commit 8c2ebf2
Changing https://github.com/LMMS/lmms/blob/stable-1.2/src/tracks/Pattern.cpp#L887 to |
@zonkmachine Lines 458 to 461 in c3b4767
And I think FYI, reverting 8c2ebf2 doesn't seem to cause any regressions(#1255 or other things) on |
@zonkmachine Only the Also, why would we use Edit(s) typos, rewording for clarification |
Also it should be noted that the code for this in |
imo a 1.3+ 'issue' |
@musikBear is not a project maintainer. @PhysSong, myself and @zonkmachine are. @musikBear Please leave this decision to the maintainers. |
@tresf How about not going after the man, but the ball? |
@musikBear I'm not a technical reviewer for this bug so I am leaving the decision up to those that understand the codebase well enough to milestone it.
It's not beneficial. I've received multiple complaints from developers that read a comment of yours and believe it reflects on the project. I'm letting @noahb01 know that your thoughts do not necessarily reflect the project as a whole. The team spends a lot of time supporting the users as well as the new developers of the project on several channels and mediums (FB, email, Discord, GitHub) and that can cause a delay when someone like @noahb01 asks a simple question: "What branch to target?". Having worked with both @PhysSong and @zonkmachine on hundreds of issues, I'm fairly confident they will come back with a well thought reply that answers the question directly. What I'm not confident about is how your comments will be received, so I'm offering insight for @noahb01 as well as future bug submitters. So when you say "go after the ball", I have to reply with, I do. I'm working on some of my own tasks with the project currently. I'd be happy to offer supporting evidence of this offline if you're interested. You know how to contact me. :) |
As @PhysSong dived deeper into this he should probably be the one to answer. My first impression though is that it would be OK to fix I don't currently build .
This discussion should probably go somewhere else but I don't find it beneficial to have people not involved in the coding trying to organize the workflow of it. Please leave issue labels and milestones to the coders. |
I'm not closing this as the issue is still present in |
I didn't get that, sorry. I tried #4171 now and it works. I think we can merge it now for rc6 and you can refactor the code later if needed. |
Closed in #4171 |
In the song-editor, the ticks on each measure for the automation track are sometimes shifted forward by 1px.
Reproduce:
Open new project.
Make an instrument-track and an automation-track.
Put some random stuff into the tracks, about 8-16 measures is good.
Look at the ticks on the tracks, some will not line up!
The text was updated successfully, but these errors were encountered: