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
highgui: Trackbar Improvements #3449
highgui: Trackbar Improvements #3449
Conversation
Actually the 2.4 branch gets regular merges into the master branch.
Subsequently with the follow version release, master will receive fix automatically. |
When did you see the last one? This rule doesn't work now. |
@Ashod, please, fix compilation issues http://pullrequest.opencv.org/buildbot/builders/precommit_linux64/builds/1865/steps/compile%20release/logs/stdio p.s.
C language doesn't have default functions parameters. |
O so that rule is gone for good? That would be a bummer for future fixes! |
unfortunately, looks like yes for now, because we don't have sufficient people resources to do it. |
But before a new stable branch can be released, it should be done right? What point there is in fixing stuff if it doesn't stay in ? :) |
Also if core devs of opencv decide not to merge anymore, then a public notice should be put for each bugfix that you need to apply it on both branches. Can you pass on the message? |
I already have a PR for the master branch (#3448) which passes builds and is ready for merge. Regarding the build error in this one, removing the default parameter values will break existing users' code. Do we really want this patch that much to introduce a breaking change? I'm happy to fix and proceed if that's what we should do. |
My opinion, if your fix breaks backwards compatibility on 2.4 branch, then it cannot be merged. But that is just my opinion :) |
@StevenPuttemans Agreed. I didn't know 2.4 was built with strict C rules (the same code builds without issue in the master branch). Let's wait for a second opinion on this. Meanwhile, can we move ahead with #3448 please? |
I am voluntary checking PRs on my own initiative. I do not have the power to let PRs being merged. For that you need a core developer with rights to do so. It is normal that it takes some time, many of them are doing this next to their full time job. |
@StevenPuttemans Understood. Just was asking for an update, no rush. I can see it assigned to Ilya, but he only commented on this one. I'm sure he'll get to it eventually. Thanks! |
Actually Ilya just assigns devs to PRs I think, your assignee is @asmorkalov. He will check this suggestion out from the moment he has some spare time for it :) |
@StevenPuttemans Good to know. Thanks. |
@Ashod We cannot merge you request into 2.4, because it breaks binary compatibility (new parameter in public API). You can prepare request with bug fixes only without API change. |
@asmorkalov Thanks. What I suspected myself. That's fine. I can submit a PR with the non-breaking changes. What about #3448? |
@Ashod, indeed, this breaks binary compatibility with the previous 2.4.x, so this PR cannot be merged. May be, we should add another function to set maximum (and maybe also minimum) trackbar value, as well as the step between subsequent "ticks"? If you go this route, probably we should also modify PR to the master branch. |
@vpisarev Interesting suggestion. Could be done. Any preference as to the name and interface? I think a new function is cleaner than default value, but depends how fat we want to make the API. So, either we keep this as default value with same API in 3.x only (and make it unavailable in 2.4) or, as you suggest, add a new function for setting the max count. Should I wait for confirmation or should I set to work? |
I suggest to go to work ;) |
Will get to it after work... Thanks. |
19a8d93
to
b05fb0e
Compare
…ced deprecated CreateToolbarEx in Windows.
b05fb0e
to
63c49be
Compare
Done. Builds clean. Please take a look. (Also updated master.) |
Seems nice! 👍 |
👍 |
What's next? |
Someone with merge rights will pass by and put your commit in. Be patient, it has been quite calm lately. Probably people taking some holidays or so. |
Thanks Steven. Just wanted to follow up. |
👍 |
I've made 3 (small) improvements/fixes to the Trackbar in Highgui: