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

Force re-apply display configuration override when no changes made #1801

Closed
molamooo opened this issue May 4, 2023 · 11 comments
Closed

Force re-apply display configuration override when no changes made #1801

molamooo opened this issue May 4, 2023 · 11 comments
Assignees
Labels
done All tasks are completed enhancement New feature or request released Released
Milestone

Comments

@molamooo
Copy link

molamooo commented May 4, 2023

When I unplug and plug back external monitors, the native smooth scale is nolonger working, but still checked in betterdisplay's setting panel. I had to uncheck and recheck native smooth scale, and then apply changes. It's it possible to add a shortcut to re-apply current settings?

@waydabber
Copy link
Owner

Yes, that's a good idea. I'll add this in an upcoming version

@waydabber waydabber added the enhancement New feature or request label May 4, 2023
@waydabber waydabber changed the title Force re-apply when no changes made Force re-apply display configuration override when no changes made May 4, 2023
@waydabber waydabber self-assigned this Jun 1, 2023
@waydabber waydabber added done All tasks are completed unreleased Not released yet in beta form labels Jun 1, 2023
@waydabber waydabber added this to the v2.0.0 milestone Jun 1, 2023
@waydabber
Copy link
Owner

Screenshot 2023-06-01 at 14 33 37

@waydabber waydabber added pre-release available Released as beta version and removed unreleased Not released yet in beta form labels Jun 14, 2023
@molamooo
Copy link
Author

molamooo commented Jun 29, 2023

Is it possible to add an "force apply" button in the menu or a shortcut? Now with the pre-released version, I still have to:

  • click menu icon and open display setting
  • find one display with "Edit the system configuration of this display model" toggled
  • scroll to mark unapplied
  • apply

, which didn't make things easier comparing to the old versions🤣
The force apply procedure is used quite frequently (e.g. daily switch from work location to home desktop). It would be really nice to have, for example, a short cut that considers all settings of connected displays are unapplied and directly apply it.

@waydabber
Copy link
Owner

Hmm. Why do you have to repeat this every time you go from work to home? There is some underlying problem there which we should figure out. Display configuration overrides should not be reapplied as these are permanent and should take effect even when BetterDisplay is not running.

Can you describe step-by-step what is the issue and how it can be reproduced?

@molamooo
Copy link
Author

molamooo commented Jun 30, 2023

I move my macbook across multiple places with different display settings (i.e. place A with 1920x1200, and place B with 3440x1440).

  • When I initially applies betterdisplay at place A, everything works fine(the smooth scaling works)
  • For the first time I move to place B and applies betterdisplay, it works at place B too.
  • Then I move back to place A, now the smooth scaling is nolonger valid. The toggle is still on, but the resolution slider only provides the old non-Hidpi resolutions.
  • After re-applying betterdisplay at place A to fix the issue, moving back to place B would encounter similar issue again.

Maybe it's because configs for those unconnected displays (i.e. place A's models are not present at place B) gets reseted when applying at place B?

@waydabber
Copy link
Owner

To me it looks like the resolutions you mention have different aspect ratios. Are we talking about same displays? Can you show me a screenshot of the display info/identifiers for both locations? If the two displays are different, they should each retain their settings. There might be a small but super-unlucky chance that we are talking about two different displays which happen to share all the same hardware identifiers so the OS does confuse them. In this case you'd need to do some special editing for the configuration file to make things work without the constant reapplying of settings. If this is the case, I can help you with that, but first I'd need to see the hardware IDs (Settings/Displays/Show info...)

@molamooo
Copy link
Author

molamooo commented Jun 30, 2023

Sure. Actually I got 3 places, all with different display models and aspect ratios.

  • place A: an AOC 3440x1440 display
    image
  • place B: a Dell U2417 with 1920x1080, a Dell U2412 with 1920x1200
    image
    image
  • place C: an AOC LV273HUPR with 3840x2160, an AOC display with 1920x1080

I can only provide the detailed information about place B & C next week.

Which field should I provide? There are quite many display information field.

From previous experiences, applying at an arbitrary place and then move to next arbitrary place all requires config reapply(I'll keep notice).

@molamooo
Copy link
Author

molamooo commented Jul 3, 2023

I notice that place A and place B's first display shared the same Registry location/path. Is this the root cause?

@waydabber
Copy link
Owner

waydabber commented Jul 3, 2023

No, the same registry location is normal. As I see the place A and place B displays have different IDs and they should not be confused, each should retain their own configuration. To be honest I am not sure what could be the issue here.

@molamooo
Copy link
Author

molamooo commented Jul 3, 2023 via email

@waydabber
Copy link
Owner

No, it should not make a difference. The "activate without reboot" actually just disconnects and reconnects the screen, so it should have the same effect as you physically unplugging/plugging the display or use the disconnect/connect button (switch) in the display header in the app menu.

@waydabber waydabber added released Released and removed pre-release available Released as beta version labels Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done All tasks are completed enhancement New feature or request released Released
Projects
None yet
Development

No branches or pull requests

2 participants