Skip to content
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

Minimized windows pop up after closing and opening lid on MacBook Pro #43

Closed
denho opened this issue Oct 31, 2021 · 4 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@denho
Copy link

denho commented Oct 31, 2021

Thanks for the amazing tool - it works great for me.

One thing I noticed, though, is that when I have BetterDummy launched, previously minimized windows get back from the dock to desktop, after I close and open the lid. I tested a few times and got the same results with several windows from different apps. Also tried restarting the laptop, but that didn't help. Only after I quit the app, the issue is gone.

I have 1 dummy monitor set up, but I didn't have the external monitor connected at the time when I spotted the issue. The laptop I'm using is M1 MacBook Pro 13-inch, macOS Monterey (12.0.1).

@waydabber
Copy link
Owner

I was not able to reproduce the issue, but macOS stores a specific display configuration for all distinct combination of active displays and if display roles and resolutions change among configurations then windows can get reorganized. Maybe you experience something like this. If you provide a video of the phenomenon then I might better understand the situation.

@vividfog
Copy link

vividfog commented Nov 1, 2021

I was able to reproduce this in laptop mode, but not in clamshell mode. In clamshell (3 external displays) everything works as expected, even though macOS has a somewhat unpredictable ways to "remember" where to put the windows, when the mirrors come and go.

Anyway, here's the procedure I tested:

  1. If I undock the laptop and leave BD running, there will be 3 dummies left, even though their host monitors are now gone. The dummies remain as extended invisible displays. I can move my mouse or windows there, making those disappear. (Expected behavior so far, I don't use the auto-disconnect checkbox.)
  2. I open some apps while in laptop mode, minimize them to dock. BD is still running with those 3 invisible dummies. No dummy/mirror configured for the internal display.
  3. Close the lid, open the lid, unlock the screen.

At this point the minimized applications are visible as un-minimized in their original positions. Minimizing again, closing the lid, opening the lid, this will again un-minimize the windows. It's consistent and repeatable over here.

Hope this helps.

@waydabber
Copy link
Owner

Hi, I will try to reproduce this one, thanks.

Future app versions will have the option to associate a dummy with a display and automatically disconnect a dummy when not in use, so when you take your laptop you won't have invisible extended dummy screens anymore. That should fix this issue.

@waydabber waydabber added duplicate This issue or pull request already exists and removed awaiting response from issue reporter Needs further info labels Nov 2, 2021
@waydabber
Copy link
Owner

See #16 about display association (future feature). I'll close this issue, we can continue the discussion about this feature there. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants