Coder Social home page Coder Social logo

Comments (6)

github-actions avatar github-actions commented on June 21, 2024

This issue is stale because it has been open for 14 days with no activity.

from fancywm.

veselink1 avatar veselink1 commented on June 21, 2024

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.

tgrosinger avatar tgrosinger commented on June 21, 2024

This issue seems to also occur if you unplug a monitor and plug it back in. Windows positions are not remembered.

from fancywm.

coffeeneed avatar coffeeneed commented on June 21, 2024

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.

veselink1 avatar veselink1 commented on June 21, 2024

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.

coffeeneed avatar coffeeneed commented on June 21, 2024

@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)

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.