-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【1061】【5.5.1.0】【显示】插件区的功能面板背景色调异常 #5187
Labels
P3
一般优先
Comments
SuperEffie
changed the title
【deepin_V23_beta2】【一般】【有空】【发散测试】【DTK】插件区的功能面板背景色调异常
【1061】【5.5.1.0】【显示】插件区的功能面板背景色调异常
Aug 15, 2023
@kegechen 专业版反馈的问题,请帮忙分析,原bug链接:https://pms.uniontech.com/bug-view-211649.html。 |
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWidget w;
w.setAttribute(Qt::WA_TranslucentBackground);
w.setAttribute(Qt::WA_NativeWindow); // DPlatformWindowHandle ensureWindowHandle
// fix
if (w.testAttribute(Qt::WA_TranslucentBackground))
{
QSurfaceFormat format = w.windowHandle()->format();
const int oldAlpha = format.alphaBufferSize();
if (oldAlpha != 8) {
format.setAlphaBufferSize(8);
w.windowHandle()->setFormat(format);
}
}
w.windowHandle()->winId(); // DWindowManagerHelper::currentWorkspaceWindows
w.resize({300, 300});
w.show();
return a.exec();
} |
|
kegechen
added a commit
to kegechen/dtkwidget
that referenced
this issue
Aug 17, 2023
kegechen
added a commit
to kegechen/dtkwidget
that referenced
this issue
Aug 17, 2023
kegechen
added a commit
to kegechen/dtkwidget
that referenced
this issue
Aug 18, 2023
kegechen
added a commit
to kegechen/dtkwidget
that referenced
this issue
Aug 25, 2023
kegechen
added a commit
to kegechen/dtkwidget
that referenced
this issue
Oct 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY | 问题概要
【bug链接】:https://pms.uniontech.com/bug-view-211649.html
【问题备注】:社区版v23 beta中暂未复现该bug
SOFTWARE/OS VERSIONS | 软件/系统版本信息
PRE-REQUIREMENT | 预置条件
无线网络和有线网络均为已连接
STEPS TO REPRODUCE | 复现步骤
1.测试机安装镜像+仓库升级,然后重启后进入系统,连接uniontech-m
2.打开任务栏插件区的音量、网络、磁盘、蓝牙等面板,检查面板背景色
OBSERVED RESULT | 观察到的结果
插件区的功能面板背景色调异常
EXPECTED RESULT | 期望的结果
插件区的功能面板背景色调显示正常
ADDITIONAL INFORMATION | 额外补充
No response
The text was updated successfully, but these errors were encountered: