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

Running Unoplatform application on autostart CM4 #16719

Closed
jeromelaban opened this issue May 14, 2024 Discussed in #16716 · 4 comments · Fixed by #16750
Closed

Running Unoplatform application on autostart CM4 #16719

jeromelaban opened this issue May 14, 2024 Discussed in #16716 · 4 comments · Fixed by #16750
Labels
area/framebuffer Categorizes an issue or PR as relevant to the Linux Framebuffer platform/linux 🐧 Categorizes an issue or PR as relevant to Linux platforms project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools

Comments

@jeromelaban
Copy link
Member

Discussed in #16716

Originally posted by wafamab May 14, 2024
Hello, I'm trying to run a Uno Platform application on autostart with FRAMEBUFFER=/dev/fb1, but I'm encountering the following issue: 'Unhandled exception. System.InvalidOperationException: Cannot read keys when either the application does not have a console or when console input has been redirected. Try Console.Read.' Has anyone encountered this issue before?

@jeromelaban jeromelaban added platform/linux 🐧 Categorizes an issue or PR as relevant to Linux platforms project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools area/framebuffer Categorizes an issue or PR as relevant to the Linux Framebuffer labels May 14, 2024
@jeromelaban
Copy link
Member Author

jeromelaban commented May 14, 2024

Thanks for the report! This is indeed a behavior that is found in

Where the app expects to be started from a terminal, in order for it to be stopped by the user.

There could definitely be a sub-builder option in the console builder that avoids this behavior in:

public static ISkiaHostBuilder UseLinuxFrameBuffer(this ISkiaHostBuilder builder)

@eantunes1980
Copy link

Hi, I have the same problem. And our Project hungs on that point to be ordered by the customer.
Should there be a solution soon for that?
I've tried to resolve the problem and to publish a pull request if it works, but my enviroment seems to not be correct. I have build the sources and exchanged the uno dlls from my App with the new builded. It runs without error but without displaying anything. And that without changing any code for the first test.

@jeromelaban
Copy link
Member Author

This issue will be fixed by #16750, you'll be able to test it with the uno.sdk prerelease builds once it's merged.

@eantunes1980
Copy link

Nice thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framebuffer Categorizes an issue or PR as relevant to the Linux Framebuffer platform/linux 🐧 Categorizes an issue or PR as relevant to Linux platforms project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants