rewine
53c3aab8e3
fix: not link wayland-client in opensuse
...
log: just use pkgconfig to find
2024-04-16 08:09:20 +00:00
groveer
c14e45183f
fix: support qt 6.7
...
as title
Log:
2024-04-16 08:05:00 +00:00
rubbishzhyic
cc28086afb
fix: keyboardfocus should not follow activeItem
...
activated surface may lose focus in qt when other view is on
2024-04-16 09:54:20 +08:00
rewine
be4abe7b84
fix: can't preview xwayland item
...
log: use more common surfaceitem
2024-04-12 15:29:49 +08:00
rewine
ad24e04b1e
feat: make treeland foreign toplevel manager also work for xwayland
...
log: this allow dock get xwayland surface info
2024-04-12 15:29:49 +08:00
rewine
5f76e8ff62
fix: XWaylandSurface can't close
...
log: not only xdgTopToplevel surface need close, XWaylandSurface also call this func
2024-04-12 15:29:49 +08:00
renovate[bot]
a2280a9073
chore(deps): lock file maintenance
2024-04-12 13:56:28 +08:00
renovate[bot]
77ede0b789
chore(deps): update waylib digest to 1f6d79f
2024-04-12 13:55:23 +08:00
rubbishzhyic
994852627e
fix: ssd's clipped content invisible in shadereffectsource when sourceitem not visible
...
use opacity=0 & explicit mask effect item to avoid
2024-04-11 17:43:43 +08:00
renovate[bot]
60a321b063
chore(deps): lock file maintenance
2024-04-11 17:41:45 +08:00
rubbishzhyic
e80e3ea5f0
fix: trigger resize on mode change
...
if surface mapped when not visible, it will only change mode to sizefromsurf, but not applied, so has zero size
2024-04-11 17:40:34 +08:00
justforlxz
f4a2ba703b
feat: add new window animation
...
This function is for demonstration purposes only, and there is still work to be done.
Log: 支持新窗口动画
2024-04-11 14:31:35 +08:00
rubbishzhyic
90ecd78cae
fix: hide surfaces when previewing
...
lift opacity control to parent of toplevelContainer;
add prop to notify dockpreview's previewing
2024-04-03 18:00:26 +08:00
rubbishzhyic
870f7ae9b4
feat: dock adapt surfaces model
...
refactor using a generic filterModel;
fix crash when previewing on surface exit;
fix type errors about `surface`or `surfaceItem`
2024-04-03 18:00:26 +08:00
rubbishzhyic
dafc4f7a99
fix: activated workspace follows surface activation
...
activated workspace change only driven by surface activation;
fix request activate var type
2024-04-03 18:00:26 +08:00
rubbishzhyic
9d42b95647
feat: better interaction
...
shortcut for move win to neighbor workspace;
2024-04-03 18:00:26 +08:00
rubbishzhyic
d78aa74ab8
feat: winswitcher adapt surfaces model
...
use workspace's surfacesModel
2024-04-03 18:00:26 +08:00
rubbishzhyic
bf287655a4
fix: sync state of surfacesModel
...
fix child not moved on destruction due to implicit iter-modify-conflict;
fix missing stack order change due to uncontrolable order of activatedSurfaceChanged/model append;
small fixes due to incomplete refactor
2024-04-03 18:00:26 +08:00
rubbishzhyic
7ced54f7ac
feat: create workspaces' surfaces model
...
sync state with buffered parentChange;
adapt multitaskview model;
move surfaces to default(No.0) when destroyed
2024-04-03 18:00:26 +08:00
rubbishzhyic
88078ddf27
feat: seperate model& logic to workspaceManager
...
wsmngr controls workspace add/del/reorder, provides mapping between static wsid & dynamic relativeId;
add some dbg items
2024-04-03 18:00:26 +08:00
rubbishzhyic
6571d99133
feat: impl basic workspaces
...
use hidden qobject parent item and reparent to visual parent;
support shortcut to change workspace;
buggy models & toplevels hidden
2024-04-03 18:00:26 +08:00
rubbishzhyic
0e8bfbb3cb
feat: use qml inputhandlers to handle events
...
easily support drag, dblclick handling
2024-04-03 16:29:58 +08:00
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