ManeraKai / simplytranslate_mobile

Privacy friendly frontend to Google Translate
https://manerakai.github.io/simplytranslate_mobile/
GNU General Public License v3.0
173 stars 15 forks source link

Gray application window #160

Closed Valdnet closed 1 year ago

Valdnet commented 2 years ago

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

ManeraKai commented 2 years ago

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

ManeraKai commented 2 years ago

can you press the 3-dots though?

Valdnet commented 2 years ago

can you press the 3-dots though?

Yes, I can choose the menu.

ManeraKai commented 2 years ago

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

Valdnet commented 2 years ago

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

Valdnet commented 2 years ago

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 commented 2 years ago

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

wolftea778 commented 2 years ago

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

Valdnet commented 2 years ago

@wolftea778 Clear application memory in settings and restart.

@ManeraKai This problem needs to be solved.

wolftea778 commented 2 years ago

@wolftea778 Clear application memory in settings and restart.

@ManeraKai This problem needs to be solved.

I did it. The problem is still there.

ManeraKai commented 2 years ago

Imagepipe_5

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

ManeraKai commented 2 years ago

I'll see what can be done.

ManeraKai commented 2 years ago

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

wolftea778 commented 2 years ago

Imagepipe_5

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

Yeah. Thats when i try to change language.

wolftea778 commented 2 years ago

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.

ManeraKai commented 2 years ago

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

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

ManeraKai commented 2 years ago

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 commented 2 years ago

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

Valdnet commented 2 years ago

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.

ManeraKai commented 2 years ago

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

wolftea778 commented 2 years ago

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 commented 2 years ago

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!

ManeraKai commented 2 years ago

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

austinhuang0131 commented 2 years ago

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

ManeraKai commented 2 years ago

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

ManeraKai commented 2 years ago

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

elig0n commented 2 years ago

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

ManeraKai commented 2 years ago

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

ManeraKai commented 2 years ago

Does this problem still exist in 1.3.0?

Valdnet commented 2 years ago

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

ManeraKai commented 1 year ago

1.4.0? :')

Valdnet commented 1 year ago

After upgrading from version 1.3 to version 1.4, they will appear after selecting "Settings" from the menu. In order for the settings to be visible, the application memory must be cleared.

ManeraKai commented 1 year ago

Yes bc I removed the camera icon and that made a bug, but is there any other previous reason?

Valdnet commented 1 year ago

I'm testing the app :wink:.