justforlxz / deepin-topbar

Provide the function of the top bar, beautiful, easy to use.
https://blog.justforlxz.com/
GNU General Public License v3.0
326 stars 51 forks source link

Most system tray icons show default (not found) icon #134

Open Pauligrinder opened 5 years ago

Pauligrinder commented 5 years ago

For me, most apps in the tray show the default deepin file icon instead of the real app icon. If I'm using the tray in the dock instead, most of them work as they should, but not in the topbar.

I'm running Arch Linux with deepin-topbar 0.6.2-1 (and everything else just updated using pacman -Syu)

image

Is the topbar trying to use a certain size of icon that doesn't exist for all apps or why does this happen?

zhanghd-yd commented 5 years ago

我这边的具体情况是这样的: 1.使用electronic构建的应用图标(微信等)在topbar上显示的是deepin默认图标,其他程序正常,可能是electronic的托盘图标是不是直接设置的图片地址从而获取不到呢,不熟悉这个语言框架哎... 2.dde-dock里面的托盘是正常的,也包括使用electronic构建的应用也正常

测试环境是也是 Arch Linux with deepin-topbar 0.6.2-1 ,不一定排除系统的原因

占个位置: 透明功能好像有点问题,好像检测窗体变动的那俩函数判断有些复杂没看懂,我这边好像是有时候窗体从最大化缩小的时候,会先透明然后在瞬间就不透明了,不知道是哪里出了问题