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

窗口左上角应用图标出现锯齿状 #347

Closed
iCancely opened this issue Mar 6, 2023 · 7 comments
Closed

窗口左上角应用图标出现锯齿状 #347

iCancely opened this issue Mar 6, 2023 · 7 comments
Assignees

Comments

@iCancely
Copy link

iCancely commented Mar 6, 2023

【环境】
仓库地址:
deb http://pools.uniontech.com/desktop-professional eagle main contrib non-free
deb http://pools.uniontech.com/ppa/dde-eagle eagle/1060 main contrib non-free

libdtkgui5 5.6.8
libdtkwidget5 5.6.8
dde-qt5integration 5.6.5

【前置条件】
电脑分辨率:2560x1600
缩放:1.5倍

【问题】
所有应用左上角的应用图标出现明显锯齿,希望没有锯齿,平滑显示。

image

@zccrs
Copy link
Member

zccrs commented Mar 6, 2023

PR合入前要通过 @iCancely 的确认。

@xzl01 xzl01 moved this to Todo in DTK Roadmap Mar 10, 2023
@xzl01 xzl01 removed their assignment Mar 10, 2023
@kegechen
Copy link
Contributor

kegechen commented Mar 13, 2023

xdgiconloader.cpp-patch.zip

xdgiconloader 获取 pixmap 时较不同的方式(实际是Qt又乘以了一次缩放导致图片更大导致)

image

图1是缩放模糊的效果
图2是家加上 patch 重新编译的 libqtxdg 之后的效果

@kegechen kegechen self-assigned this Mar 13, 2023
@kegechen kegechen moved this from Todo to In Progress in V23 Beta Mar 13, 2023
@kegechen kegechen removed the status in V23 Beta Mar 13, 2023
@kegechen kegechen moved this to Todo in V23 Beta Mar 13, 2023
@zccrs
Copy link
Member

zccrs commented Mar 13, 2023

正好可以试一下新加的 KIconLoader linuxdeepin/dtkgui#135

@kegechen
Copy link
Contributor

kegechen commented Mar 13, 2023

正好可以试一下新加的 KIconLoader linuxdeepin/dtkgui#135

这个可以有,模糊是没有了,但是无法跟随xdg图标主题 @BLumia

image

@BLumia
Copy link
Member

BLumia commented Mar 13, 2023

但是无法跟随xdg图标主题

linuxdeepin/dtkgui#135 的这个使用 KIconEngine 时无法切主题的问题,目前判断是 KIconLoader 使用的 KIconTheme 的问题,具体还没细看,需要随后仔细看下。在解决这个问题之前,我会把对应的 PR 转成 draft 状态。

@kegechen
Copy link
Contributor

v23 不存在此问题。 因为v23上qtxdg版本是3.6已经包含了patch的部分

@kegechen
Copy link
Contributor

v23不存在此问题。只在专业版有。专业版可以加上此patch。

@github-project-automation github-project-automation bot moved this from bug等待解决 to 处理完成 in DTK Roadmap Mar 15, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in V23 Beta Mar 15, 2023
@kegechen kegechen assigned babyfengfjx and unassigned kegechen Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: DONE
Status: Waiting Test
Development

No branches or pull requests

6 participants