Bug 395976 - Focus of first entry in new created worksheet
Summary: Focus of first entry in new created worksheet
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Filipe Saraiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-28 19:49 UTC by Nikita Sirgienko
Modified: 2019-02-03 20:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 18.12.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Sirgienko 2018-06-28 19:49:17 UTC
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).
Comment 1 Nikita Sirgienko 2019-02-03 20:00:10 UTC
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