Skip to content
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

【deepin_V23_beta3】【一般】【立即】【发散测试】【内测反馈】【DDE】【启动器】更新升级至1215内测环境后,bloom-classic和bloom-classic-dack图标主题下启动器中图标样式展示异常,展示为黑色无法看清 #6480

Closed
xuqi27837288 opened this issue Dec 18, 2023 · 6 comments
Labels
回归通过 回归通过 许琪 许琪 陈可 陈可
Milestone

Comments

@xuqi27837288
Copy link

SUMMARY | 问题概要

必现问题

https://cooperation.uniontech.com/public/record/657fba203d37f72615b71daa

SOFTWARE/OS VERSIONS | 软件/系统版本信息

1.安装镜像:https://cdimage.uniontech.com/community/releases/23-Beta2/deepin-desktop-community-23-Beta2-amd64.iso

dde-launcher:6.0.18

PRE-REQUIREMENT | 预置条件

1、更新升级至1215内测环境

STEPS TO REPRODUCE | 复现步骤

设置图标主题为bloom-classic或bloom-classic-dack主题,观察启动器中图标的展示效果

OBSERVED RESULT | 观察到的结果

图标展示异常

截图_选择区域_20231218111239

image

EXPECTED RESULT | 期望的结果

图标展示正常

ADDITIONAL INFORMATION | 额外补充

No response

@babyfengfjx
Copy link

@kegechen 请安排优化~

@xuqi27837288 xuqi27837288 changed the title 【deepin_V23_beta3】【一般】【立即】【发散测试】【内测反馈】【DDE]】【启动器】更新升级至1215内测环境后,bloom-classic和bloom-classic-dack图标主题下启动器中图标样式展示异常,展示为黑色无法看清 【deepin_V23_beta3】【一般】【立即】【发散测试】【内测反馈】【DDE】【启动器】更新升级至1215内测环境后,bloom-classic和bloom-classic-dack图标主题下启动器中图标样式展示异常,展示为黑色无法看清 Dec 18, 2023
@kegechen
Copy link

kegechen commented Dec 19, 2023

是不是 libqt5xdgiconloader3 升级到 3.12.0 了,高版本(3.7.0)之后 xdgiconloader 图标用了 QSvgRenderer 绘制 svg
问题应该是 QSvgRenderer 的问题(不支持filer)。
image

@BLumia lxqt/libqtxdg#291 这个提交曾经尝试修复,不过上游没有合并。。

@kegechen
Copy link

@ArchieMeng 貌似还不能直接升级到最新。。
相关问题
#6411

kegechen added a commit to kegechen/libqtxdg that referenced this issue Dec 19, 2023
From: lxqt/libqtxdg#247
Use QImageReader instead of QSvgRender for XdgIconLoader
QSvgRender itself only support SVG 1.2 Tiny for rendering so SVGs
that more complex might not able to rendered properly. Thus, some
DE like KDE and DDE provides their own Qt icon engine and registered
them as for SVG icons, and seems that causes libqtxdg have issues, so
lxqt/libqtxdg/pull/246 was there.

But user or DE might still want to install or provide Qt image formats
plugins for better SVG files/icons rendering, using QSvgRender will
stop the Qt image formats plugin from being used.

Using QImageReader will still allow us avoiding the usage of Qt icon
engines, but kepts the ability to make Qt image formats plugin to
work properly.

This patch originally provided by @zccrs

Issue: linuxdeepin/developer-center#6480
@kegechen
Copy link

给 qtxdg 打上补丁,升级到 3.12.0-1deepin1 修复

@kegechen
Copy link

#6513 @xuqi27837288 测试一下

@xuqi27837288
Copy link
Author

xuqi27837288 commented Dec 19, 2023

【验证环境】:v23 beta2镜像
镜像:https://packagesupdate.uniontech.com/repo/uos-professional/image-beige/CUSTOM/lichenggang/20231031
仓库:deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main dde community commercial
内核:Linux test-PC 6.1.32-amd64-desktop-hwe
【验证步骤】:问题单中描述的步骤
【验证结果】:回归测试通过
【截图录屏】:

image

@xuqi27837288 xuqi27837288 added 回归通过 回归通过 许琪 许琪 陈可 陈可 labels Dec 19, 2023
@xuqi27837288 xuqi27837288 moved this to CLOSED in V23 Beta2 Dec 19, 2023
deepin-ci-robot pushed a commit to deepin-community/libqtxdg that referenced this issue Dec 19, 2023
From: lxqt/libqtxdg#247
Use QImageReader instead of QSvgRender for XdgIconLoader
QSvgRender itself only support SVG 1.2 Tiny for rendering so SVGs
that more complex might not able to rendered properly. Thus, some
DE like KDE and DDE provides their own Qt icon engine and registered
them as for SVG icons, and seems that causes libqtxdg have issues, so
lxqt/libqtxdg/pull/246 was there.

But user or DE might still want to install or provide Qt image formats
plugins for better SVG files/icons rendering, using QSvgRender will
stop the Qt image formats plugin from being used.

Using QImageReader will still allow us avoiding the usage of Qt icon
engines, but kepts the ability to make Qt image formats plugin to
work properly.

This patch originally provided by @zccrs

Issue: linuxdeepin/developer-center#6480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
回归通过 回归通过 许琪 许琪 陈可 陈可
Projects
Status: CLOSED
Development

No branches or pull requests

3 participants