1335 Commits

Author SHA1 Message Date
tsic404
5f6cacdf2a refactor: Rewrite the calling method of dock settings
Rewrite the calling method of dock settings, using the new dconfig interface instead of AM's dbus interface

log: as title
2023-07-18 07:35:19 +00:00
tsic404
eb33819302 refactor: rewrite encapsulation of the dconfig
log: as title
2023-07-18 07:35:19 +00:00
kamiyadm
101dec15ca
fix: the name of sound device shouldn't be edited (#880)
We can edit the name of sound device in the dock, it should not
be happened. Just set the item uneditable.

Log:

Co-authored-by: kamiyadm <chenhuixing@deepin.org>
2023-07-05 10:28:18 +08:00
dengbo
fb3f888157
fix: 任务栏声音面板中出现异常的悬浮提示 (#876)
取消声音面板设备悬浮提示

Log: 修复任务栏声音面板中出现异常的悬浮提示的问题
Influence: 任务栏声音面板正常显示

Co-authored-by: dengbo <dengbo@deepin.org>
2023-07-05 09:53:48 +08:00
李成刚
e245821f93 fix: 修复'Brightness' 文本裁切问题
修复文本裁切问题

Log: 调整标题栏高度解决显示不全的问题
Influence: 文本显示
Resolve: https://github.com/linuxdeepin/developer-center/issues/4759
2023-06-27 05:34:18 +00:00
李成刚
e5ce99533c fix: text missing translation
text missing translation

Log: 缺少文本翻译
Influence: 文本显示
Resolve: https://github.com/linuxdeepin/developer-center/issues/4384
2023-06-27 05:34:18 +00:00
李成刚
7a7b7d9235 fix: Fix the incomplete display of text when font 20 is scaled to 1.25
修复字体20缩放1.25时的文本显示不全

Log: 调整高度解决文本内容裁切问题
Influence: 电脑协同显示区域
Resolve: https://github.com/linuxdeepin/developer-center/issues/4382
2023-06-27 05:34:18 +00:00
tsic404
32f8fe02bf fix: DGuiApplicationHelper not found
DGuiApplicationHelper has been moved into DGui, so using Dtk::Gui instead of Dtk::Widget

log: as title
2023-06-20 01:47:37 +00:00
tsic404
f48785876e chore: remove QAccessible
tests has been disabled, and QAccessible is not used in right ways

log: as title
2023-05-31 03:21:28 +00:00
tsic404
223a9df0d7 fix: incorrect trash status when deleting file in other partition
The old implementation only monitor the trash folder in user's partition
It will make other partition's recycle bin out of monitor,
Now use GIO to monitor all trash and empty trash

log: Fix the trash icon status might out-of-sync in some cases
2023-05-31 03:21:28 +00:00
ck
07b4efd267 fix: blank in the plugin area after recorder screen
deepin-screen-recorder dock 插件有 Attribute_ForceDock flag
DockPluginController 判断是否需要存在dock上的逻辑判断了这个逻辑
在 valuechanged 时重新又把该插件加入到了dock上。没有录制中该插件没有图标

Issue: https://github.com/linuxdeepin/developer-center/issues/4215
2023-05-11 17:29:26 +08:00
tsic404
579cf0afe9 fix: sound checked item highlight do not follow theme
1. update sound icon when theme changed
2. add built-in dci resources to prevent it become a white icon when changed into theme without dci resources

log: update sound icon when theme changed
2023-05-08 09:15:41 +00:00
chenhongtao
31958dfe1b feat: use bluetooth icon from theme
Log: use bluetooth icon from theme
2023-05-08 08:31:57 +00:00
wangyixue
69cec726c3 fix: wrong use of dci icon
DCI iconengine will automatically switch to correct icon when theme
type changes. Application should not do anything after getting the
pixmap.

Log: fix wrong use of dci icon
2023-05-06 06:12:56 +00:00
tsic404
af35000028 fix: add multitasking-view and show-desktop dcc icon
add multitasking-view and show-desktop dcc icon

log:
2023-05-06 14:12:09 +08:00
tsic404
119d72b0ea fix: adjust sound plugin
remove old v20 code, adjust sound devices widget style
run dbus call in another thread to prevent main thread get into wait.
make deviceList item undrageble, and sound setting clickable.

log:
2023-05-06 14:11:50 +08:00
rewine
cda8e2c746 fix: must set CMAKE_INSTALL_PREFIX before GNUInstallDirs
Log:
Never modify the value of CMAKE_INSTALL_PREFIX after including GNUInstallDirs ,Otherwise incorrect CMAKE_INSTALL_FULL_XXXX values will be computed
2023-05-04 06:21:23 +00:00
Stwsyburg
a1af30c814 Fix: optimize QFile operation
Catch QFile open error and add qWarning when fail

Log: optimize QFile operation
2023-04-28 10:04:17 +08:00
tsic404
8bf079219a fix: click undock menu which make fixed_plugin hide always
The removal will actually remove the plugin, which will make the removed plugin inaccessible,
making it impossible to set the plug-in to the dock in the dde-control-center.

Therefore, instead of calling the remove method, set the plugin to hide from the dock.

log: make fixed_plugin hide instead of removal when click ondock
2023-04-20 07:19:00 +00:00
chenhongtao
82caae4c83 fix: not left mouse click will also trigger the command of plugin
Log: make only Left mouse click will trigger the command of plugin
2023-04-18 13:40:53 +08:00
York Lee
8bbccb27b9 docs: 修改了 dde-dock/plugins/plugin-guide/plugins-developer-guide.md 的几处问题
line:579 这一段话可以放在代码块外面
	line:744 拼写错误,应该是label而不是lable
	line:780 这一段注释可以作为正文放在代码块外面
	共3处修改。

Log: 修改了 dde-dock/plugins/plugin-guide/plugins-developer-guide.md 的几处问题
2023-04-17 02:36:02 +00:00
ck
67d098ed1e fix: dci icon size incorrect
由于 dci 图标殷勤不再乘以缩放,这里不需要再次处理了
见: https://github.com/linuxdeepin/qt5integration/pull/149

Change-Id: I88b9959be0ec88fb3e420b60d7badc5aef772f1d
2023-04-17 02:10:31 +00:00
justforlxz
430e92adbc
fix: tray background color not set alpha
as title
2023-04-14 16:40:09 +08:00
dengbo
b853cfa40e
fix: 任务栏快捷面板的电池插件图标显示异常 (#822)
蓝牙插件和电源插件属于快捷面板区域插件, 不应该返回空的图标

Log: 修复任务栏快捷面板的电池插件图标显示异常的问题
Resolve: https://github.com/linuxdeepin/developer-center/issues/4004
Influence: 任务栏快捷面板显示
2023-04-12 09:57:30 +08:00
Yutao Meng
ec5c447264 feat: DockPopupWindow改用DBlurEffectWidget实现
DockPopupWindow改为使用DBlurEffectWidget来实现新的设计,以及摆脱原来DArrowRectangle出现的侧边任务栏PopupWindow圆角显示不对称的问题.

Log: DockPopupWindow改用DBlurEffectWidget实现

Signed-off-by: Yutao Meng <mengyutao@uniontech.com>
2023-04-11 08:40:17 +00:00
tsic404
89cd24ad72 fix: fix multitasking no response sometime
fix multitasking no reponse after click sometime

log:
2023-04-04 13:09:58 +08:00
tsic404
fe75a3af39 fix: fix FixedLlugin disapprear after drag
after drag nothing deal with item update

log:
2023-04-04 13:09:58 +08:00
wangyixue
b69a220b05 fix: disk popup does not hide
Disk popup does hide after all disks are ejected. Hide popup of a
pluin in itemRemoved, and notify the DockPopupWindow to hide too.

Log: fix disk popup does not hide
Issue: 3813
2023-04-04 11:20:47 +08:00
tsic404
4a67d10770 chore: fix build warning
fix package warning
1. replace deprecated QPalette::ColorRole Background and Foreground
2. replace deprecated Qt::SystemLocaleLongDate
3. replace deprecated QMouseEvent constructor
4. CMakeLists.txt rectification

log: remove build warnings
2023-03-26 19:16:00 +08:00
heyuming
83865c93de fix: set limit width to textLabel to correct text elide behavior
Log: 设置宽度限制以纠正文本省略行为
2023-03-23 09:56:03 +08:00
heyuming
79d7fb9e0f fix: fix quick control panel display text incorrectly when fontSize set to 20
修复dde-dock的逻辑,但自定义插件需要各应用自己修复相关逻辑

Log: 修复当字体大小设置为20时控制面板字体显示错误
2023-03-21 13:49:28 +08:00
Zhang Dingyuan
c65ddcdbc9 fix: mute icon not sync changed
add signal
2023-03-15 04:32:30 +00:00
Zhang Dingyuan
09b5434d3c fix: unmute when changed volume
Closed: https://github.com/linuxdeepin/developer-center/issues/3812
2023-03-15 04:32:30 +00:00
Zhang Dingyuan
e8fc0b7735 fix: plugin back button not support hiDPI
Closed: https://github.com/linuxdeepin/developer-center/issues/3748
2023-03-14 06:19:03 +00:00
Zhang Dingyuan
6102475daf fix: bluetooth not refresh button
Closed: https://github.com/linuxdeepin/developer-center/issues/3809
2023-03-14 05:05:54 +00:00
Ye ShanShan
e9674ff8f5 fix: Trash's icon is too large in small dock
Modify Trash Icon's calculation way, which is flowing on LauncherItem.

Issue: https://github.com/linuxdeepin/developer-center/issues/3588
2023-03-14 09:48:22 +08:00
chenhongtao
cfa53d0b1e chore: remove some deprecated function
Log: remove deprecated function
2023-03-13 16:18:12 +08:00
zsien
53e68b9435 fix: abnormal display of sound output device list
Delete custom delegates and use the native DListView state.
* Fix abnormal display of checked icons
* Fix abnormal display of edit box.

Fixes linuxdeepin/developer-center#3793
Fixes linuxdeepin/developer-center#3741
2023-03-10 12:55:45 +08:00
Felix Yan
2cb2a682c6 chore: correct typos in trashwidget.cpp
Correct typos in trashwidget.cpp
2023-02-23 14:43:03 +08:00
Felix Yan
3a6c41c1ea chore: correct a typo in popupcontrolwidget.cpp
Correct a typo in popupcontrolwidget.cpp
2023-02-21 21:40:52 +08:00
dengbo
4ebedb53d2
fix: 控制中心设置的电源选项任务栏未生效 (#779)
任务栏电源配置原来管理gsetting配置替换成dconfig配置

Log: 修复控制中心设置的电源选项任务栏未生效的问题
Bug: https://github.com/linuxdeepin/developer-center/issues/3768
Influence: 任务栏电池信息显示
2023-02-21 15:57:42 +08:00
dengbo
16ca6eaee9
fix: 任务栏多任务视图不能正常移除 (#771)
1.通过任务栏右键移除按钮时,移除对应插件
2.显示桌面和多任务视图需要加入到快捷插件显示中

Log: 修复任务栏多任务视图不能正常移除的问题
Bug: https://github.com/linuxdeepin/developer-center/issues/3599
Influence: 任务栏显示桌面合多任务视图插件的显示
2023-02-21 13:47:38 +08:00
Tsic
d57ec415cd
fix(build): fix CMakeLists merge error (#772)
fix CMakelists error and use find_pacakge Dwayland
fix archlinux build dep

log:
2023-02-20 02:36:55 +00:00
tsic404
2f185bf3ce chore: resolve v23 merge conflicts
log:
2023-02-16 15:08:28 +08:00
donghualin
0a32983443 fix: 修复切换主题快捷面板插件主题颜色没有变化
响应主题变化的信号,在切换主题后实时获取快捷面板的图标

Log: 修复快捷面板插件图标在切换主题后颜色没有变化的问题
Influence: 打开快捷面板,切换主题,观察图标颜色显示是否正常
Bug: https://pms.uniontech.com/bug-view-184085.html
Change-Id: Iacffcacf63413ba8d85ae3edf28bf1ff58242036
2023-02-02 09:52:35 +08:00
donghualin
5652e2a49a fix: 修复系统主题变化后快捷面板电池颜色显示错误的问题
1、电池图标响应主题变化来重新设置图标
2、修改控制中心电池名称的文案

Log: 修改系统主题变化后快捷面板电池颜色显示错误的问题
Influence: 打开快捷面板,在控制中心更改系统颜色,观察快捷面板中系统电池图标是否跟随系统颜色变化
Bug: https://pms.uniontech.com/bug-view-184085.html
Change-Id: If02b8800b4d90696c2dc74ac43ebc230233f0f58
2023-02-01 13:29:58 +08:00
donghualin
da1b436796 fix: 修复高缩放率下图标显示异常的问题
1、高缩放率下计算图标任务栏尺寸需要乘以缩放率的数值
2、加载声音图标带上具体的后缀名,否则会出现图标显示异常
3、自定义图标的尺寸的显示,需要重新计算图标的宽度

Log: 修复高分屏下图标显示异常
Influence: 高分屏,高缩放率,观察任务栏插件区域的图标
Bug: https://pms.uniontech.com/bug-view-183543.html
Bug: https://pms.uniontech.com/bug-view-184089.html
Change-Id: Iaa8833b20608129e5c10c8614702a9e5afeae2d9
2023-01-31 21:27:52 +08:00
caixiangrong
50dad25442 fix: 修改插件区域出现重复的电池图标问题
1.修改电池图标状态刷新处理
2.将电池插件改到快捷面板内
3.快捷面板组合图标改为默认图标

Log: 修改插件区域出现重复的电池图标问题
Bug: https://pms.uniontech.com/bug-view-184085.html
Influence: 任务栏-电池图标状态刷新
Change-Id: I8af36acfd9a42efa186338c115f33255af5c1fa6
2023-01-31 11:26:09 +08:00
donghualin
1be68d06b2 fix: 修复移除蓝牙设备后任务栏插件不消失的问题
1、任务栏插件显示区域移除对配置变化的响应,该功能已经在DockPluginController中实现
2、在配置变化的时候,判断插件是否可以加载的条件增加了判断该插件是否被加载
3、修复拖动快捷面板的问题

Log: 修复移除蓝牙设备后任务栏插件不消失的问题
Influence: 插上蓝牙,从控制中心勾选该插件,在任务栏显示,然后移除蓝牙设备,观察任务栏的蓝牙图标是否消失
Bug: https://pms.uniontech.com/bug-view-181945.html
Change-Id: Ib207f4f0e2ceeb4b100c57b1f3e3899a802b8ed7
2023-01-16 17:08:59 +08:00
donghualin
f295b434f8 fix: 修复快捷面板插件子面板无法关闭主面板的问题
在子插件点击相应的功能按钮的时候,调用requestSetAppletVisible方法来隐藏面板

Log: 优化快捷面板插件功能
Influence: 进入快捷面板的蓝牙子界面点击设置,进入声音子界面点击设置,进入亮度调整子界面点击设置,在弹出对应的功能后,观察快捷面板是否隐藏
Task: https://pms.uniontech.com/task-view-222353.html
Change-Id: Ifeb450497c17220545fbda10c159f1e50b00c534
2023-01-14 19:45:12 +08:00