AerialViews icon indicating copy to clipboard operation
AerialViews copied to clipboard

Screensaver preview returns to AerialViews main menu upon opening TV's picture settings

Open FunFrog-BY opened this issue 5 months ago • 2 comments

I can no longer set individual per-app picture settings for HDR and Dolby Vision content within AerialViews on my Bravia 9.

Previously (in December), I successfully configured these by launching an HDR/DV video from AerialViews' "Test screensaver settings" and then accessing the TV's picture settings (wrench key menu).

Now, when I attempt to open the TV's picture settings while some video is playing in AerialViews, the app immediately returns to its main menu. This prevents any adjustment of per-app HDR/DV settings for AerialViews, as these must be configured during active HDR/DV playback (the AerialViews main menu is SDR).

This issue appears specific to AerialViews; other apps like Vimu and SmartTube allow TV picture settings to be accessed and adjusted during playback without exiting.

FunFrog-BY avatar Jun 09 '25 14:06 FunFrog-BY

I'll try it on my TV and see what happens.

In the meantime, can you go to Settings > D-pad/Remote and disable all the Actions for Press events - and see if that stops the screensaver from exiting testing mode?

theothernt avatar Jun 10 '25 13:06 theothernt

Thanks. Put "Ignore" everywhere and unchecked both checkboxes, reopened the app, still the same.

FunFrog-BY avatar Jun 10 '25 14:06 FunFrog-BY

Just thinking about this a bit more. I may have to make a special debug version of the app for you to test.

Basically, it would show a notification toast anytime a key is pressed when the screensaver is running - that will help to narrow things down.

So would you be able to install the APK and report back what happens?

theothernt avatar Jul 16 '25 22:07 theothernt

Yes, i would, thanks, but i will have time for this only next week probably. This week is fully booked with work and personal stuff.

FunFrog-BY avatar Jul 16 '25 22:07 FunFrog-BY

No problem, in the meantime, here is the link to the beta...

(link removed)

theothernt avatar Jul 21 '25 14:07 theothernt

Yep, i'm sure it's not working as you've expected. It says KEYCODE_BACK tho when i exit to the menu by the back button. Also, unrelated: as you can see, the local dimming on Sonys works only during playback/pause of the actual video. Now AerialViews has a feature to dim the screen and hide the ui. It's unusable on Sony's because it disables local dimming, in my case making screen much brighter than during actual playback. Is it possible to just pause the video and make it black rather than just disable the playback at all?

FunFrog-BY avatar Jul 22 '25 13:07 FunFrog-BY

I just watched the video, but it's hard to figure out why the app is exiting.

You mentioned initially that the app didn't have this issue back in December. Maybe we should try an older version, v1.7.3, then I can compare it to the latest version's code and see where the issue is?

As for the local dimming issue, do you have any suggestions?

theothernt avatar Jul 22 '25 15:07 theothernt

1.7.3 was the last one working. 1.7.4+ going back to menu. And thanks alot for the settings backup function, saved me a lot of time.

As for the local dimming, i suggest not to stop playback of the current file, but just pause it and bring it's brightness to zero. Local dimming keeps on when i pause movie in video players. I think the problem is now AerialViews completely stops playback, so the TV thinks that nothing is playing and it turns off local dimming. Not an android developer tho, so i can only assume.

When i press left/right buttons to rewind AerialViews video back and forth, video pauses for a moment to buffer and during the process local dimming doesn't turn off at all, which is nice.

From 1.7.4 release notes:

Added ability to override system 'animator duration scale'

This one seemingly does nothing for me.

Added Progress Bar option in Settings > Appearance

This one disabled.

Added ability to start a video from a random point

Same.

Added feature to exit on screen tap for phones, tablets

All set to 'Ignore'

FunFrog-BY avatar Jul 22 '25 18:07 FunFrog-BY

For this issue, I'm just going to concentrate on the 'back' handling issue. I should be able to fix it, or add an option to change the behaviour of the back button.

In regards to local dimming, that is not part of Android so apps can't do anything about it. It is a process that Sony control based on the brightness of parts of the image being shown.

theothernt avatar Jul 23 '25 09:07 theothernt

I may have found a fix, can you try this build when you get a chance?

(link removed)

theothernt avatar Jul 23 '25 12:07 theothernt

I may have found a fix, can you try this build when you get a chance?

Nope, stil exiting to menu with no keycode popup.

It is a process that Sony control based on the brightness of parts of the image being shown.

Only the local dimming algorithm based on the brightness, not the state of the feature itself. If you look at my video above, you'll notice, that local dimming engages during completely black screen, before anything appears on it. Also if i pause any movie in any videoplayer during completely black frame - i will get completely black screen indefinitely. Because the on/off state of the feature is for sure depends on the playback state, not the screen contents.

I understand that this is offtopic, so i can make a new issue for this, if you say so.

FunFrog-BY avatar Jul 23 '25 12:07 FunFrog-BY

Just a small update - I've been able to reproduce the issue on an old Sony Android TV. This will help in fixing the issue, I hope!

theothernt avatar Jul 23 '25 13:07 theothernt

I found the issue. It's nothing to do with key presses. Basically, when you open a Sony menu - the app is told to suspend or pause. As AV is a screensaver, if it is told the pause (ie. switch to another app) it will exit - as if you try to resume the screensaver, there is an error.

Anyway, I'll try and figure something out.

theothernt avatar Jul 23 '25 14:07 theothernt

Ok, here is the fix I tested... (link removed)

theothernt avatar Jul 23 '25 14:07 theothernt

Yes, i confirm, it's fixed now, thanks a lot!

FunFrog-BY avatar Jul 23 '25 14:07 FunFrog-BY

Great! I'll have a new beta in a few days!

theothernt avatar Jul 23 '25 20:07 theothernt

About the local dimming issue you are having - what can AV do you help fix or mitigate the issue?

Also, the next beta will have a pause/unpause feature.

theothernt avatar Jul 24 '25 14:07 theothernt

what can AV do you help fix or mitigate the issue?

Not to stop playback in blackout/hide ui mode, but just pause the video and bring it's brightness to 0 or 0.01%. I think it will do.

Also you can add an additional option like the blackout one (remote assignable) to just decrease video brightness to 25%-50% or even to configurable level.

In case brightness trick will not work you can apply a black/dark mask over the video i think, if it's not so technically hard.

FunFrog-BY avatar Jul 25 '25 00:07 FunFrog-BY

Would a simple pause/unpause feature help?

theothernt avatar Jul 25 '25 11:07 theothernt

I personally don't need a pause feature itself, though it is probably a great feature to have and could be useful to some people.

The scenario i'm talking about is when during the night my wife sometimes want a pitch black room if she has trouble sleeping. Yes, AV on my tv runs on minimum brightness possible including BFI on max, but sometimes it's not enough for her and she just disables the tv.

But disabling the tv as a workaround in this situation has a few drawbacks itself, so the blackout function already implemented in AV seems like a perfect solution intended for exactly this situation. But it has a problem with local dimming i described earlier.

So that is why i'm emphasizing on the pause - because it could fix the issue with local dimming for minileds while changing nothing on oleds and doing what it was intended to do.

FunFrog-BY avatar Jul 25 '25 14:07 FunFrog-BY

Btw, there is a pause/unpause action in the latest beta.

theothernt avatar Aug 07 '25 19:08 theothernt

Tested the pause action, and it's exactly what i needed, thanks again, and particularily a big thanks from my wife for this!

It's not what i asked you tho. I asked to change the blackout function not to stop the video entirely but to pause it and bring it's brightness to zero. At least to try it this way on Bravia to see if it will disable the local dimming or not (i bet it will not, contrary to the current implementation)

But anyway since every video starts with a few seconds of total blackness, she can just skip to the next video and as soon as local dimming engages again, she gets a totally black screen. But with OSD (Time, weather, API text etc.) which is actually turned out to be a nice addition.

So we will gladly use it as it is working now, but if you'll want me to test different blackout implementation - i'm here to help.

FunFrog-BY avatar Aug 11 '25 23:08 FunFrog-BY

Tested the pause action, and it's exactly what i needed, thanks again, and particularily a big thanks from my wife for this!

It's not what i asked you tho. I asked to change the blackout function not to stop the video entirely but to pause it and bring it's brightness to zero. At least to try it this way on Bravia to see if it will disable the local dimming or not (i bet it will not, contrary to the current implementation)

The pause/unpause function was actually requested by someone else, I just wanted to see if it helped in your case :)

So we will gladly use it as it is working now, but if you'll want me to test different blackout implementation - i'm here to help.

If you have time, you should test two options 1) Settings > Appearance > Animations > Auto hide overlays and 2) Settings > Appearance > Brightness > Brightness level during media playback - less brightness on the screen should mean that local dimming will be disabled. I think the overlays/text are triggering it?

theothernt avatar Aug 13 '25 14:08 theothernt

Disabled overlays + Ninja-pausing any video at the very beginning = completely black screen like TV is turned off.

Brightness 5% = partially disabled local dimming always, even during playback. But it controls not the brightness of the video, but the overall brightness of video + overlays, so different layer or something. So in this case it is not indicative.

I suggest to try to bring only video brightness to 0 (i meant that from the beginning). Also we can try to paint a pitch black rectangle over the video on the overlays level without touching it's brightness.

Maybe there's more than one API method to control brightness.

FunFrog-BY avatar Aug 14 '25 22:08 FunFrog-BY