3594 Commits

Author SHA1 Message Date
chenhongtao
a36ee58753 chore: use version from cmake
Log: use version from cmake
2023-05-11 15:44:40 +08:00
tsic404
f0108d1c41 fix: timedate size issue
when the sum of the pixel dimensions of the time font and the date font is the same as the height,
leave some space so the text doesn't look too crowded.

log: adjust timedate size
2023-05-11 14:03:29 +08:00
tsic404
83f264720c fix: popupwindow misjudgment
content should not more width than screen otherwise popupwindows must be out of bounds screen

log: as title
2023-05-11 13:50:17 +08:00
tsic404
79cab3fac8 chore: update translate
update translate

log:
2023-05-11 13:03:57 +08:00
tsic404
15e5a0fadb fix: popupwindow is out of bounds at the edge of the screen
set the minimum value of x of popupwindow to the current screen
and the maximum value to the maximum x of the current screen

log:
2023-05-11 05:03:37 +00:00
deepin-admin-bot
0a103e62bd chore: Sync by 2e5e092ba3
sync by github workflow

Log: none
Influence: none
2023-05-10 01:54:32 +00:00
tsic404
48a580117a chore: bump version 6.0.14
log: bump version 6.0.14
6.0.14
2023-05-09 01:47:04 +00: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
tsic404
1be4bebe0a fix: trash do not display when dock hide and readded into dock
relayout after updateToolArea otherwise plugin item size will set to 0

log:  only relayout after update visiable
2023-05-06 17:20:32 +08:00
chenhongtao
24ff57eb70 fix: popupwindow need click destkop twice to hide
Log: only not hide it when focus widget is QLineEdit
2023-05-06 16:01:32 +08: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
tsic404
5908ee1605 fix: set radius for tray inner window
make m_platformWindowHandle protected so subclass can connect to windowRadiusChanged signal,
which make traymainwindow radius changed follow mainwindow

log: make trymainwindows radius changed follow mainwindow
2023-05-06 13:16:56 +08:00
Zhang Dingyuan
dc77b8904d fix: window radius is not set
as title
2023-05-05 14:52:31 +08:00
tsic404
50bbc3cf01 fix: after screen-recorder finished, dock will coredump
When screen-recorder finish recording, will notify dock update item, and dock
will clean all item and readded back. But m_dragInfo->dockItem still point to
old item which has been cleaned.
So dock will coredump, while using this pointer to judge item can drag or not.

log: update m_dragInfo->dockItem pointer when dock itemCountChanged.
2023-05-05 05:21:49 +00:00
Hillwood Yang
9bfcf4580e fix: add missing library links
add missing library links

Log: Need link these libraries to make sure the build will be successful
2023-05-05 10:44:39 +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
zsien
1b5f9554d1 fix: fcitx5 keyboard tray icon blur
Choose the pixmap that fits best in size.
Fixes linuxdeepin/developer-center#4185
2023-04-27 17:13:18 +08:00
tsic404
a074108305 chore: bump version 6.0.13
log: bump version 6.0.13
6.0.13
2023-04-21 01:59:36 +00:00
tsic404
e6dbaa69bb fix: update appitem position when showing from hide
dock request to hide, set old position to appitem.
so need to update appitem position when show from hide state

log:
2023-04-21 01:36:08 +00: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
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