and it works! Thanks! -- wbr, Kirill > On 14. Sep 2021, at 01:25, Alan Third wrote: > > On Tue, Sep 14, 2021 at 12:21:27AM +0200, Kirill A. Korinsky wrote: >> Maybe it can be for some use. >> >> I've attached the minimal patch which fixed issue for me. >> >> This patch reverted some of your changes. >> >> Because when I move to full screen => toolbar is dissapear, I feel that the root cause is replacing layoutSublayersOfLayer to layout. >> >> Anyway, I don't know quartz and I can't minimize it future. > > It has to be a timing issue. None of the code you're changing touches > the toolbar or its visibility, directly or indirectly, so any change > there can only be altering when various pieces of code are called. > > Changing to and from fullscreen explicitly resets the toolbar's > visibility. > > I think what we probably want to do is default the toolbar to > non-visible when it's created (at the moment it's using the default, > which I suspect is visible), and then rely on the fact that > update_frame_tool_bar is always called when it should be visible to > turn it back on. > > Patch attached. > -- > Alan Third >