3521 Commits

Author SHA1 Message Date
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
tsic404
532350f48d fix: unable drag desktop into dock
RequestDock dbus call, only local path passed into

log: fix unable drag desktop info dock and make it docked
2023-04-20 05:52:34 +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
chenhongtao
384fdc46ba chore: bad code fix
bad indentation of else and unused count value

Log: find some bad code and fix
2023-04-18 11:33:54 +08:00
tsic404
f90bd54c1f chore: bump version 6.0.12
log: bump version 6.0.12
6.0.12
2023-04-17 10:37:15 +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
tsic404
b2efe239b6 fix: SNI tray menu unable to click
when first left click SNI tray menu and app without activate to show, will get a dbus error and recall right menu
this will case menu unable to click, move recall to another thread

log: fix SNI tray menu unable to click
2023-04-14 14:09:29 +08:00
tsic404
96dcb71fdd chore: bump version 6.0.11
log: bump version 6.0.11
6.0.11
2023-04-14 12:23:23 +08:00
tsic404
7abeebc7eb fix: fix timedate display widget size error
when font size changed, timedate widget need to update width and height.
call DFontSizeManager only when font size changed

log: fix timedate widget size erorr
2023-04-14 11:10:22 +08:00
chenhongtao
c2ba4e4971 fix: when there is focus on dockpopupwindow, it hide
Log: fix when there is focus and dockpopupwindow hide
2023-04-12 09:08:32 +00:00
tsic404
1bb0c628f3 fix: modify the color of the area not covered by the slider
paint two roundedRect one is slider background, another is slider has covered

log:
2023-04-12 13:08:07 +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
6242e642bc fix: when multiscreen connected non-primary display unable to click popupwindow
when devicePixelRatio > 1, there is a gap between multiple screens,
before currentPos multiplying by the devicePixelAatio need to subtract the topleft of the current screen
and then replus the current screen topleft

log: fix wrong multiScreen click pos
2023-04-11 13:25:56 +08:00
tsic404
59f462ff09 fix: fix xembed tray flew out
xcb create window must map to xembedtray widget, otherwise the window will fly out

log: fix xembed tray fly out
2023-04-07 18:11:04 +08:00
wineee
c89b3cce44 fix: dont hide all close button
Log: 由于相关接口被移除,暂时无法正确设置 m_closeAble 属性,暂改为默认 true
Task: https://github.com/linuxdeepin/developer-center/issues/3608
2023-04-07 02:11:11 +00:00
tsic404
5743806ad8 fix: fix timedate alway request timedate format
use local var to store format, update those when got changed signals

log:
2023-04-04 15:17:42 +08: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
0781957e4e chore: bump version to 6.0.10
[ bugfix ]
  * fix: dock active color not follow dde-control-center
  * fix: tray overhanging text
  * fix: tray always reset while dragging quickItem to tray
  * fix: splash preview container
  * fix: unmute when changed volume
  * fix: expandwidget tray item can be selected
  * fix: plugin back button not support hiDPI
  * fix: bluetooth not refresh button
  * fix: Icon of trashs  is too large in small dock
  * fix: radius for tray background
  * fix: abnormal display of sound output device list
  * fix: launcher shown in a wrong location while multi screens connected
  * fix: multitasking unable to remove
  * fix: unable call selected app preview window

log:
6.0.10
2023-03-29 18:08:01 +08:00
tsic404
614588f630 chore(CI): add OBS workflows
add OBS workflows and modify PKGBUILD support OBS build

log:
2023-03-28 11:32:30 +08:00
dengbo
e4276da661 fix: 任务栏图标样式显示异常
任务栏图标的高亮色跟随系统主题高亮色变化

Log: 修复任务栏图标样式显示异常的问题
Resolve: https://github.com/linuxdeepin/developer-center/issues/3921
Influence: 任务栏图标显示
2023-03-26 19:16:20 +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
32bdd7be5e fix: dock crashed while gragging sniItem
Log: 修复拖拽sni控件时引起的dock崩溃
2023-03-24 14:53:23 +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
9661d3568f fix: tray always reset while dragging quickItem to trayDock
resolve: https://github.com/linuxdeepin/developer-center/issues/3915

Log: 修复拖动快捷插件到托盘上时托盘总被重置的问题
2023-03-22 11:03:46 +08:00
heyuming
2dcd8ce83e chore: update to C++17
Log: 升级到C++17
2023-03-22 10:13:44 +08:00
heyuming
102cd25748 fix: incorrect dbus xml parameter
Log: 修复不正确的dbus xml参数
2023-03-22 10:13:44 +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
tsic404
e7b1bf420e fix: 修复预览花屏问题
更改传递tmp下文件描述符为管道文件描述符,使用管道传递预览图片数据

log: 修复预览花屏问题
2023-03-16 20:25:20 +08:00
heyuming
64fe544d0c fix: tray menu is hidden before function call
Log: 修复托盘在菜单中的行为被调用前被隐藏
2023-03-15 14:07:52 +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
tsic404
c92497ce03 fix: remove tray item selected status
expandIcon can't be drag but can be selected,
selected status generated by undraggable expandIcon.
by removing selectable attr, selected status will
never generated.

log:
2023-03-15 02:54:24 +00:00
tsic404
8f88b6bec5 chore: use DDE for current desktop name
使用DDE作为当前桌面环境的名称

log:
2023-03-15 01:47:29 +00:00
tsic404
7a8f2c835a fix: fix some window preview crash
get a QImage copy data to prevent XDestroyImage clear image data which make a empty QImage

log:
2023-03-14 09:13:03 +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
Ye ShanShan
2ff4a236a6 fix: Missing radius for tray's background
Add a common function to draw special background.
  Sub widget request a highlight background for parent.

Issue: https://github.com/linuxdeepin/developer-center/issues/3744
2023-03-14 09:03:34 +08:00
chenhongtao
cfa53d0b1e chore: remove some deprecated function
Log: remove deprecated function
2023-03-13 16:18:12 +08:00
chenhongtao
649dc72742 chore: chmod -x source files
Log: chmod -x
2023-03-10 16:04:32 +08:00
chenhongtao
cf14d9879f fix: layout parent
one widget should only have one layout,
others should not mark parent as this

Log: fix layout parent
2023-03-10 16:04:32 +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
zsien
36adcd8fc0 fix: 修复任务栏圆角跟随窗口圆角变化
Fixes linuxdeepin/developer-center#3601
2023-03-10 11:20:06 +08:00
tsic404
8f661d8d8b fix: AA_EnableHighDpiScaling setted after QGuiApplication constructed.
According to Qt's documentation https://doc.qt.io/qt-5/qt.html#ApplicationAttribute-enum
AA_EnableHighDpiScaling need to be set before QGuiApplication constructed.

log:
2023-03-09 13:01:54 +08:00
chenhongtao
724edd7514 chore: move configure to CMAKE_CURRENT_BINARY_DIR
Log: move configure location
2023-03-07 10:11:12 +08:00