simplytranslate_mobile icon indicating copy to clipboard operation
simplytranslate_mobile copied to clipboard

Gray application window

Open Valdnet opened this issue 4 years ago • 30 comments

After starting the application and leaving it for a long time, e.g. after waking up the smartphone, the editing windows for text do not appear in the application (only gray background). It also happens sometimes when choosing a language. In order to restore the correct operation of the application, you must clean the application data.

obraz

App: Android 10 SimplyTranslate Mobile 1.1.2

Valdnet avatar Nov 14 '21 15:11 Valdnet

It happened to me before some days that it won't even start, just a black screen. I'll see about that.

ManeraKai avatar Nov 14 '21 15:11 ManeraKai

can you press the 3-dots though?

ManeraKai avatar Nov 14 '21 15:11 ManeraKai

can you press the 3-dots though?

Yes, I can choose the menu.

Valdnet avatar Nov 14 '21 18:11 Valdnet

Wasn't able to reproduce it, Tried cleaning up the code to unhide any errors https://github.com/ManeraKai/simplytranslate_mobile/commit/1daa55f1bea5b18f0fa75ef0d7a37375fc1592c0.

ManeraKai avatar Nov 14 '21 20:11 ManeraKai

I will test. Maybe there will be some repetition :wink:.

Valdnet avatar Nov 14 '21 20:11 Valdnet

Steps:

  1. Launch the application.
  2. Change the language for the source translation text.
  3. Put your smartphone to sleep.
  4. Wake up the smartphone.

Valdnet avatar Nov 14 '21 20:11 Valdnet

In the artifact version, I was unable to get an error. I think the problem is only in version 1.1.2.

Valdnet avatar Nov 14 '21 21:11 Valdnet

I just installed the app and opened it. Thats how it look like:

Imagepipe_4 The settings are working. But if i type on default share language the screen become grey:

Imagepipe_5 Info: Android 8. App version: 1.1.3

wolftea778 avatar Dec 17 '21 00:12 wolftea778

@wolftea778 Clear application memory in settings and restart.

@ManeraKai This problem needs to be solved.

Valdnet avatar Dec 17 '21 06:12 Valdnet

@wolftea778 Clear application memory in settings and restart.

@ManeraKai This problem needs to be solved.

I did it. The problem is still there.

wolftea778 avatar Dec 17 '21 13:12 wolftea778

Imagepipe_5

They seem as they're there, but a grey layer is on top.

ManeraKai avatar Dec 17 '21 14:12 ManeraKai

I'll see what can be done.

ManeraKai avatar Dec 17 '21 14:12 ManeraKai

I think it may be a splash screen problem. I've removed the splash screen completely since I don't need it in the first place. Debug doesn't have splash screen, here a release version. Compiled unsigned release apk: https://send.turingpoint.de/download/5ccbbf4dd5af669f/#Amuy74leycKD5Jp2JiW1Mg

ManeraKai avatar Dec 18 '21 15:12 ManeraKai

Imagepipe_5

They seem as they're there, but a grey layer is on top.

Yeah. Thats when i try to change language.

wolftea778 avatar Dec 19 '21 09:12 wolftea778

I think it may be a splash screen problem. I've removed the splash screen completely since I don't need it in the first place. Debug doesn't have splash screen, here a release version. Compiled unsigned release apk: https://send.turingpoint.de/download/5ccbbf4dd5af669f/#Amuy74leycKD5Jp2JiW1Mg

Maybe to the change language screen problem. But what about the main?. When i dont see anything when i open the app?. I download it. It cant be installed on my phone.

wolftea778 avatar Dec 19 '21 09:12 wolftea778

I download it. It cant be installed on my phone.

Because it's unsigned, you should accept some warning messages.

ManeraKai avatar Dec 19 '21 10:12 ManeraKai

Maybe to the change language screen problem.

I really don't have anything suspicious in the source code that may cause this error. It's really weird.

ManeraKai avatar Dec 19 '21 10:12 ManeraKai

Another inspection and I see a weird widget: image Material I don't know when I added it.

ManeraKai avatar Dec 19 '21 10:12 ManeraKai

I download it. It cant be installed on my phone.

Please uninstall the previous version of the application first, then install the new one. Remember that you must have an installation from an unknown source selected in the settings.

Valdnet avatar Dec 19 '21 17:12 Valdnet

Lastest version: https://send.vis.ee/download/65d07a0e29dfb260/#DEU31QsGTHklWNG6eWD2fg

ManeraKai avatar Dec 19 '21 17:12 ManeraKai

I download it. It cant be installed on my phone.

Please uninstall the previous version of the application first, then install the new one. Remember that you must have an installation from an unknown source selected in the settings.

I did. It just stop in the middle and says: app not installed. Thats all hhhhh

wolftea778 avatar Dec 20 '21 00:12 wolftea778

I just now thought on changing the phone from my native language to english. And now its working. The app that i installed from f droid is working. Sorry for the troubles. Thanks for all your hard work and and quick replays :). My language is writing from right to left(Hebrew) i dont know if its a problem for all of these types of languages or just for this one. Good luck!

wolftea778 avatar Dec 20 '21 00:12 wolftea778

So it seems as a system language problem. Hmm...

ManeraKai avatar Dec 20 '21 14:12 ManeraKai

Having the same issue with system language as Chinese (Simplified) so I don't think it's an RTL problem

austinhuang0131 avatar Dec 26 '21 16:12 austinhuang0131

@austinhuang0131 Have you tried this version?: https://github.com/ManeraKai/simplytranslate_mobile/issues/160#issuecomment-997433943

ManeraKai avatar Dec 26 '21 17:12 ManeraKai

I think there is an error and that is explained well but because it's in release mode it ignores those errors.

ManeraKai avatar Dec 26 '21 18:12 ManeraKai

Are you intended on providing a solution for people wbo dont want to change their devices language ? 😟

elig0n avatar Jan 14 '22 01:01 elig0n

@elig0n Does it still happen with this version? https://github.com/ManeraKai/simplytranslate_mobile/actions/runs/1674916774

ManeraKai avatar Jan 14 '22 18:01 ManeraKai

Does this problem still exist in 1.3.0?

ManeraKai avatar May 22 '22 06:05 ManeraKai

The problem still occurs the first time the application is run.

Valdnet avatar May 22 '22 07:05 Valdnet