hard to reproduce: loose focus on score view if use strange compilation of clicking around timeline window then redocking it
I'm just filing this now as tentative. It happens with Joshua's Bonn latest code which he is about to submit as a pr, but since I can't figure out how exactly to reproduce it, he can't really fix it at the moment. Sorry about the poor description.
Tends to happen with larger scores...so far I've only gotten it to happen on my arch linux mate machine with Qt 5.9.
When the timeline is undocked, then the moment the user clicks on a different cell in timeline, the undocked timeline window momentarily takes focus away from the score view. If this timeline window gets redocked sometime in or around when the scoreview is redrawn at the new measure position, then it is possible for the timeline window to get docked while it still has focus and prevent that scoreview from regaining focus. If I switch to another score, that new score gets focus, but when I go back to the original score, it still doesn't regain focus. If I close the score, I get a segfault
Comments
I was able to repro (once, so far) using the 3.x (pre-3.6) branch. I'm attaching the score I used when this happened. It has > 1000 measures. I don't think the contents of the second score matters.
So strange, I just ran into something this yesterday myself! No idea exactly how to reproduce it though. In my case, the focus stealing happened with the timeline still undocked, and it was fixed when I switched to another application via Alt+Tab then back. Happened maybe 3 or 4 times over the course of half an hour.