Comments (6)
This issue is stale because it has been open for 14 days with no activity.
from fancywm.
Can you please attach the log file as well. I'm not sure why you're seeing what you're seeing, but the logs can help explain.
The log file will be fancywm.log in the settings directory.
from fancywm.
This issue seems to also occur if you unplug a monitor and plug it back in. Windows positions are not remembered.
from fancywm.
This unfortunately happens to me too. My log files tells me nothing:
2024-05-26 09:27:33.755 +02:00 [WRN] FancyWM v2.12.1.1 (https://www.microsoft.com/store/apps/9P1741LKHQS9) on Microsoft Windows NT 10.0.22631.0
2024-05-26 09:27:34.803 +02:00 [WRN] Using the multi-monitor tiling backend
from fancywm.
Thanks @coffeeneed. I suspect this is related to OS seeing that the monitor is being switched off and on, in which case the window state will be cleared.
I cannot think of a clear mitigation - a user might genuinely unplug a monitor, and in that case, windows will be moved to the visible area. Perhaps we can retain the layout in case of 0 monitors connected, but will need more info to know for sure.
I could add some extra logging around that area of the code, and with the help of a volunteer, capture logs to use to create a possible fix.
from fancywm.
@veselink1 Thank you for the follow-up. I've done some research and basically concluded the same as you. I also understood that, in some circumstances, this behavior could manifest differently on DP vs. HDMI. However, this hasn't been tested from my part.
I'm talking way out of me league here, but aren't there any way in the Windows API to check for monitor or hybernation wake-ups (what ever)? If that's the case, why couldn't you listen for change in that and automatically rearrange the Windows back to its position -- which is derived from the last stored information of such data?
Again, there's probably a reason this hasn't been done already, so please forgive me for being "Captain Obvious" here.
from fancywm.
Related Issues (20)
- Not possible to move a Windows between two stacks panals HOT 1
- Layout flipping if "remote-desktop-manager" runs HOT 1
- Remember group state HOT 5
- fancywm does not manage obs studio HOT 1
- Crash on startup with automatically collapse panels +2
- Godot 4.2.2 doesn't show tooltips when FancyWM is running HOT 1
- System.EntryPointNotFoundException: Unable to find an entry point named 'DCompositionBoostCompositorClock' in DLL 'dcomp'.
- Borders and multi monitor support HOT 5
- separate window padding to any side HOT 2
- System.InvalidOperationException: Cannot set the position of a window that is not in the restored state!
- System.NullReferenceException: Object reference not set to an instance of an object. HOT 2
- FancyWM taking over keybinds that are not configured/assigned - breaking other app keybinds HOT 4
- System.NullReferenceException: Object reference not set to an instance of an object.
- System.NullReferenceException: Object reference not set to an instance of an object.
- System.NullReferenceException: Object reference not set to an instance of an object. HOT 1
- Pin window position and size permanent HOT 2
- Wrong action triggered on hotkey HOT 1
- monocle mode
- seperate stack from other tiles
- Subsequent commands while holding the key
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 fancywm.