Ross-Patterson/Portals-Desktop-Organization

Active Display Setup does not Auto-Apply Layout

bdneum opened this issue · 3 comments

When switching between display setups between portals being closed, I must go into layouts and apply the correct one.

I have four Display Setups, one of which has the green checkmark that it is the Active setup. I also have Auto-Apply Layout on each of my display setups. However, when I start up Portals, the layout from a previous display setup persists (likely it was the active display setup when Portals was closed) instead of the active display setup.

I am speculating that the behavior happens because Portals typically has an "Are You Sure?" warning when changing layouts "without saving". Regardless, something is preventing the auto-apply layout from being implemented.

Desktop (please complete the following information):
win10, vers. 3.1.0.2

I do have the same issue, I need to go into the layouts to manually apply it.
All my display setups (3 in total) have set the Auto-apply Layout.

Will take a look - auto-apply is only triggered when a display change is detected i.e. while portals is already running and a change is detected. So if you hook up to a different monitor setup while shut down, then start up, it won't auto apply (but it probably should and I will work in implementing this)

I think the display change also does not check for autoapply even while running whenever the program starts and autoapply was not applied initially (e.g., plugging and unplugging a monitor does nothing). I mentioned this before, but I think it has something to do with failing a check that autoapplying would write over the current layout.