Comments (11)
Sorry for getting back so late 😅 A bunch of traveling and a bunch of other mir/miracle related work has taken my attention lately.
However I do understand better what you mean now! The compositor does technically have the ability to force close a window (e.g. by force closing the Wayland socket). I also have run into this same problem when processes like CLion fail to close, and I usually end up having to kill -9 <pid>
it to get out of that situation. There might be a better way now that you bring it up...
from miracle-wm.
I also have run into this same problem when processes like CLion fail to close, and I usually end up having to kill -9 it to get out of that situation.
If system is frozen, I suspect you cannot even open a console window (terminals switch may work). Only mouse pointer is working sometimes . Hence, click on Skull
button should immediately ( in the highest priority) execute the kill -9 <pid>
command to release occupied memory and remove cpu load.
from miracle-wm.
Interesting thought! What would be the feature here? Would it be something like:
The WM can be configured to kill applications according to some order of priority when the CPU spikes above 90%
from miracle-wm.
I am not a fun of autokilling applications because if a financial app is auto-killed and money gets lost , user will proceed to auto-self-killiing ! 😉😊
The ideal would be windows never become unresponsive in some smart way so that user can close any window any moment in dt time without delay to recover memory.
The problem exists, it's real . I have faced it many times .
Hence, let's start from the question, "is it possible theoretically and practically a window never becomes unresponsive in user-space?"
from miracle-wm.
On the other hand , the idea of closing order would be a step forward .
from miracle-wm.
Please pay attention that I write about window responsiveness and not application responsiveness.
The application may "freeze" but window controls never do! So, when I decide to closie a window, it sends a "close" signal with highest priority to the application or a "kill" signal. Any pending operation apart from saving eg swapping is halt and closing operation begins .
I.e. a safe memory area in user space is created which holds the window operations separate from applications ones. Something like that .
What do you think ?
from miracle-wm.
Windows have 3 buttons minimize
, maximize/restore
and close
.
What about an opfional fourth one kill
as a "Skull". This button has to remain active even when the system does not respond at all.
😲😳
from miracle-wm.
A kind of an "Emergency Shutdown" switch activated manually by pressing a "skull" button.
from miracle-wm.
I would also potentially like that feature 😄 Interesting idea. I think it's a good potential "kill switch" feature. It might not manifest itself as a skull button, since many applications only want client-side decorations, but it could be a keybind of some sort that the compositor handles.
from miracle-wm.
Common users are not familiar with keybinds . A lot of people use a machine ONLY through a GUI and mouse. They use only what they can see in DE at first or second sight (menu, options , etc). They hate mystical features.
Try to make the features apparent to them through GUI and one-click if possible.
Note: I use pc the last 40 years , I do only know/remember cut/copy,/paste. I have spent for configuring keybinds no more than 2-3 hours in my whole life and I have regretted it. Especially those ones which will be used once a month or 3-6 months.
IMHO , add the Skull
button in API. Any app wants only client-side decorations will avoid calling it. It could also be optionally added to windows by users . Just give the freedom to the users to choose to use it or not.
from miracle-wm.
It would be possible for the Skull
button to automatically appear (a dynamic feature) in windows when used memory and/or cpu load reach preset values defined by user as options .
IMHO , that would be a great feature!
from miracle-wm.
Related Issues (20)
- Fullscreen windows are being resized when a new window joins the tiling grid
- I3 IPC is a bit racy (e.g. workspaces can change while they're being sent)
- Add support for parent window selection
- Create a "miracle-certified" configuration that can provide a solid desktop experience without any extra work HOT 1
- Upgrade to core24 so that the snap workflows function again
- Border rendering is throwing a GLError 1281 HOT 1
- When a window is moved such that a new root node is created, we disrespect exclusion zones
- The configuration system needs better, more meaningful errors with line and column indicators
- Generate enum configuration values using a python tool built on llvm
- When first added, overflowing windows are not properly constrained
- Constrained windows are centered when they should be left-aligned (e.g. gedit)
- Constrained windows are not clipped while transforms are happening, so things get weird quickly...
- Compilation error: target pattern contains no '%'. Stop. HOT 1
- Move Animations must be interpolated from their current position rather than their target position
- Lots of flickering happens when we move/resize windows
- Support for i3's concept of "containers"
- Create test suite based off of IPC
- Workspace change Animations must be interpolated from their current position rather than their target position
- Floating windows are some times getting lost after switching workspaces
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 miracle-wm.