Comments (3)
Hi, thanks for reporting this, I've been aware of it for a while, just haven't had time to investigate it before.
After bisecting, I was able to track this down to bca7804b
, where vaxry completely rewrote CWindow pointers to make them memory safe, breaking all plugins in the process.
I did attempt to fix it, but I'm not very familiar with smart pointers in C++ and this breaks pretty much all functions in the plugin, as we use CWindow
a lot, so there's dozens of errors. That means this will likely require a significant rewrite. If you feel up to it, I will accept a PR with a fix, otherwise, this will probably take a while.
from hyprland-dwindle-autogroup.
I see, thanks for the hints!
I could probably look into it on the weekend.
Cheers.
from hyprland-dwindle-autogroup.
Hey, after some work, I managed to push f526bed, which at least gets the plugin to build with 0.40.0, however it's far from usable.
The grouping behavior sometimes just doesn't work. This is consistent for each window where it didn't work. Based on the logs, it seems to be because that window has a deny
flag set for groupping. However, this flag shouldn't be set for it, and when the plugin is unloaded, groupping works, even though this deny flag check is actually only present in Hyprland's original createGroup
function, which this plugin just calls, so I'm very confused with what's going on with that.
Additionally, while ungroupping with just a single window does seem to work, if you try and ungroup multiple windows, Hyprland will crash completely. Based on logs, this crash seems to be occuring somewhere in the logic for collecting dwindle nodes, which however doesn't make sense to me, as this logic shouldn't be any different from what it originally was.
Probably just needs some more in depth debugging here, I will take a better look at this at some point, but no promises on when. Of course, if you want, you can still do the PR fixing this, I might get to this before the weekend, but if not, feel absolutely free to tackle it.
from hyprland-dwindle-autogroup.
Related Issues (11)
- Weird ungroupping beahvior
- Welp latest commit kills hyprland HOT 2
- [Feature request] add support for hyprpm HOT 1
- Crash when toggling on floating window HOT 4
- Hyprland compositor crashes when using togglegroup dispatcher on a single window HOT 1
- compilation error in hyprland v0.26.0 HOT 1
- crashes on hyprland version 0.27 HOT 2
- plugin crashes/dosent work in the latest arch release 0.27.2 HOT 7
- welp the plugin is broken again HOT 4
- New hyprland version breaks the plugin (v0.30.0) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyprland-dwindle-autogroup.