Tiddloid
Tiddloid copied to clipboard
Android 11 status bar fails to restore after exiting
After exiting tiddloid from a shortcut to a tiddlywiki file, the status bar is not restored on Android 11. Expected behavior is that the status bar returns.
Okay. Did you mean: You opened a wiki from main screen -> back to desktop -> open another via a shortcut (with status bar hidden) -> close it and back to the wiki previously opened? If so, I think I got what is wrong. I'll try to fix it soon.
No this is not on the desktop, I've opened it from the shortcut on the app screen then tapped back to exit.
Any screenshots? I'm trying to reproduce it but nothing wrong happened yet.
I'll add one soon.
The exact steps:
- Create new tiddlywiki file, save it without name
- Back in tiddloid long tap on the created tiddlywiki
- then tap "create a shortcut" note the path is (invalid).html
- "shortcut added successfully" pops up even though add is not tapped yet
- tap on Add "shortcut to x added to home screen"
- tap back to exit tiddloid
- android status bar remains hidden
Seems to occur only after starting tiddloid after a period of non use, and creating a new tiddlywiki file.
Hmmm...Where did you put the new file in? Is it created on a cloud drive, or the internal storage?
external sd card
Hmm.. There's no string resource of "(invalid)" in the app... So you created a file without name and the system gave the file a name (invalid).html
?
yes
Operated as you did but nothing weird happened... In fact I had never made the status bar hidden on the main screen... Even if the status bar is hidden under landscape mode, it'll restore on entering the main screen...
What phone are you using?
Samsung Galaxy S10 with Android 11.
When did the status bar disappear for the first time during the reproduction?
First install and after reboot.
You mean... The status bar disappeared on entering the app, and never come back?
Yes
That's completely abnormal... I had never seen that before even on Android 11 AVD... Are you able to get logcat from your phone?
It's weird to say that but... it is possible that some of system APIs was implemented differently between AVD(pixel) and samsung's os... The splash activity hides the bars, and is replaced by the main activity, which, by default, makes the bars shown. But if the UI is not reset upon changing activity... What if entering the app and change to landscape, then back to the desktop while keeping the phone horizontal?
Any screenshots? I'm trying to reproduce it but nothing wrong happened yet.
Attached.
It's weird to say that but... it is possible that some of system APIs was implemented differently between AVD(pixel) and samsung's os... The splash activity hides the bars, and is replaced by the main activity, which, by default, makes the bars shown. But if the UI is not reset upon changing activity... What if entering the app and change to landscape, then back to the desktop while keeping the phone horizontal?
I noticed if I try to add another widget then the status bar returns.
Now you can checkout the latest 2.2.0-pre version here (This is a pre-release with a debug package)
I refactored the splash screen in recent commits, and added WebDAV support which can be helpful to avoid problem like #23 .
Is your problem solved? I may close this if no response received for a long time.
No more reports for nearly 2 years. Closing this. Reopen it if you're still concerned.