When you create new worksheet, this worksheet creates with already existed command entry. But this entry haven't focus, so you need to move mouse and click on this entry before real work with worksheet. So, it's more usefull for users, if after creating new worksheet, this entry already will have focus and user could starts writing commands immediately. I have worked on realising this, and, as I see, the worksheet set focus, but before that worksheet's window will become active, so the entry don't get focus (see documentations Qt about setFocus).
Git commit 9840bfb9eb3b374b6b996ae256d893a44ad62071 by Nikita Sirgienko. Committed on 03/02/2019 at 19:58. Pushed by sirgienko into branch 'Applications/18.12'. Fix bug with unfocused entry after Cantor start FIXED-IN: 18.12.2 M +4 -0 src/cantor.cpp https://commits.kde.org/cantor/9840bfb9eb3b374b6b996ae256d893a44ad62071