ftCommunity/ftcommunity-TXT

Issues with Text-mode apps

Closed this issue · 15 comments

As ski7777 pointed out in the forum, text-mode apps cannot be terminated via home-button - one has to touch the X in the corner to close the app. Pressing the blue-lit home button has no effect on the running text-mode app.

Also, a running text-mode app is not shown in the WebIF as running and cannot be terminated via the web-IF

If another app is launched via the WebIF, while the text-mode app is running, the text-mode app shows up again after the other app is terminated via WebIF.

Most of this has been fixed. Remaining issues: The app is considered not to run anymore if it has stopped but if the apps text output window hasn't been closed, yet. Also the window cannot be closed using the power button.

Both issues can be fixed but both are not important enough as long as no apps are using this mode.

Maybe we could put the text mode system into a external framework. There we would have no problems with the button.

Raphael

I'd like to hear other opinions on that. If someone else also would lime to see this moved into a seperate app then I'd simply remove text mode support. It's basically unused and will probably not be missed.

Ok, i'll then remove text app support and Raphael creates an external framework for this.

I have removed all text mode related code. It's now up to ski7777 to come up with his new and improved solution.

👍 Now in my winter holidays this will be one of my projects.

Raphael

Looking forward to your new solution. Please don't forget to finish it before submitting pull requests and make sure it's documented.

I will commit it to a new branch of my fork. Comments will not be a problem.
I will just grab your old subprocess and text viewer handling and put it into a touchapllication.

Raphael

The idea is that a text mode app does not contain any qt related code. That's why it's a called a text mode app. Please come up with some clever new idea. Just copy'n pasting the old code into each and every text mode app is nonsense.

I think this was a missunderstanding. I will put the qt code into the launcher. I will just replace your TextmodeDialogs TouchWindow to a TouchApplication.

Raphael

You talked about an external framework which definitely makes sense given the fact that up to now no single text mode app has been written.

But this also means that it isn't useful to re-integrate the functionality into the launcher. And just replicating the old setup also isn't useful as we could then just have left everything the way it was.

I didn´t start yet with writing the framework, so I won´t start it.

Raphael

The "hello" app has been removed a few days ago ...

To summarize: You asked for the current solution to be replaced by an external framework. Then i removed the current solution in favour of your new framework. Now you don't like your own idea of an external framework anymore and text mode support is simply gone.

I am not sure whether anybody will use text mode apps. I will try to implement it.

Raphael

That's up to you. And it may indeed not be worth the effort. But your complaints about minor issues with the existing solution made me assume that you had a problem with it and that you had a need for an improved solution.