-
Notifications
You must be signed in to change notification settings - Fork 73
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】【launchpad】launchpad升级过程中,部分应用的图标消失 #6291
Comments
@BLumia 请进行优化。 |
dsvg 无法显示 com.antutu.benchmark.svg,但qsvg可以, |
不过 // qtsvghandler
static QSvgNode *createImageNode(QSvgNode *parent,
const QXmlStreamAttributes &attributes,
QSvgHandler *handler){
...
if (filename.startsWith(QLatin1String("data"))) {
int idx = filename.lastIndexOf(QLatin1String("base64,"));
...
}
// cairo
static cairo_bool_t
render_element_image (cairo_svg_glyph_render_t *svg_render,
cairo_svg_element_t *element,
cairo_bool_t end_tag)
{
...
if (!string_match (&data, "data:image/png;base64,"))
return FALSE;
...
} |
@babyfengfjx 可以尝试推动安兔兔改图标文件。 @zccrs |
@kegechen 这个问题应该是因为我们采用了新的方案不兼容以前的内容,可以后面提供兼容方案,兼容此类不规范应用的图标显示问题。 按照目前系统的影响力来说,找安兔兔官方去修改也不太现实,此类应用可能还有很多,可能并非这一款,到时候可能都会遇到需要推动应用官方去整改的问题。 |
可能和图标大小有关。 @BLumia lanchpad是不是用的图标大小 8x8, 老版本启动器图标大小应该不是 8x8
|
dde-launchpad里用的是dtkdeclarative的icon大小,为22X22的, |
DSvgRender can't resolve some icon, e.g: `xlink:href="data:img/png;base64` and we can find `png` firstly by modifing size to properly, Issue: linuxdeepin/developer-center#6291
应用图标里面写错了不应该在我们这边适配。老launcher之所以显示是应为没有用到对应的错误图标,他提供了8个大小图标,有一个svg是错误的。不同大小可能就是用到不同的图标。我们能做的只有改变图标大小不使用这个错误的图标,而不是帮他去解决这个错误的写法 另外 【此类应用还有很多】 应该不会很多应用都写错了。 |
DSvgRender can't resolve some icon, e.g: `xlink:href="data:img/png;base64` and we can find `png` firstly by modifing size to properly, Issue: linuxdeepin/developer-center#6291
SUMMARY | 问题概要
【关联集成】:issue: #6270
SOFTWARE/OS VERSIONS | 软件/系统版本信息
PRE-REQUIREMENT | 预置条件
应用商店中下载应用:安兔兔测评
STEPS TO REPRODUCE | 复现步骤
OBSERVED RESULT | 观察到的结果
应用“安兔兔评测”前图标显示为空白
EXPECTED RESULT | 期望的结果
应用“安兔兔评测”前图标正常显示
ADDITIONAL INFORMATION | 额外补充
No response
The text was updated successfully, but these errors were encountered: