Commit Graph

822 Commits

Author SHA1 Message Date
Zhang Dingyuan c2954006b6 fix: multi user window will show all
surface wrapper add socket enabled

Log:
2024-10-28 21:15:18 +08:00
Zhang Dingyuan f6f8be4999 chore: register logger at first
move DLogManager to function first

Log:
2024-10-28 21:15:18 +08:00
Zhang Dingyuan 393a1fab47 fix: switch user not working
systemd socket service not reconnect treeland

Log:
2024-10-28 21:15:18 +08:00
Zhang Dingyuan dbf2e2df8d feat: add workspace and unlock animation
as title

Log:
2024-10-28 21:15:18 +08:00
rewine e97882061f fix: some bug for dock preview 2024-10-28 20:42:29 +08:00
Lu YaNing f302f091b9 feat: Refactoring the primaryoutput settings 2024-10-28 20:41:41 +08:00
Yixue Wang 2da341ee27 fix: no decoration and radius of minimized surface
There is no need to disable radius and decoration on a invisible
SurfaceWrapper. Meanwhile, multitaskview and task switcher might
need to show minimized windows, it should have the same appearance
as normal state.
2024-10-28 20:40:49 +08:00
Yixue Wang 6d48c1b2f9 fix: some bugs in multitaskview
* Fix order and layout error in removing model.
* Add hint label when there is no windows.
* Add wheel handler to switch workspace when scrolling.
* Add utility function in Helper, filter windows not belong to current
user.
* Handle surface addition and removal correctly.
* Handle surface mapped() state correctly.
* Handle minimized animation correctly.
* Add shortcut triggers of multitaskview.
2024-10-28 20:40:49 +08:00
groveer e1ae32805c feat: add forceSoftwareCursor config
Log:
2024-10-28 15:37:42 +08:00
groveer 6d14a3f7e8 fix: launchpad not blur
Log:
2024-10-28 09:32:46 +08:00
groveer 15369ae839 refactor: mv some qml to owen dir
Log:
2024-10-25 17:50:35 +08:00
groveer 3e8ac3695f refactor: code review
Log:
2024-10-25 17:49:08 +08:00
lbwtw dcccdbe13f fixed the rounded corner flickering issue
Solve the problem of visual afterimage caused by jump.
2024-10-25 17:36:32 +08:00
pengwenhao e9d9126561 fix: taskswitcher layout parameters use valid area
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-25 15:44:35 +08:00
pengwenhao 39aa48739f fix: task view window thumbnail title bar is set to 38 px
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-25 15:42:40 +08:00
Yixue Wang 66649f96ff feat: shield input events for surface wrapper
SurfaceProxy should shield all input events to SurfaceWrapper and
shadow.
2024-10-25 15:22:31 +08:00
Zhang Dingyuan bd17088758 fix: TreeLandProtocols -> TreelandProtocols
change typing

Log:
2024-10-25 15:19:38 +08:00
Zhang Dingyuan 9680ce996f chore: extract treeland-protocols
repo: linuxdeepin/treeland-protocols

Log:
2024-10-25 14:40:49 +08:00
rewine 60b8eb53a1 chore: update nix flake lock 2024-10-25 11:47:13 +08:00
pengwenhao ff96334b58 fix: task switcher left and right keys cannot be used
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-24 16:34:26 +08:00
pengwenhao eaecd965ba fix: task switcher minimized window is restored
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-24 16:34:26 +08:00
pengwenhao f4a6d849fe fix: task switch windows of the same type in reverse
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-24 16:34:26 +08:00
groveer e0c3573c21 fix: crashed when surface maximied after taskswitch created
Log: taskswitch 不析构导致
2024-10-24 16:20:46 +08:00
groveer 54bd3af6f8 refactor: code review
- [x] gestures.cpp 251 注释代码需要对齐
- [x] inputdevice.h 12 : 确认是否需要
- [x] inputdevice.cpp 5: 删除#include "global.h"
- [x] inputdevice.cpp 21行:删除Q_DECLARE_LOGGING_CATEGORY(inputdevice);
- [ ] lockscreen.cpp 1:开源许可: 其他文件统一改成公司的 ->
  开源许可在开源时统一处理
- [x] lockscreen.cpp 20: 添加300ms 注释说明
- [x] lockscreen.cpp 63: 添加item 断言
- [ ] qmlengine.h 33: 窗口相关的单独分模块处理 -> 由于复杂性,暂不处理
- [x] qmlengine.cpp 228: if 统一加{}
- [x] qmlengine.cpp item 断言判断统一改成:qCFatal(qLcTreelandEngine)
- [ ] surfaceproxy.cpp 115: size().isEmpty() 待确认 ->
  未出问题前维持现状
- [x] surfacewarpper.cpp 69: 修改为直接发送信号
- [x] surfacewarpper.cpp 207: targetGeometry 属性可能已经删除 待确认
- [ ] surfacewarpper.cpp 719: 检查Xdg、xwayland ->
  添加todo,需要详细优化
- [x] surfacewarpper.cpp 1069:使用宏Workspace::ShowOnAllWorkspaceIndex替换0
- [x] surfacewarpper.cpp 1147:拼写修改
- [x] surfacewarpper.cpp 检查哪些属性需要readonly
- [x] surfacewarpper.cpp 1198: isDdeShellSurface 修改为 isDDEShellSurface 其他同样修改

Log:
2024-10-23 17:19:27 +08:00
pengwenhao f5310a1ad2 fix: taskswitcher improves the way to add surfaces
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-23 14:50:48 +08:00
Yixue Wang 039741a115 refact: extract subcomponent from multitaskview
Extract WorkspaceSelectionList and WindowSelectionGrid from
multitaskview.
2024-10-23 13:58:18 +08:00
Yixue Wang 1af3282ea6 feat: use auto-increment id for WorkspaceModel
* Each WorkspaceModel has an unique id (auto-increment id) now.
* Implement moveModelTo for Workspace.
2024-10-23 13:58:18 +08:00
Yixue Wang a5cd12e648 chore: do not need modelData
There is already rolename workspace and required property workspace.
2024-10-23 13:58:18 +08:00
Yixue Wang cc8796f6f6 refact: use button add icon 2024-10-23 13:58:18 +08:00
Yixue Wang dad57fe740 refact: use tradiuseffect instead of itemviewport 2024-10-23 13:58:18 +08:00
Yixue Wang 2010ceffe3 fix: SurfaceProxy crashes when SurfaceWrapper destroys 2024-10-23 13:58:18 +08:00
pengwenhao f1502cdb46 feat: window and multitaskview gesture
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-23 13:56:55 +08:00
pengwenhao c0861296bd fix: taskswitcher preview window white edge afterimage
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-22 20:54:00 +08:00
pengwenhao 1e5ed568ed fix: click the task view thumbnail cannot activate the window
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-10-22 19:33:30 +08:00
Zhang Dingyuan 00e0b3e175 chore: update waylib submodule
as title

Log:
2024-10-22 19:26:25 +08:00
Zhang Dingyuan 7879d711cf feat: support launchpad animation
add window animation and cover

Log:
2024-10-22 19:26:25 +08:00
rewine 7a6edb40ad fix: setup xwayland's parentitem and decoration 2024-10-22 19:03:28 +08:00
groveer f229c05d65 refactor: use boundingRect from XdgShadow
Log:
2024-10-22 18:51:01 +08:00
groveer fbb3d72c71 refactor(qmlengine): use one method to create qml compoment
Log:
2024-10-22 17:55:25 +08:00
groveer 25fea9ec69 fix(shadow): not radius property on XdgShadow init
Log:
2024-10-22 16:14:08 +08:00
rewine 59c2a1dccc fix: warning in WindowMenu when surface is null 2024-10-22 16:13:24 +08:00
Zhang Dingyuan 02d931e4ed fix: layer container cannot use qmlEngine get context
add surfacecontainer to parent

Log:
2024-10-22 15:37:52 +08:00
groveer 9caa7437af fix(multitaskview): crash when exit
Log:
2024-10-22 14:00:30 +08:00
groveer ae52e48ed6 refactor: update clang-format
Log:
2024-10-22 11:33:48 +08:00
groveer 5ebc117fd5 refactor: use Blur replace MultiEffects
Log:
2024-10-22 09:30:30 +08:00
groveer d8394337f9 refactor(helper): rm useless head file
Log:
2024-10-22 09:30:30 +08:00
groveer 2b0c2963a5 refactor(blur): make blur more versatile
Log: 使 blur 更具通用性
2024-10-22 09:30:30 +08:00
Zhang Dingyuan 6b5a29cae2 fix: wallpaper scale
keep image preserve aspect

Log:
2024-10-21 15:04:57 +08:00
rewine 1fc883a518 chore: move shell implement to shellhandler 2024-10-21 15:04:34 +08:00
Lu YaNing 113d83210f fix: Invalid window animation when csd application is closed 2024-10-21 15:02:50 +08:00