This might be a regression with this: 
https://www.codenameone.com/blog/new-flags-for-rendering-performance.html
Can you isolate this to a standalone test case we can reproduce?

On Sunday, October 25, 2020 at 8:20:58 PM UTC+2 Ivan wrote:

> No, this is not my case.
> I don't use setOnTopSideMenu(false)
> and I alredy call setAllowEnableLayoutOnPaint(true).
>
> Base on your reply I experimented with setAllowEnableLayoutOnPaint(true) 
> and I found out, that when I break the code on this istruction (in 
> debugger) and then let it continue it works as expected.
> But when it runs normaly it does not work (the button still disappeares).
> It seems to be some kind of race condition, but I'm not able to resolve it 
> ....
>
> Dátum: sobota 24. októbra 2020, čas: 7:36:36 UTC+2, odosielateľ: Shai Almog
>
>> Hi,
>> could it be related to this: 
>> https://stackoverflow.com/questions/64503017/the-menu-button-disappear
>>
>> On Friday, October 23, 2020 at 10:26:23 PM UTC+3 Ivan wrote:
>>
>>> Hi guys,
>>>
>>> I started to use left side menu in my application and I have following 
>>> issue.
>>> Whenever Toolbar.closeSideMenu (or closeLeftSideMenu) method is called 
>>> (either programatically or clicking outside the menu to close it) the 
>>> overflow menu button disappeares (and back button sometimes too)
>>> Using component browser I found out that button is still present but has 
>>> zero size.
>>> I need to call Toobar.revalidate() to show it again.
>>>
>>> Is it bug or how can I get rid of this behavior?
>>>
>>> Thanks
>>> Ivan
>>>
>>> Tested in simulator and android device too (Xiaomi Redmi Note 6 Pro, 
>>> Android 9) 
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ac3d1de8-b26d-4f1c-94f5-2ab6ea40dcb5n%40googlegroups.com.

Reply via email to