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
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
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
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
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
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
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
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
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
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
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
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
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
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
102cd25748
fix: incorrect dbus xml parameter
...
Log: 修复不正确的dbus xml参数
2023-03-22 10:13:44 +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
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
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
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
tsic404
c7a02a8719
fix: fix launcher show at a worng postion when using multi screen
...
dock only set postion calculated by current screen
without curren screen x,y offset from top-left.
log: fix launcher appears in the wrong place
2023-03-03 12:27:06 +08:00
dengbo
7320406161
fix: 任务栏时间右键菜单时间格式显示错误 ( #781 )
...
当更改了时间显示格式后,需要更新下menu菜单的显示状态
Log: 修复任务栏时间右键菜单时间格式显示错误的问题
Resolve: https://github.com/linuxdeepin/developer-center/issues/3792
Influence: 任务栏时间插件右键菜单
2023-02-23 13:03:46 +08:00
dengbo
67c66658ee
fix: 任务栏窗口预览功能失效 ( #774 )
...
任务栏预览窗口的接口使用错误
Log: 修复任务栏窗口预览功能失效的问题
Bug: https://github.com/linuxdeepin/developer-center/issues/3779
Influence: 任务栏应用窗口预览
2023-02-20 17:40:07 +08:00
linxin
3f8593835d
fix: 关闭窗口特效后,任务栏托盘窗口出现四个黑角
...
任务栏托盘窗口实现采用的是自定义绘制,与窗口特效不兼容,改用继承DBlurEffectWidget类的方式实现窗口
Log: 修改托盘窗口绘制方式
Bug: https://github.com/linuxdeepin/developer-center/issues/3615
2023-02-20 14:46:37 +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
1049bfb1d9
fix: 修复任务栏位置发生变化提示消息没有跟着改变的问题
...
任务栏位置发生变化的时候,发送信号通知osd改变自己的位置
Log:
Influence: 调整任务栏位置,观察通知消息的位置是否跟着变化
Bug: https://pms.uniontech.com/bug-view-184231.html
Change-Id: I4f28d32fb6e57dd1a3fa929cd04dea8ec5d2816f
2023-02-03 17:35:16 +08:00
donghualin
b6002b55dc
fix: 修复取消回收站显示后显示桌面失效的问题
...
取消回收站显示后,显示桌面组件不会隐藏
Log: 修复取消回收站显示后显示桌面失效的问题
Influence: 从控制中心取消回收站的显示,观察高效模式下是否可以显示桌面
Bug: https://pms.uniontech.com/bug-view-180859.html
Change-Id: Ic9ed03f0c94177dc06cd2b19cd5492454b07bd45
2023-02-02 16:59:35 +08:00
donghualin
63c03f58a7
fix: 修复拖动插件到任务栏后所有插件都显示的问题
...
在保存所有插件的时候,判断该插件是否被移除,如果已经移除,则不保存到配置中
Log:
Influence: 默认所有的快捷面板中的插件都在任务栏显示,从控制中心取消所有插件的勾选,然后从快捷面板拖动一个插件到任务栏,观察任务栏插件显示情况
Bug: https://pms.uniontech.com/bug-view-181945.html
Change-Id: Ic523ff21107f8429c61db1abde6c8c97793bb59d
2023-02-01 15:36:21 +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
donghualin
a572f8a37d
fix: 修复从托盘拖动图标到任务栏引起崩溃的问题
...
将static_cast修改为dynamic_cast,增加了类型判断
Log:
Influence: 将托盘图标拖动到任务栏
Bug: https://pms.uniontech.com/bug-view-181945.html
Change-Id: I5b23088b8b7508d9a7cf2683a3a8571a57b82e38
2023-01-17 11:03:12 +08:00
donghualin
4800acce2c
fix: 修复从任务栏向上拖动插件引起任务栏崩溃的问题
...
遍历插件的时候,for循环中的容器错误
Log:
Influence: 从任务栏向上拖动插件,观察任务栏是否正常
Bug: https://pms.uniontech.com/bug-view-181945.html
Change-Id: Icf93d225680cd257e446855d03bb9434e07c27ea
2023-01-16 18:24:15 +08:00