@JonB said in hello,I have a problem:
Well, because showing/maximizing after minimizing causes a showEvent().
Press Win + D for the first time and all windows will be minimized. Press Win + D again and all windows will be restored. However, when I use EventFilter and rewrite the show event, after I press Win + D for the first time, the widget is minimized, which is normal. However, I do not press the win + D key combination for the second time, but randomly click any other icon on the desktop, which will trigger the show event of the widget of this QT program. Note that even if I do not click the icon of this program, it will trigger
826812a5-55cd-4a2d-8c95-cfa6db7b32a2-image.png