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

Entering clamshell mode reduces the brightness of external screens unexpectedly when brightness syncing is on with syncing external changes is enabled and auto brightness is also enabled #2970

Closed
waydabber opened this issue May 15, 2024 · 6 comments
Labels
bug Something isn't working done All tasks are completed released Released sync various forms of syncing
Milestone

Comments

@waydabber
Copy link
Owner

waydabber commented May 15, 2024

Mentioned in #2969 by @acocoadog:

If the cover of MacBook is closed when the brightness synchronization function is turned on, the brightness of the external screen will drop unexpectedly, but I think most people hope that the brightness will not change at this time.

@waydabber waydabber added bug Something isn't working investigating Investigating issue sync various forms of syncing labels May 15, 2024
@waydabber
Copy link
Owner Author

Hmm. I can't seem to be able to reproduce this issue. @acocoadog - can you give some more details on your setup and how syncing is configured exactly so I may try to reproduce this problem? Thank you!

@waydabber
Copy link
Owner Author

Ok, I was able to reproduce the problem. This happens only when auto brightness is enabled.

@waydabber waydabber changed the title Entering clamshell mode reduces the brightness of external screens unexpectedly when brightness syncing is on Entering clamshell mode reduces the brightness of external screens unexpectedly when brightness syncing is on with syncing external changes is enabled and auto brightness is also enabled May 15, 2024
@waydabber waydabber added done All tasks are completed unreleased Not released yet in beta form and removed investigating Investigating issue labels May 15, 2024
@waydabber waydabber added this to the v2.3.4 milestone May 15, 2024
@waydabber
Copy link
Owner Author

It seems like when auto brightness is enabled and the system is entering clamshell mode, the system sends one brightness change notification about setting the brightness to zero. Strangely this does not happen when auto brightness is off. Added a check whether the display is in clamshell mode and prevented syncing when it is. This seems to fix the issue.

I tested/fixed this on an M3 Apple Silicon MBP, will need to see if Intel behaves similarly.

@waydabber
Copy link
Owner Author

let me know @acocoadog if you'd like to test an interim build with the fix to see if the issue is indeed resolved on your system as well.

@acocoadog
Copy link

let me know @acocoadog if you'd like to test an interim build with the fix to see if the issue is indeed resolved on your system as well.

Thank you for your efforts! I would like to help test it. I have M1pro Apple Silicon.

@waydabber
Copy link
Owner Author

Sure, I will - just found some issues affecting externally induced brightness syncing (some events are ommitted which causes issues with delta syncing #2973) I'll need to fix first and then provide a version.

@waydabber waydabber added released Released and removed unreleased Not released yet in beta form labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done All tasks are completed released Released sync various forms of syncing
Projects
None yet
Development

No branches or pull requests

2 participants