Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Windows下标题栏按钮tooltip重复显示 #325

Closed
kira-96 opened this issue Nov 18, 2023 · 3 comments
Closed

Windows下标题栏按钮tooltip重复显示 #325

kira-96 opened this issue Nov 18, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kira-96
Copy link
Contributor

kira-96 commented Nov 18, 2023

系统:Windows 11

Win11 标题栏按钮的tooltip和系统的重复了,暂时不清楚Win10及以下版本是否会出现这个问题。

image

相关代码:

void StandardTitleBarPrivate::retranslateUi()
{
#if (!defined(Q_OS_MACOS) && FRAMELESSHELPER_CONFIG(system_button))
minimizeButton->setToolTip(tr("Minimize"));
maximizeButton->setToolTip(window->isMaximized() ? tr("Restore") : tr("Maximize"));
closeButton->setToolTip(tr("Close"));
#endif
}

@wangwenx190
Copy link
Owner

行,我处理下

@wangwenx190 wangwenx190 self-assigned this Nov 20, 2023
@wangwenx190 wangwenx190 added the bug Something isn't working label Nov 20, 2023
@kira-96
Copy link
Contributor Author

kira-96 commented Nov 20, 2023

2765d18 改的不彻底,还是会显示,我又改了一下。#326

wangwenx190 pushed a commit that referenced this issue Nov 20, 2023
Co-authored-by: yangzhenghan <yangzhenghan@sinap.ac.cn>
@wangwenx190
Copy link
Owner

确实忘记了,已经合并,谢谢!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants