Closed asterwyx closed 1 year ago
Doc Check bot :green_circle: Document Coverage Check Passed!
/integrate
AutoIntegrationPr Bot auto integrate with pr url: https://github.com/deepin-community/Repository-Integration/pull/196 PrNumber: 196 PrBranch: auto-integration-5320721863
/retest
Related issue: https://github.com/linuxdeepin/developer-center/issues/4194
Titlebar has a targetWindow and it will sync disableFlags with window's motif functions. Do not set disableFlags according to the current state of buttons. Because when targetWindow(That is also top level window of titlebar) is disabled, all its children will always return false when invoking isEnabled. Also, never explicitly disable any button unless you know when to enable it again. Let top level window manages it. DisableFlags only apply to configuration, will not reveal buttons' state.
Log: fix titlebar buttons don't recover