Skip to content
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

[guilib] fix cursor not always shown in keyboard dialog (fixes #16134) #7532

Merged

Conversation

xhaggi
Copy link
Member

@xhaggi xhaggi commented Jul 17, 2015

After introducing 708b2ed which fixes the dirty region issue, the changes introduced by c03ecbe (new approach to always show the cursor for keyboard dialog) doesn't work anymore because SetStyledText is only called if the control has the focus and therefore the cursor code too.

This is an attempt to fix it.

Related trac ticket

@xhaggi
Copy link
Member Author

xhaggi commented Jul 17, 2015

jenkins build this please

@MartijnKaijser MartijnKaijser modified the milestone: J**** 16.0-alpha1 Jul 17, 2015
@hudokkow
Copy link
Member

Failure is unrelated
jenkins build this please

xhaggi added a commit that referenced this pull request Jul 17, 2015
…eyboard-dialog

[guilib] fix cursor not always shown in keyboard dialog (fixes #16134)
@xhaggi xhaggi merged commit f6fec42 into xbmc:master Jul 17, 2015
@MilhouseVH
Copy link
Contributor

From: http://forum.kodi.tv/showthread.php?tid=231092&pid=2055348#pid2055348

"Keyboards cursor is working just one thing if you delete everything you type the first letter remains visible once you start typing it goes away."

@MilhouseVH
Copy link
Contributor

Testing my latest #0717 test build which includes this fix and also #7502, I can confirm the above "last-character" behaviour, but also I don't see the cursor until something is typed, and only then does the cursor appear (without this fix, it doesn't appear at all).

Before the inclusion of #7502, the cursor is visible as soon as the keyboard dialog is opened (and of course the last character disappears when deleted).

@xhaggi xhaggi deleted the fix-cursor-not-always-shown-in-keyboard-dialog branch August 6, 2015 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants