Commit Graph

822 Commits

Author SHA1 Message Date
groveer c549535044 chore: use `Waylib::WaylibServer` directly
as title

Log:
2024-03-21 15:26:08 +08:00
groveer 3db1bed9ee feat: add decoration's shadow and title
1. D.BoxShadow implement for shadow
2. Label implement for title

Log:
2024-03-21 15:26:08 +08:00
zhongyic00 6f7aec9752 feat: anchor layershell to output
using outputCoordMapper to create sibling item
2024-03-18 15:40:53 +08:00
rubbishzhyic 192e85245c fix: ssd's button layer visible in multitaskview
layer becomes invisible in shadereffectsource when parent not effective visible?
use hidesource to hide wins
2024-03-18 14:59:17 +08:00
zhongyic00 08b43f2b49 feat: support mouse interaction
click blank area to quit, click item to activate;
remove dbg code & format the file for contribution
2024-03-18 14:59:17 +08:00
zhongyic00 aea4faf846 feat: avoid exclusive margins in multitask view placement
subtract exclusive margins when calcing display rect for each output
2024-03-18 14:59:17 +08:00
zhongyic00 c14b1adbad refactor: gather output's exclusiveMargins and expose to QML
replace 4 ints with a struct with Q_GADGET & properties for qml integration and +=/-= simplicity
2024-03-18 14:59:17 +08:00
zhongyic00 db899bbb78 feat: multitask show on each output
use QmlHelper.layout.outputs to get all outputs, place eqhgrid accordingly;
proxymodel is a little inefficient
2024-03-18 14:59:17 +08:00
rubbishzhyic 1dc3cd0e31 feat: impl multitask all-wins view
use eqhgrid layout;
lacks consideration for output&layer exclusive zone;
no interaction, no multi workspaces
2024-03-18 14:59:17 +08:00
rubbishzhyic 797e2c731e fix: ensure current in range
check for intermediate state, or some window exits when previewing
2024-03-15 10:46:15 +08:00
zhongyic00 c74ec05eac fix: shoudn't actually activate win when previewing
standard behavior
2024-03-15 10:46:15 +08:00
zhongyic00 c4aa050d1d fix: split layershell/normal surface groups
behavior is different in terms of visibility, opacity changes when multitaskview etc. show up;
z-axis relation is preserved by setting normal group to 0
2024-03-13 17:29:12 +08:00
rubbishzhyic a79819d4fe chore: prepare for contribute
correct file copyright info (creator and mail), remove unused dbg code
2024-03-13 17:29:12 +08:00
rubbishzhyic f262b029c7 chore: separate equal-height-grid layout item
for multitask allwins view reuse
2024-03-13 17:29:12 +08:00
rubbishzhyic 1b1fd208b1 fix: switcher indicator ui styles
impl win title, lacks support for xwayland, maybe wrong using of appId
2024-03-13 17:29:12 +08:00
rubbishzhyic 807d81896a fix: change model's stack order after switch
switcher indicator's order should sync with display winstack
2024-03-13 17:29:12 +08:00
rubbishzhyic ad09b1da54 feat: support tap interactions
click to select focused win, click outside indicator to exit
2024-03-13 17:29:12 +08:00
rubbishzhyic c385926ae2 feat: indicator flickable, auto scroll to selected win
auto scroll by Yaxis, wheel scrollable, for large amount of wins
2024-03-13 17:29:12 +08:00
rubbishzhyic 49cebdfd65 fix: disable surfaces when switcher shows
set `enabled` to false when switcher shows to block input events from real win items.
cursorShape still keep changing, but kwin does so as well
2024-03-13 17:29:12 +08:00
rubbishzhyic d83e32c475 feat: switcher's indicator follows active output
switcher indicator should show on a screen not whole virtual destop scene
2024-03-13 17:29:12 +08:00
rubbishzhyic 962d6f9b52 feat: impl basic equal-height-grid layout for win switcher
kwin & win11 existing alt+tab switch indicator uses a layout where thumbnails are arranged in rows with equal height, and each with different width according to their h/w ratio.
Qt has no such layout, implemented using colum of rowlayouts & internal calculated layout model
2024-03-13 17:29:12 +08:00
renovate[bot] 36b4581bcf chore(deps): lock file maintenance 2024-03-13 11:30:21 +08:00
renovate[bot] 1aa9658a73 chore(deps): update waylib digest to fe75c99 2024-03-12 13:37:06 +08:00
rewine 5f57cb6637 chore: suppress cmake warning
Log:  If target is an executable and not call qt_finalize_target immediately,
 it will check private dependencies that are CMake targets
2024-03-08 13:11:01 +08:00
rewine e872279ddc chore: remove support for qt < 6.6
Log: waylib need qt >= 6.6 anyway
2024-03-08 13:11:01 +08:00
renovate[bot] 9f9873a6a7 chore(deps): lock file maintenance 2024-03-07 11:53:24 +08:00
groveer fa5885fca1 feat: add `.editorconfig`
as title

Log:
2024-03-07 11:26:41 +08:00
groveer 88e44085c5 chore: remove compiler warning
as title

Log:
2024-03-07 11:26:41 +08:00
zhongyic00 27fa4cbed9 fix: activate wrapped surface when SSD clicked
activate surface via setting Helper.activatedSurface, when titlebar or edge region clicked
2024-03-06 14:03:39 +08:00
groveer f4baaa8872 fix: show error picture on window background
as title

Log:
2024-03-06 13:23:05 +08:00
renovate[bot] a72637fe6a chore(deps): update waylib digest to 148358a 2024-03-06 13:21:58 +08:00
rewine ee67bf1495 feat: allow ddm works in nixos
log: use `nix run -v -L .#qemu` to test
2024-03-06 13:21:37 +08:00
ComixHe 36e5c3ec36 feat: support run a process after treeland started
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-30 09:16:33 +08:00
Zhang Dingyuan 20dd8b1596 chore: release 0.2.2
release 0.2.2

Log:
2024-01-29 14:15:10 +08:00
rewine ff871ea052 fix: greeter maybe not show when screen was pulled out
log: After a screen is pulled out, the cursor will automatically return to other screens and trigger the LastActiveCursorItemChanged signal. However, if the cursor is on two screens at the same time before the screen is pulled out and has not left the previous screen, the signal will not be triggered.
2024-01-26 15:17:39 +08:00
ComixHe 22ae27336c fix: greeter should refresh after add/del user
Issue: https://github.com/linuxdeepin/developer-center/issues/7105

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-26 15:17:06 +08:00
Zhang Dingyuan bb74b79d29
Merge remote-tracking branch 'upstream/release/0.2.1' 2024-01-26 11:02:53 +08:00
renovate[bot] 137ee2eca7 chore(deps): update waylib digest to 6ad14a7 2024-01-26 10:49:25 +08:00
Zhang Dingyuan 4c264d7505 chore: release 0.2.1
fix cannot set wallpaper

Log:
2024-01-26 02:45:46 +00:00
Zhang Dingyuan f1435beefb fix: install symlink
dde-filemanager-server

Log:
2024-01-26 02:45:46 +00:00
Zhang Dingyuan 4bb51a7248
fix: install symlink
dde-filemanager-server

Log:
2024-01-25 16:59:16 +08:00
Zhang Dingyuan 75c13478ec
fix: cannot set wallpaper
not set current user

Log:
2024-01-24 21:49:09 +08:00
ComixHe cfe096f269 chore: add fake-dde-filemanager-server.service
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-24 21:47:51 +08:00
rewine 2166466baa chore: fix not found qtsvg in nixos
log: treeland need qtsvg
2024-01-24 21:47:19 +08:00
rewine 62a414be2e fix: layer shell not hide when destroy
log: should destroy root, it's not in helper
2024-01-24 21:46:59 +08:00
Zhang Dingyuan afd3c35516
refactor: merge TreeLandHelper to Helper
doesn't need split two helper class.

Log:
2024-01-23 19:34:28 +08:00
Zhang Dingyuan 58e9261c6a
chore: lazy load workspace
tiled workspace will crash when surface quicy created and deleted.

Log:
2024-01-23 15:08:10 +08:00
Zhang Dingyuan b9f4e1477e
fix: click menu will crash
check WSurface isNull

Log:
2024-01-23 13:53:37 +08:00
Zhang Dingyuan cbefbb758a
chore: release 0.2.0
new version

Log
2024-01-19 20:50:48 +08:00
Zhang Dingyuan 459ec746c0 fix: cannot handle shortcut with DBus type
not read info from ini file.

DBus interface signature

Log:
2024-01-19 20:50:33 +08:00