-
-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows destruction dispatchers #8962
Conversation
fix: func namings
Isn't the whole point of Also, what about daemon processes, like |
imo kill doesn't sound that graceful, but close is. you can still use the killactive the same, just now renamed to closeactive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
silent config break, I don't like those.
Is this really needed?
It's not about how it sounds, but what it does.
Honestly, I don't see the point. Besides, this is a breaking change and I can predict many 'help when I close the window - my daemon processes die too' issues. UPD: also, what is the point in killing a client, instead of just closing? They don't get unresponsive that often - and, if they do - there's htop/btop/whatever task manager to get rid of them |
Just an feature I used to have but now have to replace via scripting, and I do use it pretty often(especially to applications that are poorly coded and mainly focus on windows just hang for 1-2min after giving killactive). I guess the naming of “kill”active didn’t rly make sense in the first place if it’s not really killing it but closing the window gracefully. Also, since we have that dialog that shows after every update, should be fine right edit: if you have any better ways of doing this without a silent config break. I’d be happy to do
don’t see why would it kill the daemon? It sends a kill to the pid, not a killall to the binary(name) Edit2: I think to avoid config breaks, not only silent ones, but config break in general, we shall perhaps add a post install script that automatically settles those stuff for us? Since I've seen quite a lot of Reddit post regarding the shadow configuration change when it was made. |
It's a common name for this function - you can find this in sway, i3 and other compositors/xorg wms. Keeping things standardized is a good thing.
That dialog pops up after a version bump - not git.
Not changing
Okay, but what about the apps that aren't meant to be killed upon closing a window? The ones with a systray, for example? Overall, I still don't see the point. To me - it looks like you want to break the most common must-have dispatcher, everyone uses, just because you, personally, prefer killing clients, instead of closing them. |
Also, I've just checked: easyeffects flatpak (and non-flatpak, I guess) has just one pid for both |
Using a real kill by default instead of close is a bad idea, but having a separate dispatcher for kill would be nice. bspwm has this option bspc node -c #close
bspc node -k #kill Currently in hyprland I use Also it would close this issue #8212 |
You could leave UPD: |
I agree with @izmyname, repurposing So @TAforever 's script : could be replaced by: depending on how the user wants to deal with the processes |
Alright, will rename to forcekill(active) then? And sure, I'll add a signal dispatcher too
I see, didn't realize that, thanks. Shouldn't be a issue anyway if you don't use the new dispatcher(since we r gonna keep the old dispatchers name) |
alright, here you go. you can do forcekillactive signalwindow is also added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wiki mr pls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Describe your PR, what does it fix/add?
atm kill(active,window) don't actually kill it but close it instead, this fixes that
also adds real kill(active,window) which actually kills it
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
should probably be in breaking changes
Is it ready for merging, or does it need work?
ready