Chen Linxuan
accc9c2aac
fix: introduce new DesktopFile class
...
KeyFile::saveToFile not guaranteed section order, which is not the right
behavior of desktop file. XDG requires the first section of desktop file
always to be "Desktop Entry".
So I write a new DesktopFile class, which override the saveToFile method
of KeyFile, to make it work.
close linuxdeepin/developer-center#3807
Signed-off-by: black-desk <me@black-desk.cn>
2023-04-03 01:42:34 +00:00
zsien
abf322377e
chore: bump version to 1.0.9
...
* fix get a longer name then it actually is
* fix abnormal icon display in the dock
* set fullscreen launcher by default
* fix default application resets after relogin
* fix crash when get windowicon
* fix app proxy invalid
* fix invalid appid
2023-03-29 20:27:52 +08:00
zsien
a9363f5a7c
chore: update the transifex config file
...
update the transifex config file
2023-03-29 13:48:40 +08:00
YeShanShan
86442d813f
fix: Crashed when get windowicon
...
Add a check when `buf` is nullptr to avoid exit.
TODO: I don't know why.
2023-03-28 18:31:34 +08:00
YeShanShan
0e6489a502
fix: Invalid appid
...
desktop's file `baseName` is not equal to `appid`, we use
getId for appid.
2023-03-28 09:59:46 +08:00
YeShanShan
af8d6d18f9
fix: App proxy invalid
...
AddProxyProc for launched app by launcher.
Issue: https://github.com/linuxdeepin/developer-center/issues/3791
2023-03-28 09:59:46 +08:00
tsic404
dcb310c0e2
chore(CI): add OBS workflows
...
add OBS workflows
log:
2023-03-24 19:50:36 +08:00
dengbo
d1c121667a
fix: 任务栏应用图标显示异常
...
对于某些没有提供desktop文件(或者desktop文件中没有指定Icon字段)的应用
需要从窗管获取应用的Icon
Log: 修复任务栏应用图标显示异常的问题
Resolve: https://github.com/linuxdeepin/developer-center/issues/3811
Influence: 任务栏应用图片显示
2023-03-21 09:45:45 +08:00
tsic404
de36918beb
fix: fix get a longer name then it actually is
...
fix https://github.com/linuxdeepin/developer-center/issues/3763
xcb_ewmh_get_wm_name return full string is longer than wm name,
get the same str as the wm name
log:
2023-03-03 21:31:24 +08:00
tsic404
80cf2501fa
chore: rename project to dde-application-manager
...
rename project to dde-application-manager
log:
2023-02-23 21:57:34 +08:00
tsic404
d36a325b06
chore(CI): fix reuse
...
remove multi SPDX info
log:
2023-02-23 21:57:13 +08:00
zsien
71f5ed71c2
feat: set fullscreen launcher by default
...
启动器默认全屏显示
Log: 启动器默认全屏显示
2023-02-15 11:14:03 +08:00
zsien
fa763545fa
Revert "feat: 社区差异化需求实现"
...
This reverts commit f1ac5f9f00
.
Fixes linuxdeepin/developer-center#3617
Log: 修复 launcher 无法记住全屏状态
2023-02-15 11:11:11 +08:00
dengbo
0c2aaae1b0
fix: 注销系统后默认程序设置失效
...
如果用户有通过控制中心修改默认程序,每次重新登录系统使用之前用户设置的默认程序
而不是从配置文件中重新加载
Log: 修复注销系统后默认程序设置失效的问题
Bug: https://github.com/linuxdeepin/developer-center/issues/3591
Influence: 控制中心默认程序设置
2023-02-15 10:33:59 +08:00
dengbo
b29eef2f2c
Merge pull request #4 from justforlxz/master
...
chore: add dep5
2023-02-15 10:27:46 +08:00
Zhang Dingyuan
7598fa08a0
chore: update readme files
...
add README.zh_CN.md
2023-02-15 10:00:47 +08:00
justforlxz
e67767b48e
chore: add dep5
...
use reuse
2023-02-15 09:59:00 +08:00
donghualin
8cf5d61469
fix: 修复任务栏位置发生变化后消息不跟随的问题
...
任务栏位置发生变化的信号中增加参数,方便osd正确识别到该信号来改变提示消息的位置
Log: 修复任务栏位置发生变化后消息不跟随的问题
Influence: 多屏幕下,任务栏跟随鼠标,任务栏在主副屏幕切换的时候,观察消息是否跟随任务栏位置显示
Bug: https://pms.uniontech.com/bug-view-184231.html
Change-Id: I7bfcc134daf6d0c61d435e870da9e098043e5ba8
2023-02-14 10:44:22 +08:00
lvpeilong
3104c23e9a
chore: update changelog
...
update changelog
Log: update changelog
Influence: null
Task: https://pms.uniontech.com/task-view-239643.html
Change-Id: I264a8a0bdf7947d41875fc69e6a0d2faa1990d28
2023-02-14 10:44:22 +08:00
zhaoyingzhen
5c3b0f9cf6
fix: 解决任务栏显示lock和dock最近应用的问题。
...
am没有过滤lock和dock应用导致的问题。
Log:
Bug: https://pms.uniontech.com/bug-view-183657.html
Influence: 无。
Change-Id: I5e85a073fbf928a62f8c0a999e2d0652c3946d2b
2023-02-14 10:44:22 +08:00
zhaoyingzhen
606afcf5fb
chore: 更新changelog
...
更新版本号为:1.0.7
Log:
Task: https://pms.uniontech.com/task-view-227573.html
Influence: 版本号
Change-Id: I8052777e61126ff7f6be2f7d94ce0a84ac96fff7
2023-02-14 10:44:22 +08:00
ssk-wh
72384e3768
fix: 修复默认程序有多个会冲突的问题
...
解析优先默认程序的配置文件时解析错误
Log: 修复默认程序有多个会冲突的问题
Influence: 默认程序
Bug: https://pms.uniontech.com/bug-view-182127.html
Change-Id: Ib9c86af489e5a5b48f5dc6326e16ba7ad5b7b2b1
2023-02-14 10:44:22 +08:00
deepin-admin-bot
f4650acfcd
chore: Sync by 939528802a
...
sync by github workflow
Log: none
Influence: none
2023-01-12 07:11:04 +00:00
ssk-wh
3d22109090
fix: 修复launch情况下执行异常的问题
...
设置工作目录失效导致执行异常,错误的使用了QProcess的静态startDetached函数
内部会重新构造一个新的QProcess对象,导致之前的设置全部失效
Log: 修复launch情况下执行异常的问题
Influence: launch类接口功能
Bug: https://pms.uniontech.com/bug-view-181747.html
Change-Id: I5ebe006a9ae8f4785fe880304bf4cf6ad1782634
2023-01-11 15:38:07 +08:00
ssk-wh
466c2a7828
fix: 修复sh脚本部分情况下执行失败的问题
...
设置工作目录失效导致执行异常
Log: 修复sh脚本部分情况下执行失败的问题
Influence: RunCommandWithOptions接口执行脚本文件
Bug: https://pms.uniontech.com/bug-view-181747.html
Change-Id: Ia7b0da9705e337d2361f751b3cc37b3ecced6e69
2023-01-11 15:38:04 +08:00
lvpeilong
c98ce39fe4
chore: update changelog
...
update changelog
Log: update changelog
Influence: null
Task: https://pms.uniontech.com/task-view-235277.html
Change-Id: I18c87a929577bd6986014c93edcee2ca0e671025
2023-01-10 18:19:34 +08:00
songwentao
56b222dc97
fix: 修复从桌面和启动器无法打开浏览器(玲珑)的问题
...
玲珑应用Desktop文件Exec字段内容构成的字符串中包含字串,且字串不允许被拆分
对接玲珑组开发人员后,由AM对该问题进行修复
Log:
Influence: 从桌面和启动器都可以正常打开浏览器(玲珑)应用
Task: https://pms.uniontech.com/task-view-236197.html
Change-Id: I874bb3b9ba5d9d086279857e8d826b04e0a7ab58
2023-01-10 17:43:58 +08:00
songwentao
88c390616a
fix: AM 适配打开参数问题
...
1. 适配%f,%F,%u,%U 几个识别字段,%i,%c,%k,%v,后面遇到相关问题后再继续适配
2. 直接读取Desktop文件中Exec字段内容,启动应用
Log:
Influence: 1. 双击桌面文件夹-打开文件夹功能正常;
2. 打开文件展示文件后直接展示内容
3. 截图录屏后文件可以正常打开
4. 双击桌面图标,应用可以正常打开
5. 双击音乐文件后,音乐文件正常播放
Bug: https://pms.uniontech.com/bug-view-182185.html
Bug: https://pms.uniontech.com/bug-view-182161.html
Bug: https://pms.uniontech.com/bug-view-182395.html
Bug: https://pms.uniontech.com/bug-view-182327.html
Bug: https://pms.uniontech.com/bug-view-182137.html
Change-Id: I67a156ec0c8ab8824bf880646d1fe642959f4b20
2023-01-09 17:29:39 +08:00
ssk-wh
b9372feb9a
fix: 修复默认程序设置失败的问题
...
指针初始化未置空,导致的判断出错
Log: 修复默认程序设置失败的问题
Influence: 默认程序设置
Task: https://pms.uniontech.com/task-view-235759.html
Change-Id: Ieb4d7ad1a41e9200447cff7470541461e7129bfb
2023-01-09 16:45:34 +08:00
songwentao
f93a522546
fix: 修复卸载wine应用,桌面残留应用的问题
...
1. 卸载应用,从桌面移除应用的路径有误,导致文件残留
2. 缓存应用信息时,如果应用是desktop文件全路径是软连接,则获取其实际文件路径
Log:
Influence: 启动器-卸载wine应用时,桌面不残留应用图标
Bug: https://pms.uniontech.com/bug-view-180665.html
Change-Id: I2d1e3d3bea9aaeed940c4abeca5cc083015b94ae
2023-01-06 15:40:52 +08:00
donghualin
3a9c1f4952
fix: 修复无法启动玲珑应用对应功能的问题
...
对于玲珑应用以dbus-send开头的命令,不做特殊的处理
Log:
Influence: 从任务栏触发截图录屏玲珑应用的全屏截图和延时截图的功能,判断是否可以正常使用
Bug: https://pms.uniontech.com/bug-view-177111.html
Change-Id: I3251981e425e2804a9b0baf34e36c9f3a6dedc70
2023-01-06 14:39:13 +08:00
zhaoyingzhen
f992093c3f
chore: 更新changelog
...
更新版本号为:1.0.5
Log:
Task: https://pms.uniontech.com/task-view-227573.html
Influence: 版本号
Change-Id: I7fad8f7f19f99471af43a7b7f11e1b0eeb7e04b9
2022-12-29 19:17:36 +08:00
songwentao
ff4c3b924c
fix: 修复打开部分应用失败的问题
...
当应用desktop文件中Exec字段内容中已包含双引号,则直接去掉,避免出现字符串包裹字符串的问题,导致部分应用无法正常启动
Log:
Influence: 启动器-应用列表中的所有应用都可以正常启动
Bug: https://pms.uniontech.com/task-view-232525.html
Change-Id: I6eaca9dd23f89ebd1dea5a190a2e06b8f657b754
2022-12-29 17:19:45 +08:00
范朋程
fbe80cdf10
chore: 删除重复文件
...
删除重复文件
Log: 无
Influence: 无
Change-Id: I6bcfa7254cce266e9ad0502a9a9954ac2d1e68ae
2022-12-27 09:59:52 +08:00
范朋程
6d43708721
fix: 修复拼写错误
...
拼写错误
Log: 拼写错误
Influence: 拼写错误
Task: https://pms.uniontech.com/task-view-226119.html
Change-Id: Ib5fc05e56e007bc397d51ce0b86a034ba74f8a28
2022-12-27 09:54:41 +08:00
范朋程
df598fb4b4
feat: 增加RunCommandWithOptions接口
...
无
Log: 无
Influence: 无
Task: https://pms.uniontech.com/task-view-220801.html
Change-Id: Ibeb61119d911e3274c7cd4d39fd0060beefdb518
2022-12-27 09:38:08 +08:00
zhaoyingzhen
18c0c308f4
chore: 更新changelog
...
更新版本号
Log:
Task: https://pms.uniontech.com/task-view-227573.html
Influence: 版本号
Change-Id: I1b00faed51c2ca2ba403d96b6672ece07cb3ba43
2022-12-26 19:25:54 +08:00
songwentao
be1f2950a0
feat: 发送到桌面成功播放音频
...
添加发送到桌面的音频
Log:
Influence:
Task: https://pms.uniontech.com/task-view-229565.html
Change-Id: Iaaac27fff53d45dacca407a4599a7a428ded772d
2022-12-23 11:38:42 +08:00
donghualin
7b22381002
fix: 修复启动任务栏引起AM崩溃的问题
...
将迭代器检查修改为列表检查‘
’
Log:
Influence: 重启任务栏,观察AM服务是否会崩溃
Task: https://pms.uniontech.com/task-view-226125.html
Change-Id: I1e53235c9df552fc345170ce19134c90362d0cf7
2022-12-20 19:25:44 +08:00
范朋程
12d08de069
feat: 增加LaunchAppWithOptions和RunCommand接口
...
无
Log: 无
Influence: 无
Task: https://pms.uniontech.com/task-view-220801.html
Change-Id: I8f6998a95a21dd70093746946b57c6c3be57bf3a
2022-12-20 12:33:06 +08:00
songwentao
f1ac5f9f00
feat: 社区差异化需求实现
...
社区版本默认全屏模式
Log:
Influence: 社区版桌面环境下-启动器第一次启动时,默认全屏模式
Task: https://pms.uniontech.com/task-view-225013.html
Change-Id: I074faf54a5ba69827114aae2f8ddde340a85ce89
2022-12-13 15:22:59 +08:00
songwentao
dda953582b
fix: 增加DBus接口调用异常信息
...
使用QDBusContext::sendErrorReply()增加异常返回信息
Log:
Influence: org.desktopspec.ApplicationManager服务中接口调用异常时,有提示信息
Bug: https://pms.uniontech.com/bug-view-172281.html
Change-Id: Iad2edda7479c284793ec55236292fea0317e5a8c
2022-12-13 11:36:34 +08:00
范朋程
d0d5bcfdbf
fix: 修复拼写错误
...
拼写错误
Log: 拼写错误
Influence: 拼写错误
Task: https://pms.uniontech.com/task-view-226119.html
Change-Id: Ic984e382618dab99f48437a94575b85039c6d514
2022-12-12 15:12:13 +08:00
donghualin
35ac315646
fix: 修复社区版任务栏的显示模式错误
...
AM中初始化的显示模式设置为空,当AM第一次启动的时候,读取到的显示模式配置如果为空,就判断当前系统是否为社区版,如果是社区版,就让其配置为时尚模式,否则,就配置为高效模式
Log:
Influence: 安装社区版,观察任务栏启动是否为时尚模式
Bug: https://pms.uniontech.com/bug-view-175723.html
Change-Id: I51e7678716ca8064a61c8ab3b703d03beb779291
2022-12-08 03:11:17 +00:00
tanfeng
e4f4a47b87
chore: V23接口改造适配
...
V23接口改造适配
Log: V23接口改造适配
Influence: 无
Task: https://pms.uniontech.com/task-view-207483.html
Change-Id: I91e7c2807c168e87781e18aedc7aec887702ae13
2022-12-06 14:39:36 +08:00
范朋程
d1fe32c13e
fix: 修复开机后虚拟键盘自动启动的问题
...
虚拟键盘仅在GNOME的桌面环境中自启动,desktop文件中已经给出相关配置,AM未进行判断
Log: 修复开机后虚拟键盘自动启动
Influence: 虚拟键盘自动开机启动
Bug: https://pms.uniontech.com/bug-view-175031.html
Change-Id: I7c66535f819655ffb1c9609cb23a6dc3a7e6f415
2022-12-05 18:33:46 +08:00
donghualin
6354629a82
feat: 任务栏应用启动方式修改为startManager来启动
...
在dock类的active方法中,调用ApplicationManager类对象的LaunchApp方法来启动应用
Log:
Influence: 从任务栏启动应用
Task: https://pms.uniontech.com/task-view-211667.html
Change-Id: I354b583b15932046a807b33c3d7cb253a59938d7
2022-11-29 15:52:48 +08:00
songwentao
c726a91c0f
fix: setAutostart接口优化
...
非法desktop文件或者非本地应用,直接返回false
Log:
Influence: setAutostart接口功能正常
Task: https://pms.uniontech.com/task-view-215413.html
Change-Id: Idec45c8c314e1a0bd3db93e8a1d85c3cab634905
2022-11-29 14:39:22 +08:00
songwentao
885ad9b07a
fix: 修复设置开机自启动应用重启后失效问题
...
1. 修复获取自启动列表为空的问题
2. 修复重启后自启动应用没有启动问题
Log:
Influence: 设置自启动后重启应用也会保持生效
Bug: https://pms.uniontech.com/bug-view-172263.html
Change-Id: Id95f4248fe2d29b3a6d03e9b44bee54671e9c5f6
2022-11-28 15:49:51 +08:00
songwentao
8be1b299e6
fix: 修复设置开机自启动应用重启后失效问题
...
1. 设置自动启动时未将应用desktop文件写入到~/.config/autostart/目录下
2. 应用自动启动接口优化,确保调用时,接口返回正确。
(设置为自启动时,手动将Hidden字段写入到自启动目录的desktop文件中,并设置为false,只有这样,
安全中心才不会弹出自启动确认窗口, 这种操作是沿用V20阶段的约定规范,这块已经与安全中心研发对接过)
Log:
Influence: 设置自启动后重启应用也会保持生效
Bug: https://pms.uniontech.com/bug-view-172263.html
Bug: https://pms.uniontech.com/bug-view-172281.html
Task: https://pms.uniontech.com/task-view-215413.html
Change-Id: Idd03ac40850c95ef8cef2ac169cfe006405b809b
2022-11-24 16:01:19 +08:00