Commit Graph

384 Commits

Author SHA1 Message Date
renovate[bot] f38198c238 chore(deps): update waylib digest to 846f65d 2024-04-02 10:36:54 +08:00
rewine e1a6f61e7f chore: add_feature_info for WITH_SUBMODULE_WAYLIB
log: better cmake log
2024-04-02 10:36:06 +08:00
rewine 98a9f46f79 chore: the property change should be atomic
log: need https://github.com/vioken/waylib/pull/297
2024-04-02 10:35:46 +08:00
rewine 90223cc633 chore: update z value for WindowDecoration
log: sync https://github.com/vioken/waylib/pull/273
2024-03-26 11:00:19 +08:00
renovate[bot] 0bbed681d4 chore(deps): lock file maintenance 2024-03-26 10:59:17 +08:00
renovate[bot] 6ba3be1dd0 chore(deps): update waylib digest to f811def 2024-03-26 10:58:44 +08:00
rubbishzhyic 639f8785db feat: use layersurface's output
if no output, use activeoutput to initialize;
output remove unmanaged
2024-03-26 10:56:56 +08:00
rubbishzhyic 92ce330fe0 fix: Margins not initialized
compiler warning is missing?
2024-03-26 10:56:56 +08:00
rubbishzhyic 5190ef996f fix: xwayland no display
required props are missing, hard to find, largely owing to https://github.com/vioken/waylib/pull/294;
also fix windecoration's prop type
2024-03-22 16:10:15 +08:00
rubbishzhyic 251773e43b feat: impl some normal shortcuts in qml
trigger/toggle actions like multitaskview, screenlock etc.
add a global singleton in qmlhelper to group shortcut signals
2024-03-21 15:27:25 +08:00
rubbishzhyic 4e1ef52885 fix: sync winswitcher's keyboard navigation & qml state
fix the bug that winswitcher's state not sync if keyboard nav and mouse interaction etc in qml both happens;
still have to impl in c++, since qt shortcut doesn't support hold/deactivate events
2024-03-21 15:27:25 +08:00
groveer 68b615d782 chore: optimize background registration method
as title

Log:
2024-03-21 15:26:08 +08:00
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