diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml
new file mode 100644
index 000000000..7bce0b243
--- /dev/null
+++ b/.github/workflows/update-changelog.yml
@@ -0,0 +1,269 @@
+name: update changelog
+
+on:
+ workflow_dispatch:
+ inputs:
+ version:
+ description: "Target version; leave empty to auto bump from debian/changelog"
+ required: false
+ type: string
+ base_branch:
+ description: "Base branch to read and target"
+ required: false
+ default: master
+ type: string
+ distribution:
+ description: "Changelog distribution"
+ required: false
+ default: unstable
+ type: string
+ create_pr:
+ description: "Create a pull request after generating changelog"
+ required: false
+ default: false
+ type: boolean
+ workflow_call:
+ inputs:
+ version:
+ required: false
+ type: string
+ base_branch:
+ required: false
+ type: string
+ default: master
+ distribution:
+ required: false
+ type: string
+ default: unstable
+ create_pr:
+ required: false
+ type: boolean
+ default: true
+ secrets:
+ APP_ID:
+ required: false
+ APP_PRIVATE_KEY:
+ required: false
+ outputs:
+ pr_url:
+ value: ${{ jobs.update_changelog.outputs.pr_url }}
+ version:
+ value: ${{ jobs.update_changelog.outputs.version }}
+
+permissions:
+ contents: write
+ pull-requests: write
+
+jobs:
+ update_changelog:
+ runs-on: ubuntu-latest
+ outputs:
+ pr_url: ${{ steps.create_pr.outputs.pull-request-url }}
+ version: ${{ steps.prepare.outputs.version }}
+ steps:
+ - name: Create GitHub App token
+ id: app_token
+ if: ${{ inputs.create_pr }}
+ uses: actions/create-github-app-token@v3
+ with:
+ app-id: ${{ secrets.APP_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ permission-contents: write
+ permission-pull-requests: write
+
+ - name: Checkout base branch
+ uses: actions/checkout@v5
+ with:
+ ref: ${{ inputs.base_branch }}
+ fetch-depth: 1
+ persist-credentials: false
+
+ - name: Install changelog tools
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y devscripts
+
+ - name: Prepare changelog data
+ id: prepare
+ shell: python
+ env:
+ INPUT_VERSION: ${{ inputs.version }}
+ INPUT_BASE_BRANCH: ${{ inputs.base_branch }}
+ INPUT_DISTRIBUTION: ${{ inputs.distribution }}
+ GITHUB_TOKEN: ${{ steps.app_token.outputs.token || github.token }}
+ GITHUB_REPOSITORY: ${{ github.repository }}
+ run: |
+ import json
+ import os
+ import pathlib
+ import re
+ import subprocess
+ import urllib.parse
+ import urllib.request
+
+ def output_line(name, value):
+ with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as fh:
+ fh.write(f"{name}={value}\n")
+
+ def get_current_version(changelog_path):
+ try:
+ result = subprocess.run(
+ ["dpkg-parsechangelog", "-l", str(changelog_path), "-S", "Version"],
+ capture_output=True,
+ text=True,
+ check=True,
+ )
+ return result.stdout.strip()
+ except Exception:
+ first_line = changelog_path.read_text(encoding="utf-8").splitlines()[0].strip()
+ match = re.match(r"^[^(]+\(([^)]+)\)", first_line)
+ if not match:
+ raise RuntimeError(f"cannot parse version from {changelog_path}")
+ return match.group(1)
+
+ def bump_version(version):
+ epoch = ""
+ value = version
+ if ":" in value:
+ epoch_part, value = value.split(":", 1)
+ if epoch_part.isdigit():
+ epoch = epoch_part + ":"
+ if "-" in value:
+ value = value.rsplit("-", 1)[0]
+ parts = value.split(".")
+ if len(parts) < 2 or any(not part.isdigit() for part in parts):
+ raise RuntimeError(f"unsupported version format: {version}")
+ parts[-1] = str(int(parts[-1]) + 1)
+ return epoch + ".".join(parts)
+
+ def github_get(url):
+ headers = {
+ "Accept": "application/vnd.github+json",
+ "X-GitHub-Api-Version": "2022-11-28",
+ "User-Agent": "deepin-autopack-update-changelog",
+ "Authorization": f"Bearer {os.environ['GITHUB_TOKEN']}",
+ }
+ req = urllib.request.Request(url, headers=headers)
+ with urllib.request.urlopen(req, timeout=30) as resp:
+ body = resp.read().decode("utf-8")
+ data = json.loads(body) if body else None
+ resp_headers = {k.lower(): v for k, v in resp.headers.items()}
+ return data, resp_headers
+
+ def parse_link_header(value):
+ links = {}
+ if not value:
+ return links
+ for item in value.split(","):
+ item = item.strip()
+ match = re.match(r'<([^>]+)>;\s*rel="([^"]+)"', item)
+ if match:
+ links[match.group(2)] = match.group(1)
+ return links
+
+ def commit_titles_since_changelog(owner, repo, base_branch, head_sha):
+ base_url = f"https://api.github.com/repos/{owner}/{repo}"
+ commits_url = f"{base_url}/commits?{urllib.parse.urlencode({'sha': base_branch, 'path': 'debian/changelog', 'per_page': 1})}"
+ commits, _ = github_get(commits_url)
+ if not commits:
+ raise RuntimeError(f"no commit found for debian/changelog on {base_branch}")
+
+ base_sha = commits[0]["sha"]
+ compare_url = f"{base_url}/compare/{urllib.parse.quote(base_sha, safe='')}...{urllib.parse.quote(head_sha, safe='')}?per_page=100"
+ titles = []
+ next_url = compare_url
+ while next_url:
+ page, page_headers = github_get(next_url)
+ for item in page.get("commits", []):
+ message = item.get("commit", {}).get("message", "")
+ title = message.splitlines()[0].strip()
+ if title:
+ titles.append(title)
+ next_url = parse_link_header(page_headers.get("link")).get("next")
+ return base_sha, titles
+
+ repo_root = pathlib.Path(os.environ["GITHUB_WORKSPACE"])
+ changelog_path = repo_root / "debian" / "changelog"
+ if not changelog_path.exists():
+ raise RuntimeError(f"missing changelog: {changelog_path}")
+
+ requested_version = os.environ.get("INPUT_VERSION", "").strip()
+ distribution = os.environ.get("INPUT_DISTRIBUTION", "").strip() or "unstable"
+ base_branch = os.environ.get("INPUT_BASE_BRANCH", "").strip() or "master"
+ owner, repo = os.environ["GITHUB_REPOSITORY"].split("/", 1)
+ head_sha = subprocess.check_output(["git", "rev-parse", "HEAD"], text=True).strip()
+
+ current_version = get_current_version(changelog_path)
+ version = requested_version or bump_version(current_version)
+ if not version:
+ raise RuntimeError(f"unable to determine version from {current_version!r}")
+
+ base_sha, titles = commit_titles_since_changelog(owner, repo, base_branch, head_sha)
+ safe_version = re.sub(r"[^A-Za-z0-9._-]+", "-", version).strip("-")
+
+ output_line("version", version)
+ output_line("safe_version", safe_version)
+ output_line("distribution", distribution)
+ output_line("base_branch", base_branch)
+ output_line("base_sha", base_sha)
+ output_line("head_sha", head_sha)
+ output_line("titles_json", json.dumps(titles, ensure_ascii=False))
+
+ - name: Generate changelog
+ shell: python
+ env:
+ VERSION: ${{ steps.prepare.outputs.version }}
+ DISTRIBUTION: ${{ steps.prepare.outputs.distribution }}
+ TITLES_JSON: ${{ steps.prepare.outputs.titles_json }}
+ DEBFULLNAME: Deepin CI
+ DEBEMAIL: deepin-ci@deepin.org
+ TZ: Asia/Shanghai
+ run: |
+ import json
+ import os
+ import subprocess
+
+ version = os.environ["VERSION"].strip()
+ distribution = os.environ["DISTRIBUTION"].strip() or "unstable"
+ titles = json.loads(os.environ["TITLES_JSON"])
+ if not titles:
+ titles = [f"Release {version}"]
+
+ subprocess.run(
+ ["dch", "-v", version, "-D", distribution, titles[0]],
+ check=True,
+ )
+ for title in titles[1:]:
+ subprocess.run(["dch", "-a", title], check=True)
+
+ - name: Show changelog diff
+ if: ${{ !inputs.create_pr }}
+ run: git diff -- debian/changelog
+
+ - name: Upload generated changelog
+ if: ${{ !inputs.create_pr }}
+ uses: actions/upload-artifact@v4
+ with:
+ name: generated-changelog
+ path: debian/changelog
+
+ - name: Create pull request
+ id: create_pr
+ if: ${{ inputs.create_pr }}
+ uses: peter-evans/create-pull-request@v6
+ with:
+ token: ${{ steps.app_token.outputs.token }}
+ branch: changelog/${{ steps.prepare.outputs.safe_version }}
+ title: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
+ commit-message: "chore: update changelog to ${{ steps.prepare.outputs.version }}"
+ body: |
+ Automated changelog update.
+
+ - Version: `${{ steps.prepare.outputs.version }}`
+ - Base branch: `${{ steps.prepare.outputs.base_branch }}`
+ - Base changelog commit: `${{ steps.prepare.outputs.base_sha }}`
+ - Head commit: `${{ steps.prepare.outputs.head_sha }}`
+ add-paths: |
+ debian/changelog
+ delete-branch: true
diff --git a/panels/dock/taskmanager/package/TaskOverflowButton.qml b/panels/dock/taskmanager/package/TaskOverflowButton.qml
new file mode 100644
index 000000000..71a58d134
--- /dev/null
+++ b/panels/dock/taskmanager/package/TaskOverflowButton.qml
@@ -0,0 +1,343 @@
+// SPDX-FileCopyrightText: 2026 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Window 2.15
+
+import org.deepin.ds 1.0
+import org.deepin.ds.dock 1.0
+import org.deepin.dtk 1.0 as D
+
+Item {
+ id: root
+
+ required property var taskManagerItem
+ required property var overflow
+
+ signal dragFinished(int dropAction)
+
+ readonly property int overflowCount: overflow.popupCount
+ readonly property var primaryOverflowItem: overflow.popupCount > 0 ? overflow.primaryItem : null
+ readonly property string overflowIconName: primaryOverflowItem && primaryOverflowItem.iconName ? primaryOverflowItem.iconName : ""
+ readonly property real popupItemWidth: overflow.fallbackItemExtent
+ readonly property real popupItemHeight: overflow.fallbackItemExtent
+ readonly property real buttonOffset: overflow.buttonOffset
+ readonly property real overflowIconSize: Math.min(overflow.buttonExtent, Math.max(12, Math.round(Panel.rootObject.dockItemIconSize)))
+ readonly property int hoverVerticalSpacing: Math.round(overflowIconSize / 8) + 1
+ readonly property int hoverHorizontalSpacing: Math.round(overflowIconSize / 8)
+ readonly property int hoverBackgroundWidth: Math.round(overflowIconSize + hoverHorizontalSpacing * 2)
+ readonly property int hoverBackgroundHeight: Math.round(overflowIconSize + hoverVerticalSpacing * 2)
+ readonly property real dotSize: Math.max(2, Math.round(overflowIconSize * 0.11))
+ readonly property real dotSpacing: Math.max(1, Math.round(dotSize * 0.75))
+ readonly property color dotColor: D.DTK.themeType === D.ApplicationHelper.DarkType ? "#FFFFFF" : "#000000"
+ readonly property color separatorColor: D.DTK.themeType === D.ApplicationHelper.DarkType
+ ? Qt.rgba(1, 1, 1, 0.1) : Qt.rgba(0, 0, 0, 0.1)
+ readonly property real gridSpacing: overflow.spacing
+ readonly property int popupCellWidth: Math.ceil(popupItemWidth + gridSpacing)
+ readonly property int popupCellHeight: Math.ceil(popupItemHeight
+ + Math.max(10, 2 * (Math.round(popupItemHeight / 8) + 2)))
+ readonly property real popupAvailableWidth: Math.max(popupCellWidth + 20,
+ Screen.width - 40 - (root.taskManagerItem.useColumnLayout ? Panel.rootObject.dockSize : 0))
+ readonly property real popupAvailableHeight: Math.max(popupCellHeight + 20,
+ Screen.height - 40 - (root.taskManagerItem.useColumnLayout ? 0 : Panel.rootObject.dockSize))
+ readonly property int popupColumns: Math.min(6, Math.max(1, overflowCount),
+ Math.max(1, Math.floor((popupAvailableWidth - 20) / popupCellWidth)))
+ property point popupAnchorPoint: Qt.point(0, 0)
+
+ visible: overflowCount > 0 && overflow.buttonExtent > 0
+ x: root.taskManagerItem.useColumnLayout ? 0 : root.buttonOffset
+ y: root.taskManagerItem.useColumnLayout ? root.buttonOffset : 0
+ implicitWidth: root.taskManagerItem.useColumnLayout ? root.taskManagerItem.implicitWidth : overflow.buttonExtent
+ implicitHeight: root.taskManagerItem.useColumnLayout ? overflow.buttonExtent : root.taskManagerItem.implicitHeight
+ width: implicitWidth
+ height: implicitHeight
+
+ Accessible.role: Accessible.Button
+ Accessible.name: qsTr("Show hidden icons")
+
+ // Leave a full application gap between each outer line and its shortcut.
+ // A vertical dock uses horizontal lines before and after the group.
+ Repeater {
+ model: 2
+
+ Rectangle {
+ required property int index
+ visible: overflow.separatorPadding >= 1
+ readonly property real axisPosition: index === 0
+ ? -(overflow.showRecent ? overflow.fallbackItemExtent + overflow.spacing : 0) - overflow.separatorPadding
+ : overflow.buttonExtent + overflow.separatorPadding - 1
+
+ width: root.taskManagerItem.useColumnLayout ? Panel.rootObject.dockItemIconSize : 1
+ height: root.taskManagerItem.useColumnLayout ? 1 : Panel.rootObject.dockItemIconSize
+ x: root.taskManagerItem.useColumnLayout ? (root.width - width) / 2 : Math.round(axisPosition)
+ y: root.taskManagerItem.useColumnLayout ? Math.round(axisPosition) : (root.height - height) / 2
+ color: root.separatorColor
+ Accessible.ignored: true
+ }
+ }
+
+ // The recent shortcut precedes the overflow entry in both dock orientations.
+ Loader {
+ active: root.visible && root.overflow.showRecent && !!root.overflow.recentItem.itemId
+ x: root.taskManagerItem.useColumnLayout ? 0 : -(overflow.fallbackItemExtent + overflow.spacing)
+ y: root.taskManagerItem.useColumnLayout ? -(overflow.fallbackItemExtent + overflow.spacing) : 0
+ width: root.width
+ height: root.height
+ sourceComponent: AppItem {
+ readonly property var entry: root.overflow.recentItem
+ displayMode: Panel.indicatorStyle
+ colorTheme: Panel.colorTheme
+ active: entry.active
+ attention: entry.attention
+ itemId: entry.itemId
+ name: entry.name
+ iconName: entry.iconName
+ folderType: entry.folderType
+ applicationFolderContents: entry.applicationFolderContents
+ folderPresentation: entry.folderPresentation
+ menus: entry.menus
+ windows: entry.windows
+ visualIndex: entry.visualIndex
+ modelIndex: entry.modelIndex
+ title: entry.title
+ blendOpacity: root.taskManagerItem.blendOpacity
+ dragEnabled: false
+ Component.onCompleted: dropFilesOnItem.connect(root.taskManagerItem.Applet.dropFilesOnItem)
+ }
+ }
+
+ onOverflowCountChanged: {
+ if (overflowCount === 0)
+ overflowPopup.close()
+ }
+
+ Connections {
+ target: Panel
+ function onPositionChanged() { overflowPopup.close() }
+ }
+
+ function togglePopup() {
+ toolTipShowTimer.stop()
+ toolTip.close()
+
+ if (root.overflowCount <= 0) {
+ return
+ }
+
+ if (overflowPopup.popupVisible) {
+ overflowPopup.close()
+ return
+ }
+
+ Panel.requestClosePopup()
+ popupAnchorPoint = root.mapToItem(null, root.width / 2, root.height / 2)
+ popupContentLoader.active = true
+ overflowPopup.open()
+ }
+
+ AppItemBackground {
+ width: root.hoverBackgroundWidth
+ height: root.hoverBackgroundHeight
+ radius: height / 5
+ anchors.centerIn: parent
+ enabled: false
+ displayMode: Panel.indicatorStyle
+ windowCount: 0
+ isActive: false
+ D.ColorSelector.hovered: overflowHoverHandler.hovered || overflowPopup.popupVisible
+ D.ColorSelector.pressed: overflowMouseArea.pressed
+ }
+
+ Item {
+ id: overflowIndicator
+ anchors.centerIn: parent
+ visible: root.primaryOverflowItem !== null
+ width: root.overflowIconSize
+ height: root.overflowIconSize
+
+ D.DciIcon {
+ anchors.fill: parent
+ name: root.overflowIconName
+ sourceSize: Qt.size(width, height)
+ retainWhileLoading: true
+ smooth: false
+ opacity: 0.4
+ }
+ Row {
+ spacing: root.dotSpacing
+ anchors.centerIn: parent
+
+ Repeater {
+ model: 3
+
+ Rectangle {
+ width: root.dotSize
+ height: width
+ radius: width / 2
+ color: root.dotColor
+ }
+ }
+ }
+ }
+
+ MouseArea {
+ id: overflowMouseArea
+ anchors.fill: parent
+ // Consume right clicks without opening the popup or the dock's menu.
+ acceptedButtons: Qt.LeftButton | Qt.RightButton
+ hoverEnabled: false
+ onClicked: function(mouse) {
+ if (mouse.button === Qt.LeftButton)
+ root.togglePopup()
+ }
+ }
+
+ HoverHandler {
+ id: overflowHoverHandler
+ onHoveredChanged: {
+ if (hovered && !overflowPopup.popupVisible) {
+ toolTipShowTimer.start()
+ } else {
+ toolTipShowTimer.stop()
+ toolTip.close()
+ }
+ }
+ }
+
+ PanelToolTip {
+ id: toolTip
+ text: qsTr("Show hidden icons")
+ toolTipX: DockPanelPositioner.x
+ toolTipY: DockPanelPositioner.y
+ }
+
+ Timer {
+ id: toolTipShowTimer
+ interval: 50
+ onTriggered: {
+ var point = root.mapToItem(null, root.width / 2, root.height / 2)
+ toolTip.DockPanelPositioner.bounding = Qt.rect(point.x, point.y, toolTip.width, toolTip.height)
+ toolTip.open()
+ }
+ }
+
+ PanelPopup {
+ id: overflowPopup
+ width: popupContentLoader.item ? popupContentLoader.item.implicitWidth : 0
+ height: popupContentLoader.item ? popupContentLoader.item.implicitHeight : 0
+ contentReady: popupContentLoader.status === Loader.Ready
+ popupX: DockPanelPositioner.x
+ popupY: DockPanelPositioner.y
+ closeOnInactive: MenuHelper.activeMenu === null && !Panel.contextDragging
+
+ Component.onCompleted: {
+ DockPanelPositioner.bounding = Qt.binding(function () {
+ return Qt.rect(root.popupAnchorPoint.x,
+ root.popupAnchorPoint.y,
+ overflowPopup.width,
+ overflowPopup.height)
+ })
+ }
+
+ // Create the grid on first use and retain it across close/open and native
+ // drags. GridView only instantiates the visible rows (plus its cache).
+ Loader {
+ id: popupContentLoader
+ active: false
+ width: overflowPopup.width
+ height: overflowPopup.height
+ sourceComponent: Control {
+ id: overflowPopupContent
+ Accessible.role: Accessible.Pane
+ Accessible.id: "OverflowPopupContent"
+ padding: 10
+ implicitWidth: root.popupColumns * overflowGrid.cellWidth + leftPadding + rightPadding
+ implicitHeight: Math.min(root.popupAvailableHeight,
+ Math.ceil(root.overflowCount / root.popupColumns) * overflowGrid.cellHeight
+ + topPadding + bottomPadding)
+ background: Item {}
+
+ DropArea {
+ anchors.fill: parent
+ keys: ["text/x-dde-dock-dnd-appid", "text/x-dde-dock-dnd-folder"]
+ onDropped: function(drop) {
+ if (drop.getDataAsString("text/x-dde-dock-dnd-source") === "overflow-popup")
+ drop.accept(Qt.MoveAction)
+ }
+ }
+
+ contentItem: GridView {
+ id: overflowGrid
+ Accessible.role: Accessible.List
+ Accessible.id: "OverflowGrid"
+ cellWidth: root.popupCellWidth
+ cellHeight: root.popupCellHeight
+ interactive: contentHeight > height && !Panel.contextDragging
+ clip: true
+ boundsBehavior: Flickable.StopAtBounds
+ flickableDirection: Flickable.VerticalFlick
+ ScrollBar.vertical: ScrollBar {
+ policy: ScrollBar.AsNeeded
+ Accessible.role: Accessible.ScrollBar
+ Accessible.id: "OverflowScrollBar"
+ }
+ model: root.overflow.popupModel
+
+ delegate: Item {
+ id: popupDelegate
+ required property int index
+ required property var entry
+ width: overflowGrid.cellWidth
+ height: overflowGrid.cellHeight
+ GridView.delayRemove: popupApp.Drag.active
+
+ AppItem {
+ id: popupApp
+ x: (popupDelegate.width - width) / 2
+ y: (popupDelegate.height - height) / 2
+ width: root.popupItemWidth
+ height: root.popupItemHeight
+ displayMode: Panel.indicatorStyle
+ colorTheme: Panel.colorTheme
+ active: popupDelegate.entry.active
+ attention: popupDelegate.entry.attention
+ itemId: popupDelegate.entry.itemId
+ name: popupDelegate.entry.name
+ iconName: popupDelegate.entry.iconName
+ folderType: popupDelegate.entry.folderType
+ applicationFolderContents: popupDelegate.entry.applicationFolderContents
+ folderPresentation: popupDelegate.entry.folderPresentation
+ menus: popupDelegate.entry.menus
+ windows: popupDelegate.entry.windows
+ visualIndex: popupDelegate.entry.visualIndex
+ modelIndex: popupDelegate.entry.modelIndex
+ blendOpacity: root.taskManagerItem.blendOpacity
+ title: popupDelegate.entry.title
+ enableTitle: false
+ preservePanelPopupOnContextMenu: true
+ previewAnchor: overflowPopupContent
+ folderAnchor: root
+ updateIconGeometry: false
+ dragEnabled: popupDelegate.entry.docked && windows.length === 0
+ dragSource: "overflow-popup"
+ restorePositionAfterDrag: true
+ Drag.onDragStarted: {
+ // Views retain their current item outside the viewport.
+ overflowGrid.currentIndex = popupDelegate.index
+ root.overflow.beginDrag()
+ }
+ onDropFilesOnItem: function(itemId, files) {
+ root.taskManagerItem.Applet.dropFilesOnItem(itemId, files)
+ }
+ onDragFinished: function(dropAction) {
+ root.dragFinished(dropAction)
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager.ts b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager.ts
index b5ef55fa3..f47260f33 100644
--- a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager.ts
+++ b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager.ts
@@ -65,4 +65,57 @@
+
+ FolderApplicationMenu
+
+ Open
+
+
+
+ Remove from desktop
+
+
+
+ Send to desktop
+
+
+
+ Remove from dock
+
+
+
+ Send to dock
+
+
+
+ Remove from startup
+
+
+
+ Add to startup
+
+
+
+ Uninstall
+
+
+
+ Uninstall %1?
+
+
+
+
+ FolderContextMenu
+
+ Undock
+
+
+
+
+ TaskOverflowButton
+
+ Show hidden icons
+
+
+
diff --git a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_CN.ts b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_CN.ts
index ae47b81d7..2b5ff6e75 100644
--- a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_CN.ts
+++ b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_CN.ts
@@ -63,4 +63,57 @@
%1个文件
+
+ FolderApplicationMenu
+
+ Open
+ 打开
+
+
+ Remove from desktop
+ 从桌面上移除
+
+
+ Send to desktop
+ 发送到桌面
+
+
+ Remove from dock
+ 从任务栏上移除
+
+
+ Send to dock
+ 发送到任务栏
+
+
+ Remove from startup
+ 取消开机自启动
+
+
+ Add to startup
+ 开机自启动
+
+
+ Uninstall
+ 卸载
+
+
+ Uninstall %1?
+ 卸载 %1?
+
+
+
+ FolderContextMenu
+
+ Undock
+ 移除驻留
+
+
+
+ TaskOverflowButton
+
+ Show hidden icons
+ 显示隐藏图标
+
+
\ No newline at end of file
diff --git a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_HK.ts b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_HK.ts
index c7cdcb759..9d699c78c 100644
--- a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_HK.ts
+++ b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_HK.ts
@@ -63,4 +63,57 @@
%1个文件
-
\ No newline at end of file
+
+ FolderApplicationMenu
+
+ Open
+ 打開
+
+
+ Remove from desktop
+ 從桌面上移除
+
+
+ Send to desktop
+ 發送到桌面
+
+
+ Remove from dock
+ 從任務欄上移除
+
+
+ Send to dock
+ 發送到任務欄
+
+
+ Remove from startup
+ 取消開機自啟動
+
+
+ Add to startup
+ 開機自啟動
+
+
+ Uninstall
+ 卸載
+
+
+ Uninstall %1?
+ 卸載 %1?
+
+
+
+ FolderContextMenu
+
+ Undock
+ 移除駐留
+
+
+
+ TaskOverflowButton
+
+ Show hidden icons
+ 顯示隱藏圖標
+
+
+
diff --git a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_TW.ts b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_TW.ts
index d4303bd7a..105ef2539 100644
--- a/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_TW.ts
+++ b/panels/dock/taskmanager/translations/org.deepin.ds.dock.taskmanager_zh_TW.ts
@@ -63,4 +63,57 @@
%1个文件
-
\ No newline at end of file
+
+ FolderApplicationMenu
+
+ Open
+ 打開
+
+
+ Remove from desktop
+ 從桌面上移除
+
+
+ Send to desktop
+ 發送到桌面
+
+
+ Remove from dock
+ 從任務欄上移除
+
+
+ Send to dock
+ 發送到任務欄
+
+
+ Remove from startup
+ 取消開機自啟動
+
+
+ Add to startup
+ 開機自啟動
+
+
+ Uninstall
+ 卸載
+
+
+ Uninstall %1?
+ 卸載 %1?
+
+
+
+ FolderContextMenu
+
+ Undock
+ 移除駐留
+
+
+
+ TaskOverflowButton
+
+ Show hidden icons
+ 顯示隱藏圖示
+
+
+
diff --git a/panels/notification/server/notificationmanager.cpp b/panels/notification/server/notificationmanager.cpp
index a02efa10a..b8f565c90 100644
--- a/panels/notification/server/notificationmanager.cpp
+++ b/panels/notification/server/notificationmanager.cpp
@@ -81,7 +81,8 @@ NotificationManager::NotificationManager(QObject *parent)
if(!config->value("notificationCleanupDays").isNull()) {
m_cleanupDays = config->value("notificationCleanupDays").toInt();
}
- if (QStringLiteral("wayland") != QGuiApplication::platformName()) {
+ if (QStringLiteral("wayland") != QGuiApplication::platformName()
+ && !QGuiApplication::platformName().isEmpty()) { // for unit test, Subsequent migration to the login1 interface
initScreenLockedState();
}
}