Commit Graph

384 Commits

Author SHA1 Message Date
rewine b54d208e9d fix: don't use qwobject in treeland-shortcut-manager
Log: fix build in new qwlroots/waylib
2024-06-17 13:55:49 +08:00
justforlxz c948021810 chore: add shortcut client
DDE team don't have time to support it.

Log:
2024-06-17 13:51:57 +08:00
rewine c798194610 fix: don't use qwobject in personalizationmanager
Log: fix build in new qwlroots/waylib
2024-06-17 11:20:16 +08:00
Zhang Dingyuan 7061b37f95 chore: support xwayland socket
add xwayland socket

Log:
2024-06-17 11:15:15 +08:00
groveer 13ad8896ab feat: add window background test demo
Log:
2024-06-17 10:14:41 +08:00
rewine 25526f4982 feat: support check isDarkType for wallpaper
log: need debug mode to show type
2024-06-14 17:33:23 +08:00
groveer 1d7f80dedc fix: Multi screen crash on startup
Fix: https://github.com/linuxdeepin/treeland/issues/171

Log:
2024-06-14 15:25:28 +08:00
rewine 2aa1a09f81 fix: don't use qwobject in treeland-output-management
Log: fix build in new qwlroots/waylib
2024-06-14 10:17:29 +08:00
groveer caaedba6b2 feat(wallpaper): add default wallpaper
Log:
2024-06-13 17:29:56 +08:00
pengwenhao db4bbf1cd5 feat: add personalization cursor
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-06-12 18:17:51 +08:00
rubbishzhyic 58edf5c716 fix: add robust logic
reset spawn stacking sequence when other app activated;
in case winsize exceed output, set 1x1 region;
ensure initial pos in region
2024-06-12 15:55:32 +08:00
rubbishzhyic cd502af7a6 feat: window spawning initial pos sequence
add winposManager, declare pos sequence generator, use in xdg & xwayland surface.
impl corner: follows activeOutputDelegate, first at center, later at four corners, without bias;
impl line: initial at cursor or specified pos, move following down-right lines
2024-06-12 15:55:32 +08:00
rubbishzhyic d0a2a1385e fix: sync move-resizing state to Helper
ssd's drag is managed solely by qml
2024-06-12 15:55:32 +08:00
rubbishzhyic 96a69ae8f1 chore: adapt ext-foreign-toplevel-list to waylib&qwlroots refactor
remove C/qw two level wrap
2024-06-12 15:25:42 +08:00
pengwenhao c0c31eb403 feat: wallpaper adapts to xdg portal interface
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-06-05 11:23:43 +08:00
Zhang Dingyuan 8ec67bf6ac fix: remove duplicate imports
remove duplicate TreeLand.Protocols imports.

Log:
2024-06-03 11:42:37 +08:00
Zhang Dingyuan 56fc061c7c refactor: reorganize directory structure
move protocol into a single module

Log:
2024-05-31 11:22:19 +08:00
rubbishzhyic 7a611c668d fix: use sizeFromSurface & resizeBySurface when drag resizing
otherwise contentItem will change size before client committed so stretch.
depends on https://github.com/vioken/waylib/pull/308
2024-05-30 07:25:53 +00:00
rubbishzhyic 0ce7fa2482 fix: set seat's keyboard focuswin on renderwindow initialize
so that keyevent can be received
2024-05-30 06:37:40 +00:00
renovate[bot] 759332ce5f chore(deps): lock file maintenance 2024-05-28 15:03:08 +08:00
rewine 1ac1540a6f fix: set correct QML_IMPORT_PATH
log: set QML env
2024-05-28 14:56:55 +08:00
rewine a20c8c57f8 feat: add Asan cmake option
log: just use "-DADDRESS_SANITIZER=ON" for better debug
2024-05-27 18:08:46 +08:00
lbwtw 3487ac99d3 fix: cursor display abnormality
when there is no drm, the cursor is the native
Xorg or Wayland compositor rendering display.

Log: fixed rendering one more cursor
Issue: https://github.com/linuxdeepin/treeland/issues/265
2024-05-27 05:14:54 +00:00
rewine 917081d53d Revert "chore: move getSurfaceItemFromWaylandSurface to QmlHelper"
This reverts commit 416a78c885.
2024-05-27 13:13:35 +08:00
rewine 3ba7522adf fix: xwayland item can't get input and can't move
log: missing focus setting
2024-05-27 03:25:52 +00:00
rewine a053453718 feat: add support for screen copy
log: need https://github.com/vioken/waylib/pull/341
2024-05-27 03:23:22 +00:00
rewine 416a78c885 chore: move getSurfaceItemFromWaylandSurface to QmlHelper
log: clear up
2024-05-27 11:14:35 +08:00
pengwenhao 0891afd891 feat: qwlog init
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-05-27 11:13:04 +08:00
lbwtw 5b2ed3da5a feat: add FractionalScaleManagerV1 registration
missing FractionalScaleManagerV1 create

log: support wayland window fraction scale
2024-05-24 09:25:03 +00:00
lbwtw 8a9ba527c6 chore: update gitignore
Log:
2024-05-24 16:36:55 +08:00
groveer c7e9c25bd4 chore: add issue template
as title

Log:
2024-05-24 14:59:43 +08:00
renovate[bot] a1a2114568 chore(deps): update waylib digest to 2146075 2024-05-24 10:00:30 +08:00
renovate[bot] 5831cb56f3 chore(deps): update waylib digest to 859e10d 2024-05-23 15:10:20 +08:00
Lu YaNing f15e0ba7a1 feat: Add support for xdg-output-v1
Log: Add new protocol adaptation
2024-05-23 06:40:36 +00:00
rubbishzhyic 4c854b4dba chore: fix several qml errors
type error in stktoplevelhelper, remove the logic that assigns activatedsurface on visiblechange,
assume this no need since when mapped activatedsurface is assigned not regarding visible,
and if kept, when exit multitaskview, each becomes visible so old activated surface is re-assigned to helper's activatedsurface
binding loop in multitaskview wslist's add button;
redundant code in xwayland manager
2024-05-21 17:23:03 +08:00
rubbishzhyic a2d4b9da86 fix: only run animation on start
add enterAnimationEnabled, default to false;
detect first start via seqanimation & finished prop
2024-05-21 17:23:03 +08:00
rubbishzhyic d62cde3736 feat: correct multitaskview enter animation
grid elements' initial pos must be set after parent stablizes, so use loader to defer create
2024-05-21 17:23:03 +08:00
rubbishzhyic c56c9147fb fix: ensure curWsId is in scope
multitaskview's root.model sync is buggy
2024-05-21 17:23:03 +08:00
rubbishzhyic e08d12ac5c feat: workspace create / destroy in multitaskview
bug: listview cannot scroll
2024-05-21 17:23:03 +08:00
rubbishzhyic 1457eec716 feat: drag to reorder workspaces
when hovered on another ws thumb, reorder is marked, and applies when drag stops;
if has not hovered on any ws thumb, release will cancel reorder;
curworkspaceId will change following the reordering
2024-05-21 17:23:03 +08:00
Zhang Dingyuan 3a1b7e15b5 feat: add user level treeland service
Supports running treeland at the user session level without relying on
DDM.

Log:
2024-05-21 15:37:48 +08:00
groveer 725fb221f5 feat(format): add `.clang-format` & format C++ code
as title

Log:
2024-05-20 02:01:23 +00:00
Zhang Dingyuan 1bc07fea67 fix: greeter not lazyload
wrong property

Log:
2024-05-17 16:13:04 +08:00
Zhang Dingyuan 72415efa42 chore: lazy load greeter module
greeter don't init when debug mode.

Log:
2024-05-17 10:55:27 +08:00
Zhang Dingyuan a534212e40 feat: support crash reboot
refresh user state when startup.

Log:
2024-05-17 10:55:27 +08:00
Zhang Dingyuan 404cc5e35a chore: remove socket manager
use systemd socket.

Log:
2024-05-17 10:55:27 +08:00
Zhang Dingyuan 9cbebc95c8 feat: window default position
change to output center

Closed: https://github.com/linuxdeepin/treeland/issues/232

Log: 默认窗口出现在屏幕中间
2024-05-16 11:45:30 +08:00
rewine 9001dbdced fix: layer surface crash in muitoutput
log: should not closed layersurface when leave output, it maybe temporary
2024-05-16 11:40:15 +08:00
pengwenhao 096e676569 feat: default usage dtk log system
Log: default usage dtk log system
Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
2024-05-14 19:34:16 +08:00
Zhang Dingyuan 8695101ddb refactor: support systemd socket
use systemd socket

Log:
2024-05-14 18:49:53 +08:00