haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
469 stars 280 forks source link

Fix app not moving in wayland by using the startSystemMove() method #1422

Closed alpemwarrior closed 9 months ago

alpemwarrior commented 2 years ago

Fixes #991, where the app could not be moved under wayland because the protocol does not allow windows to move themselves. This method was introduced in qt 5.15 and is currently recommended when using client-side decorations as it allows for native look and feel.

I have only tested this under under wayland and xwayland but it should be a drop-in replacement in Windows, Linux and Macos. Testing would be appreciated nonetheless.

alpemwarrior commented 1 year ago

Any feedback on this?

feliscat commented 12 months ago

This does fix the problem for me in the latest KDE/Wayland under Arch. It would be nice if it was merged.

whao commented 9 months ago

Any update on this?

alpemwarrior commented 9 months ago

I've rebased this on top of the current master (not that there were any conflicts).

killing commented 9 months ago

Thanks a lot!