Bottom black bar in Android with hidden virtual buttons (cocos2d-x-3.13.1)

Hi All,
I have a problem with cocos2d-x 3-13-1 for android. Basically, it seems that the virtual-buttons (back, home etc…) are hidden correctly in full-screen (and they correctly reappears when swiping up) but a black bar behind them still remains, as shown in the following screenshot :

But the strange thing is, if I close the app (not completely close but just sent in background) and then I reopen it, everything seems to work correctly, as show in the following screenshot :

This happens in both my real device and emulated (both android 6 but I think the problem is still the same with other versions)

To reproduce the problem just create a c++ project with command line:

cocos new TestBug -d . -l cpp -p it.company.testbug --portrait

then use the following AppDelegate.cpp

AppDelegate.cpp (2.5 KB)

And replace Resources\HelloWorld.png with the following image :

Thanks a lot for any help
(and for the work on this awesome framework :blush: )

P.S.
Please forgive me if there’s already another discussion on this topic, but I couldn’t find any…

No idea ?
For the moment I had to comment the code in hideVirtualButton() method of Cocos2dxActivity.java, which of course results in the virtual buttons always visible…

Anyway, not sure but I think the problem does not occur in android Nougat (at least not in the emulator)…

Hello,
Did you manage to fix this problem? I’m experiencing the same thing.

No, unfortunately I had to stuck with the solution described in my first post…