hard to reproduce: loose focus on score view if use strange compilation of clicking around timeline window then redocking it

• Jul 27, 2017 - 01:20
Reported version
3.0
Priority
P3 - Low
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Randomly
Status
active
Regression
No
Workaround
No
Project
Tags

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

Severity S3 - Major S4 - Minor
Frequency Once
Priority P3 - Low
Regression No
Reproducibility Randomly
Workaround No

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.