I used a simple approach: version rollback to locate the issue. So far, I've found that removing the line QtCore.QTimer.singleShot(300, run_layout) in qt_frame.py resolves the problem. Can you help me take a look?
在2024年11月19日星期二 UTC+8 10:59:29<[email protected]> 写道: > What you describe makes me think that the extra status bar is not actually > part of the main Leo window. It is all very strange! > > On Monday, November 18, 2024 at 7:53:29 PM UTC-5 [email protected] wrote: > >> This effect is indeed from taking a photo. When using a screenshot, the >> status area disappears and turns black, like in the image below. >> [image: 2024-11-19_08-51.png] >> >> 在2024年11月18日星期一 UTC+8 21:04:07<[email protected]> 写道: >> >>> I don't know. I haven't noticed any problem while dragging or >>> resizing. But there have been one or two times when I've come back to an >>> open Leo window and had some feature missing, like the main menu bar. I >>> can't reproduce the behavior as yet. I don't see how the layout system per >>> se could be causing an issue like this, but maybe all the UI elements need >>> something like a size policy or minimum size set. That would be a pain and >>> *shouldn't* be necessary. I've seen online that some people seem to have >>> various Qt problems when they don't. >>> >>> The layout system never touches the status bar. Someone could write a >>> new layout to move it but no standard layout does so. >>> >>> I'm fascinated by the moire pattern in your image. Please tell me you >>> didn't print out the screen shot, flatten it onto a table, and take a >>> picture of it. Yet I don't see another way you could have gotten the >>> visible pattern. >>> >>> On Monday, November 18, 2024 at 3:29:01 AM UTC-5 [email protected] wrote: >>> >>>> When I resize the window by dragging the border, the following issue >>>> occasionally occurs: the tab area disappears, and the status bar appears >>>> multiple times. It also happens while dragging. Ver: 6.8.2 >>>> [image: 3.jpg] >>> >>> -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/leo-editor/bd1d17da-7e14-4c09-b0a8-615774f7be90n%40googlegroups.com.
