Commit Graph

426 Commits

Author SHA1 Message Date
deepin-ci-robot b23ef7058a chore: update changelog
Release 5.6.32.
2024-07-10 11:08:41 +08:00
ck 8900594c9f chore: dci-icon-theme tool tweak
webp icon size should not be  fixed at 256x256
2024-07-01 15:24:57 +08:00
ck da12696b21 Revert "fix: jagged edges on ddciicon"
This reverts commit da27fb74b3.

Issue: https://github.com/linuxdeepin/developer-center/issues/9443
2024-07-01 15:24:57 +08:00
deepin-ci-robot 9c06164a2e chore: update changelog
Release 5.6.31.
2024-06-27 17:57:06 +08:00
zhangkun da27fb74b3 fix: jagged edges on ddciicon
Use smooth scaling before drawing to smaller QImage

Issue: https://github.com/linuxdeepin/developer-center/issues/8691
2024-06-20 10:14:03 +08:00
deepin-ci-robot 7fee7b54b1 chore: update changelog
Release 5.6.30.
2024-05-31 15:28:05 +08:00
deepin-ci-robot 46d504a819 chore: update changelog
Release 5.6.29.
2024-05-16 10:22:36 +08:00
ck 1c814a9217 fix: create icon engine faild on Qt6
- 不需要考虑 DontFallbackToQIconFromTheme 这里是直接 new QIconLoaderEngine
- qErrnoWarning ==> qWarning 不需要 lasterror

Issue: https://github.com/linuxdeepin/developer-center/issues/8436,https://github.com/linuxdeepin/developer-center/issues/8241
2024-05-13 11:04:07 +08:00
deepin-ci-robot 51c7e35161 chore: update changelog
Release 5.6.28.
2024-04-30 15:40:05 +08:00
ck aeaccd30ce feat: dci-icon-theme support multiple icon size
- add error log(callback)
- support multiple size
- update version to 0.0.5

e.g.
```
ls /usr/share/icons/vintage/apps
128  16  24  32  48  64  96

dci-icon-theme /usr/share/icons/vintage/apps -o /tmp/dcis/vintage -O 3=98

dci --tree /tmp/vintage/onboard.dci
/
├── 16
│   ├── normal.dark
│   │   └── 3
│   │       └── 1.webp -> /16/normal.light/3/1.webp
│   └── normal.light
│       └── 3
│           └── 1.webp
└── 24
    ├── normal.dark
    │   └── 3
    │       └── 1.webp -> /24/normal.light/3/1.webp
    └── normal.light
        └── 3
            └── 1.webp
...

```
2024-04-28 13:22:44 +08:00
Ye ShanShan 1b9c238bbc fix: missing initialization for baseFont of fontManager
We should update baseFont from qGuiApp not just when font changed.

Issue: https://github.com/linuxdeepin/developer-center/issues/8040
2024-04-23 09:36:48 +08:00
ck bffcdde9ea chore: add flag to disable noncache flag
- if flag is set always try create iconengine
- avoid too much logs
2024-04-23 09:32:58 +08:00
ck c42d36671e chore: insert to cache when icon is not null
check newIcon is Null
2024-04-23 09:32:58 +08:00
deepin-ci-robot f9607e01a4 chore: update changelog
Release 5.6.27.
2024-04-23 09:24:25 +08:00
Ye ShanShan 069289d500 fix: setWindowBlurAreaByWM only work once in qt6
`*(reinterpret_cast<const QVector<qint32>*>(&area)` is not equal
QVector<qint32> in qt6, it cause QVariant's equal function is
invalid. so we perform type conversion explicitly.
2024-04-09 17:52:43 +08:00
deepin-ci-robot 1aa57f8b4e chore: update changelog
Release 5.6.26.
2024-03-27 14:24:02 +08:00
Ye ShanShan 20f5fc1d3b feat: support to get specified palette
get the specified type of palette.
2024-03-26 11:46:50 +08:00
ck f08256da6e fix: PlaceholderText color tweak
原来 continue 只是不用 QColor()/黑色 覆盖
去掉 continue 才是使用 DPalette 中的 PlaceholderText 覆盖..

Issue: https://github.com/linuxdeepin/developer-center/issues/7554
2024-03-20 15:21:11 +08:00
YeShanShan 9d2673082e fix: wrong availableSizes for DIconProxyEngine
We should call proxy's `availableSizes` function.
  `availableSizes` always return empty list for icons, it causes
`QPainter::begin: Paint device returned engine == 0` when painting
to QImage.
2024-03-12 11:25:17 +08:00
deepin-ci-robot 4013869e09 chore: update changelog
Release 5.6.25.
2024-03-11 15:33:15 +08:00
wangfei 3b6cb2e9f2 fix: search icon can't change with theme change
add search icon in dark theme and light theme respectively

Issue: linuxdeepin/developer-center#6230
2024-03-01 09:58:37 +08:00
YeShanShan 8561847a13 fix: changed paletteType's config value
We only save config's value when caller update paletteType manually.
2024-03-01 09:54:05 +08:00
YeShanShan 754d5baff5 fix: app refresh slowly
ApplicationPaletteChange more times.
2024-02-01 11:51:55 +08:00
YeShanShan 0f079b0838 fix: font can't follow changes in qt6
`fontChanged` has been deprecated in qt6, and the signal can't
be emitted in `qdeepin` when font changed.
2024-02-01 09:36:36 +08:00
YeShanShan d5c1ae779b fix: icon doesn't update when iconTheme changed
Adding icon's themeName as a part of the cache key.
2024-01-23 18:10:26 +08:00
deepin-ci-robot 01af1cbc93 chore: update changelog
Release 5.6.22.
2024-01-12 14:21:04 +08:00
YeShanShan 2299e3137e chore: warning for connect
it reports `unique connections require a pointer to member
function of a QObject subclass` for UniqueConnection.
2024-01-10 10:07:36 +08:00
ComixHe 2d7435324c feat: enable xdgIconLoader under Qt6
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-09 15:51:56 +08:00
ck 7e3569496e fix: menu icon incorrect in dark mode
use texts/icons instead of actions/icons

Issue: https://github.com/linuxdeepin/developer-center/issues/6624
2024-01-09 15:51:26 +08:00
deepin-ci-robot 3ea215d46f chore: update changelog
Release 5.6.21.
2024-01-09 14:23:00 +08:00
ck 0dfac4ca6e chore: fix ut_dciiconengine failed on dark theme
add normal.dark, hover.dark, pressed.dark
2024-01-04 10:00:30 +08:00
ck df8a05e159 fix: DIconProxyEngine read not ensureEngine
read and write operations not match
Trying to construct an instance of an invalid type, type id:xxx
2024-01-04 10:00:30 +08:00
ck 9e0396c5e6 fix: debian build failed
invalid-profile-name-in-build-profiles-field nobin (in section for libdtkgui5-bin)
2024-01-04 09:46:19 +08:00
ck 8cabfe86aa fix: xdg icon loading failed with qt6
fallback to QIconLoaderEngine on DTK_DISABLE_LIBXDG

Issue: https://github.com/linuxdeepin/developer-center/issues/6459
2023-12-20 09:37:34 +08:00
ComixHe a66d7ccbf3 chore: update cmake version
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-30 10:59:51 +08:00
deepin-ci-robot d471c7221a chore: update changelog
Release 5.6.20.
2023-11-28 17:55:04 +08:00
ck d35f8e10fd feat: move ddesktopservices to dtkgui
- move ddesktopservices from dtkwidget to dtkgui
- add docs for ddesktopservice
- showFileItemPropertie ==> showFileItemProperty
- use dbus to check SoundEffect.Enabled instead of Gsettings

Issue: linuxdeepin/dtk#134
2023-11-15 09:48:31 +08:00
Yixue Wang 71aaf6a024 fix: indirect inclusion of QSharedPointer
ddciicon.h does not explicitly include QSharedPointer, leading to
incomplete type. Include QSharedPointer explicitly.

Log: fix indirect inclusion of QSharedPointer
2023-10-27 10:53:28 +08:00
Yixue Wang dec5572b9b chore: add synchronization workflow
Add synchronization workflow to synchronize to DTK6.

Log: add synchronization workflow
2023-10-27 10:53:15 +08:00
deepin-ci-robot 0e8a4e0b91 chore: update changelog
Release 5.6.19.
2023-10-24 02:33:26 +08:00
deepin-ci-robot d6434448c1 chore: update changelog
Release 5.6.18.
2023-10-18 15:16:21 +08:00
YeShanShan 3b2949bbf3 fix: Wrong IconName for DIconEngine
The icon names of `IconEngine` and `DIconProxyEngine` are
inconsistent when there is no such icon.

Issue: https://github.com/linuxdeepin/developer-center/issues/5760
2023-10-09 09:09:18 +08:00
Yixue Wang 75633580dc fix: missing link when disable librsvg
When disable librsvg, we use QtSvg to implement dsvgrenderer. Link
to Qt(5/6)::Svg target.

Log: fix missing link when disable librsvg
2023-10-06 09:34:25 +08:00
chenhongtao 6bee9a679d fix: when iconName is absolute path
Log:
2023-09-25 11:09:58 +08:00
ck 4f8d3739b5 fix: svg with filter attribute rendering exception
Svg filters attribute are not supported by QSvgRenderer, and
it will not be. see https://bugreports.qt.io/browse/QTBUG-9081

XdgIconLoaderEngine(>3.6) use QSvgRenderer to render svg instead of
svg icon engines https://github.com/lxqt/libqtxdg/blob/master/src/xdgiconloader/xdgiconloader.cpp#L814

Archlinux DTK_DISABLE_LIBRSVG=ON by default https://github.com/linuxdeepin/dtkgui/pull/130

- turn off DTK_DISABLE_LIBRSVG option
- force get pixmap from icon engines
- fix DSvgRenderer::toImage return null image with empty elementId on DTK_DISABLE_LIBRSVG
2023-09-25 09:00:34 +08:00
ck eef2f42fea chore: find qhelpgenerator from property
depends qttools5-dev or qt6-tools-dev
add Build-Profiles to ignore package build
(dpkg-buildpackage --build-profiles=nodoc)
2023-09-22 11:36:32 +08:00
YeShanShan 1da5179b08 fix: Wrong value of DPalette::TextLively
TextLively is different between light and dark theme, otherwise
it can't see clearly in light theme.
2023-09-14 16:30:33 +08:00
wangyixue de4dc37e39 chore: update changelog
Release 5.6.17.
2023-09-08 16:40:52 +08:00
Fan PengCheng f9d2dcdeb9 fix: 修复应用异常退出后颜色主题未保存的问题
修改为设置后立即保存

Log: 修复应用异常退出后颜色主题未保存的问题
Influence: 应用的主题选项在退出重启后未恢复上一次的选择
Bug: https://pms.uniontech.com/bug-view-201203.html
Change-Id: I73b92fd781737e757827bbb6aca87887c2c16ce9
2023-09-01 11:06:12 +08:00
deepin-ci-robot 69e79f8e3a chore: update changelog
Release 5.6.16.
2023-08-22 15:17:45 +08:00