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

Fix uneditable LineEdit, TextEdit and CodeEdit virtual keyboard popup on mobile #98012

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

syntaxerror247
Copy link
Contributor

@syntaxerror247 syntaxerror247 commented Oct 9, 2024

Fixes #97993

@syntaxerror247 syntaxerror247 requested a review from a team as a code owner October 9, 2024 11:05
@AThousandShips AThousandShips added bug topic:input topic:gui cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Oct 9, 2024
@AThousandShips AThousandShips added this to the 4.4 milestone Oct 9, 2024
@SkogiB
Copy link

SkogiB commented Oct 9, 2024

Looks good to me! Alas, I cannot do reviews.

@syntaxerror247 syntaxerror247 changed the title Fix uneditable LineEdit Virtual keyboard popup on mobile Fix uneditable LineEdit, TextEdit and CodeEdit virtual keyboard popup on mobile Oct 9, 2024
@AThousandShips
Copy link
Member

@SkogiB if you are able to test this you are very welcome to provide feedback, a review by a maintainer will be required to merge this but anyone that is able to provide feedback is welcome to do so, especially testing (it helps a lot to test on different hardware and contexts)

@ajreckof
Copy link
Member

ajreckof commented Oct 17, 2024

Beware I'm not too familiar with lineEdit and TextEdit. This looks good but I think it would be best to keep it consistant between the two classes. Either it makes no sense to want to show when it is disabled and it should be prevented in both case or it might make some case and then in both case it should be handled before calling. I don't see any reason to show it so I'm more in favour of preventing it but I'm not that familiar with those classes so TIWAGOS.

@syntaxerror247
Copy link
Contributor Author

@ajreckof I have updated it to keep it consistant between the two classes. Now check for editable is done before calling show_virtual_keyboard().

@clayjohn clayjohn requested a review from KoBeWi October 18, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:gui topic:input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tapping on a non-editable LineEdit still brings up the iOS keyboard
4 participants