3567 Commits

Author SHA1 Message Date
tsic404
f408bd89f4 chore: release version 6.0.22
log: as title
6.0.22
2023-09-14 05:24:18 +00:00
tsic404
25194dbf13 fix: tool appAreaWidget visible
layout->count() > 0 do not mean it contains tool plugins

log: call updateToolArea instead of using layout->count() > 0 when updateWidgetStatus
2023-09-11 05:12:20 +00:00
tsic404
00369b053b fix: datetime size error
datetimedisplayer get a wrong suitableSize during position changing,
when finished reupdate suitableSize

log: update suitableSize
2023-09-11 05:12:20 +00:00
YeShanShan
0f59177248 fix: Can't hide when DockPopupWindow deactivate
We hide the popupwindow when receiving QEvent::WindowDeactivate.

Issue: https://github.com/linuxdeepin/developer-center/issues/5405
2023-09-11 10:59:58 +08:00
tsic404
f6b2044bea fix: coredump empty tray when switch postion
Fashion mode and Efficent mode has same one tray, when tray is empty and
update orientation will cause endless reseize event which case dock stack boom

log: move TrayGridView Orientation update into TrayGridView
2023-09-11 01:56:27 +00:00
tsic404
111fb6c518 fix: tray get a wrong postion after displaymode changed
log: as title
2023-09-08 03:46:29 +00:00
tsic404
38871e8b0d fix: a space on tray without trash show
the m_mainBoxLayout last call addStretch, so tary show insert into second last

log: make tray insert into second last
2023-09-07 09:43:48 +00:00
tsic404
d24429904c chore: remove useless plugin
log: as title
2023-09-07 09:42:06 +00:00
tsic404
914ddce850 chore: bump version 6.0.21
log: as title
6.0.21
2023-09-07 09:41:32 +00:00
tsic404
7ed222aadb fix: datetime font size error
make font size adjusted by height or width not follow system font size

log: as title
2023-09-06 06:17:24 +00:00
tsic404
3cbb828863 feat: make unrecongnized application not dock on dde-dock
some unrecongnized app like electron app will unable to start when next click.
and custom desktopfile will not be supported by new applicationmanager1

log: not dock unrecongnized application
2023-09-06 05:04:50 +00:00
tsic404
4b9b283e5c fix: dock coredump when update recentApp invisible
itemRemove signal connect direct to taskmanager thread, and it will update recentApp visible status
which access qwidget in non-main thread.

log: make recentApp visible status update in main thread.
2023-09-06 05:04:50 +00:00
tsic404
e3c3dfe94d feat: when new am avaliable do not load custom desktopfile
log: as title
2023-09-06 05:04:50 +00:00
tsic404
75ebd8a0f2 feat: use new am dbus interface
log: as title
2023-09-06 05:04:50 +00:00
YeShanShan
e14b877696 feat: Remove dock-hotspot-plugin by Conflicts
To remove dock-hotspot-plugin.

Issue: https://github.com/linuxdeepin/developer-center/issues/5415
2023-09-06 10:07:53 +08:00
YeShanShan
406c5d8539 Revert "chore: update dependencies"
This reverts commit 9f092c2d01ad64ae6ee1458ae36f937f952034d7.
2023-09-06 10:07:53 +08:00
chenhongtao
5aa27ee40f fix: click preview container not active window
it connect to a empty signal

Log:
2023-09-05 07:59:21 +00:00
tsic404
e78be366bc chore: make trash not display in default
log: as title
2023-09-05 07:59:01 +00:00
chenhongtao
2ccf74dd35 chore: support qCDebug
Log:
2023-09-04 15:19:20 +08:00
chenhongtao
41d27c5ad7 chore: commit unused qdebug, and update log format
Log:
2023-09-04 15:19:20 +08:00
chenhongtao
bdb0dc3b86 fix: brightness update, update main view slider
Log:
2023-09-04 15:19:20 +08:00
tsic404
d1b37b045a fix: add lost windowSizeChanged Signal
log: as title
2023-08-29 02:04:27 +00:00
tsic404
811fc172d7 chore: bump version 6.0.20
log: as title
6.0.20
2023-08-25 09:55:02 +00:00
tsic404
e4b9d8e695 fix: no displayModeChanged signal
log: as title
2023-08-25 01:29:45 +00:00
tsic404
0e5aab95f5 fix: dock autohide even trayGridWidget show
log: prevent dock hide as dde-launcher show shen trayGridWIdget show
2023-08-24 05:13:40 +00:00
tsic404
5d87a44ac4 fix: adjust the slider to set the sound multiple times
log: add a timer to set once in 50 ms
2023-08-23 08:21:54 +00:00
tsic404
9f71814849 fix: add hideModeChanged signal
log: as title
2023-08-23 03:01:33 +00:00
tsic404
e169dcf4de fix: xebmbedtary click get no response in Efficient mode
The tray in fashion mode is not the same object as the tray in efficient
mode, and only one xembedtray is vaild, so there will be a contention
between the two. The latter xembedtray who call reparent() will be the vaild
one. So drag from expandiconwidget, the xembed tray click in the efficient
mode get no response while the tray click get response when switching from
the fashion mode.

log: make tray(both fashion and efficient mode) to be one object
2023-08-18 02:19:23 +00:00
tsic404
265cbbec13 chore: bump version 6.0.19
log: as title
6.0.19
2023-08-10 07:15:57 +00:00
Cloud
dfe4514981 feat: add bluetooth battery
add bluetooth battery
2023-08-09 02:52:35 +00:00
tsic404
7f554a1da5 fix: coredump when open jetbrains-toolbox
initMenu failed to create menu which make m_menu is still nullptr

log: as title
2023-08-07 04:27:49 +00:00
tsic404
3da8943417 fix: not show with launcher when hide
add lost launcherFront dbus signal

log: as title
2023-08-04 16:59:05 +08:00
tsic404
e4dde7b5a1 fix: click always activate application in TrayGridWidget
expandiconwidget get focus when click tray, so it will alway activate application because lost focus.

log: set WindowDoesNotAcceptFocus for TrayGridWidget
2023-08-04 08:55:21 +00:00
tsic404
3a5f29ca28 fix: applicationpreview scale not keep aspectratio
drawPixmap will scale pixmap to fit imageRect, but not KeepAspectRatio

log: as title
2023-08-04 05:22:20 +00:00
tsic404
9011e4a125 fix: plugin set show on dock more times, also need same times call unshow
Duplication was kept when saving the configuration, the same plugin was saved multiple times,
but only one was removed when it was removed

log: remove duplication when save dconfig
2023-08-02 02:02:40 +00:00
tsic404
9f14b5f0a8 fix: some app do not display
Current entryRemove and entryAdded connection is not thread-safe. Although entryRemove before entryAdded sended,
entryRemove slot do later than entryAdded slot, which make added entry (later signal) removed by previous entryRemove signal.

log: make entryRemove and entryAdded connecttion thread-safe.
2023-08-02 01:43:00 +00:00
tsic404
1f2d150792 fix: no positionModeChanged signal
add positionModeChanged signal to dbus

log: as title
2023-08-02 01:42:34 +00:00
tsic404
cce27c4d0c chore: bump version 6.0.18
log: as title
6.0.18
2023-07-26 01:41:38 +00:00
tsic404
d2164e99ec fix: official chrome unable to be identified
window_patterns.json used for app in store, and it return cn.google.chrome,
whcih is not installed. So, it means that identifyWindowByRule may return a invalid appinfo.
Return nullptr if it's invalid appinfo.

implement DesktopInfo::isInstalled, and use std::copy instead of raw loop

log: fix identifyWindowByRule return a invalid appinfo
2023-07-25 03:13:41 +00:00
tsic404
167a334142 fix: dock entries not update after displaymode changed
taskmanager not connect to display mode changed signal, so it not update entries

log: as title
2023-07-24 06:52:40 +00:00
tsic404
068f35e405 chore: remove std namespace
log: as title
2023-07-24 06:52:40 +00:00
tsic404
e1a734e030 chore: bump version 6.0.17
log: as title
6.0.17
2023-07-18 07:35:19 +00:00
tsic404
8ca5259c1e chore: update translate
log: as title
2023-07-18 07:35:19 +00:00
tsic404
7c897e6c96 fix: dock size error when dock positon changed
dockSize not right when position changing, height or width is current potion not changed into

log: correct dockSize when dock position changed
2023-07-18 07:35:19 +00:00
tsic404
668cea52fb chore: add libxres-dev in build-depends because of using libxres
add libxres-dev

log: as title
2023-07-18 07:35:19 +00:00
tsic404
67b6fe41b8 chore: fix reuse
add frame/taskmanager/window_patterns.json into .reuse and
download GPL-3.0-or-later.txt

log:
2023-07-18 07:35:19 +00:00
tsic404
9de057e2cc refactor: add taskmanager from dde-application-manager
1. taskmanager used to identify which entry should map to window
  in x11 environmrnt, listen to xevent in anohter thread, and handle those event
when window create, destory, changed. use some way to identify which entry(desktopfile)
should mapped to changed window.
  in wayland, connected plsamawindow signal(window created destoried.
2. use taskmanager instead of dbus in old dock code

log: as title
2023-07-18 07:35:19 +00:00
tsic404
9e364902bf chore: update .gitignore add debian and build ignore
update .gitignore

log: as title
2023-07-18 07:35:19 +00:00
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