https://redmine.stoutner.com/https://redmine.stoutner.com/favicon.ico?16699090422019-06-01T08:52:51ZStoutner - RedminePrivacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12432019-06-01T08:52:51ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>This is a bug in Android that has been fixed in newer versions (verified fixed in Android 9).</p>
<p><a class="external" href="https://issuetracker.google.com/issues/37130873">https://issuetracker.google.com/issues/37130873</a></p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12442019-06-01T08:54:44ZSoren Stoutnersoren@stoutner.com
<ul></ul><p>Note that this is related to <a class="external" href="https://redmine.stoutner.com/issues/389">https://redmine.stoutner.com/issues/389</a>, which is not fixed.</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12452019-06-01T09:03:38ZModerator ✓
<ul></ul><p>It is android-related? That's strange, because there are apps that work as intended in fullscreen mode. Would it at leasf be possible to automatically exit and re-enter fullscreen mode in Android <9?</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12462019-06-01T16:50:52ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>New</i></li><li><strong>Priority</strong> changed from <i>3.x</i> to <i>Next Release</i></li></ul><p>Yes, this is a bug in Android. Can you give me an example of an app where this works correctly?</p>
<p>It would be possible to re-hide the status and navigation bars when the keyboard is hidden as long as the app is notified when that happens. A while back I looked at it and, surprisingly, there wasn't any easy way for an app to be notified when a keyboard is shown or hidden. But I will take a look at it again and see if I can find a way.</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12472019-06-01T17:44:30ZModerator ✓
<ul></ul><p>So there's [Slide](<a class="external" href="https://f-droid.org/app/me.ccrama.redditslide">https://f-droid.org/app/me.ccrama.redditslide</a>), but under closer inspection I figured out that it does not register a closed keyboard, but rather any action that is not typing.</p>
<p>Also wouldn't it be kinda simple to have a notifier for when the app has more vertical space? Or have some kind of transparent auto-positioned overlay and look for it's vheight?</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12482019-06-01T17:48:22ZModerator ✓
<ul></ul><p>Also something probably awful yet functioning would be to set the WebView in a floating window and take up all space. I think.</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12492019-06-01T20:05:48ZSoren Stoutnersoren@stoutner.com
<ul></ul><p>You are welcome to submit a patch and I will consider it. Before doing so you should take a look at the Code Submission Agreement at <a class="external" href="https://www.stoutner.com/privacy-browser/contributors/">https://www.stoutner.com/privacy-browser/contributors/</a>.</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12502019-06-01T20:07:43ZModerator ✓
<ul></ul><p>I sure would, if I actually knew how to code anything beyond println.</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12512019-06-01T20:08:09ZSoren Stoutnersoren@stoutner.com
<ul></ul><p>I'm thinking a good workaround for this and <a class="external" href="https://redmine.stoutner.com/issues/389">https://redmine.stoutner.com/issues/389</a> might be to re-enforce full screen mode every time the WebView scrolls. That has the nice attribute of being very easy to implement. However, it will take some testing to see if it works well if the WebView is scrolled when the keyboard is open or if it introduces other types of bugs in other functionality.</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12522019-06-01T20:09:57ZModerator ✓
<ul></ul><p>Well Slide circumveils this by simply hiding the keyboard whenever you interact with it by not typing.</p> Privacy Browser Android - Bug #458: Opening the keyboard in fullscreen mode reveals the statusbarhttps://redmine.stoutner.com/issues/458?journal_id=12742019-07-06T18:04:20ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Fixed in commit <a class="external" href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=06b9b756054fb1de20c5fcbe4eca22bc2a4ff3ee">https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=06b9b756054fb1de20c5fcbe4eca22bc2a4ff3ee</a>.</p>
<p>Interestingly, this approach has the effect of immediately reinforcing full screen browsing mode even if the WebView is not scrolled because the WebView's `onScrollChangeListener` is called automatically when the keyboard is closed.</p>