Code Monkey home page Code Monkey logo

Comments (8)

emvaized avatar emvaized commented on June 15, 2024

Well, if it was that easy, I wouldn't have placed the "X11" label in the first place :) I already gave it a try to rework the feature so that it could function on Wayland, but had no luck yet.

from kde-snap-assist.

semarainc avatar semarainc commented on June 15, 2024

Ok, thank you for the explanation :D
i'm sorry if my question offended you

from kde-snap-assist.

semarainc avatar semarainc commented on June 15, 2024

Just curious, what makes this feature not yet applicable in wayland?
Thanks

from kde-snap-assist.

emvaized avatar emvaized commented on June 15, 2024

At first I thought that it's because of absence of workspace.getClient() method on Wayland, but replacing it with this logically identical line does not help.

Then I suggested that the reason could be that windowId property itself is not reliable on Wayland to identify the windows, so I tried to rewrite the snappedWindowGroups variable and all the related methods to store the client objects itself instead of only their windowIds, but it didn't help either.

from kde-snap-assist.

semarainc avatar semarainc commented on June 15, 2024

I guess kwin wayland currently is not capable of doing that :(
i think this also explained why exquisite cannot snap window when minimized?

Thank you for your detailed and helpful information :D

from kde-snap-assist.

emvaized avatar emvaized commented on June 15, 2024

I'm not sure. Maybe this issue will attract attention of someone more experienced with KWin Scripting and Wayland in particular, but for now I'm out of ideas of what else to try.

from kde-snap-assist.

emvaized avatar emvaized commented on June 15, 2024

Well, it turns out you can replace windowId everywhere with internalId, and after a few more changes here and there snap group features seems to be working on Wayland! As well as sorting by latest active window.

Would be glad if you could test the latest code from the dev branch.

from kde-snap-assist.

emvaized avatar emvaized commented on June 15, 2024

New patches are now merged to the main branch and included in 1.6 release.
If you face some snap groups features not working under Wayland, please feel free to open a new issue.

from kde-snap-assist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.