Onboard: Add onboard virtual keyboard#732
Conversation
43b7c6c to
6c2a2de
Compare
|
@pratheekshasn you mentioned offline that there were issues getting onboard work on cRIO and some segfault issue; have they been addressed? Is this really ready for review? |
The cRIO issue can be solved by tweaking a couple of values in onboard-settings, so yes, this is ready for review. Here are the similarities and differences between kirkstone and scarthgap for onboard:
|
amstewart
left a comment
There was a problem hiding this comment.
Commits look good now; thanks. Just squash them down into a single commit for the pull.
What is your intention with regards to upstreaming the recipe fixes? Are you trying to upstream the meta-OE PR with yocto first?
Can you describe what these settings are? Are these settings part of this PR? |
I'm a little confused here; you mention that for scarthgap the setting is False. But in which seems to imply that the setting is true. This file is also exactly the same as kirkstone's. Does that mean that despite the same settings as kirkstone onboard works differently on scarthgap and ignores these settings? Or am I misunderstanding? |
|
Sorry about the confusion, the default value of When we set the value through the command line (via Furthermore, we suspect that the mousetweaks warning that gets thrown might be preventing onboard from launching immediately (like in kirkstone).
I think we can still go ahead and submit this PR that makes the onboard keyboard at least appear, albeit with a workaround. For the issue of it not showing up on a cRIO target when it can still show up in a VM, it can be fixed as a separate work item. What are your thoughts, @chaitu236? |
80ba5c9 to
d450ae7
Compare
If you mean launching
Launching onboard process from terminal is just a debugging step we used to figure out why the keyboard wasn't appearing; if everything works correctly, we shouldn't have to launch it from terminal so we don't need to care about this difference except for debugging purposes.
We do need to find a fix for this before we submit/upstream as we do want the keyboard to appear without user intervention or workarounds (like in kirkstone).
Like we discussed, it'd be better to identify the correct fix as we're not in a rush to add this package back. |
d18c0a4 to
9a7ba57
Compare
6b3020d to
642e718
Compare
642e718 to
4f80dcf
Compare
recipes-support/onboard/files/0002-onboard-onhover-seg-fault-fix.patch
Outdated
Show resolved
Hide resolved
4f80dcf to
cbcc76a
Compare
cbcc76a to
a575ab4
Compare
8c19f76 to
d8df747
Compare
Signed-off by: Pratheeksha S N <[email protected]>
d8df747 to
3b21769
Compare
Summary of Changes
The PR adds the virtual keyboard "Onboard" to scarthgap.
Justification
#AB2491688 requires the keyboard to be present on scarthgap as well.
The virtual keyboard "Onboard" (present on kirkstone) had been removed from scarthgap due to build errors on python 3.12. This PR adds back the same to scarthgap with corrections required for python3.12.
Implementation
Changes that differ from kirkstone:
-Werror=declaration-after-statementto remove build errors that get generated when the recipe builds the source of Onboard.The keyboard can now be launched and used just like in kirkstone. It also auto-starts on boot, and launches as soon as a text box comes into focus.
Testing
bitbake packagefeed-ni-core)Tested by installing the built IPK on a VM.
Signed-off by: Pratheeksha S N [email protected]