Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Restore Windows Function on Desktop Unlocked Trigger not functioning properly

Avatar from Gravatar.com
cableghost
12 discussion posts
Although my 'Restore Window Positions From Last Saved' Trigger executes and I can see windows move slightly, it does not properly re-position the windows. As soon as I execute this function manually, it works as scripted. Any reason why this is not working upon my desktop unlocked?
• Attachment [protected]: display_fusion_trigger.jpg [81,761 bytes]
• Attachment [protected]: DisplayFusionDebugInfo.zip [432,119 bytes]
Jul 6, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you disable the Trigger rule and run it manually, does it fail the first time, but succeed the second time?
Jul 8, 2019  • #2
Avatar from Gravatar.com
cableghost
12 discussion posts
Manually, it seems to work every time. I tried several iterations of logging out/back in. I then turned the Trigger back on, logged out/back in several times. The Trigger functioned as created the first time, which is rare, and failed several more log in attempts. Each time, I successfully executed the Restore function manually. It's not a time issue as the trigger executes every time, it just doesn't restore the windows.
Jul 8, 2019  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, could you send over a debug log? I only want to see what happens in the log when it runs from the Trigger, so please don't run it manually before sending the log.

  • On the DisplayFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log
Jul 8, 2019  • #4
Avatar from Gravatar.com
cableghost
12 discussion posts
Please see attached log file. I entered the desktop session at 10:35, not certain of seconds. I cleared logfile prior to logging off and back in and did not execute the function script manually.
• Attachment [protected]: DisplayFusion.log [173,462 bytes]
25 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! According to the log the Trigger rule didn't fire at all, which is super weird. Could you send me a backup of your settings? (Settings > Options > Export)
23 days ago  • #6
Avatar from Gravatar.com
cableghost
12 discussion posts
After reading this, I realized I had not seen the windows even shift when logging back in. Sure enough, I had disabled the Trigger while resetting the log previously. I have attached a new log, logging in @ 4:43, with the Trigger enabled.

Interestingly, I tried logging off/back on a half dozen more times and the windows were properly set four of the intervals. It seems the resetting of log/disabling/re-enabling the Trigger reset something so it fires properly most of the time now.
• Attachment [protected]: DisplayFusionDebugInfo.zip [57,671 bytes]
23 days ago  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! Was this new log captured when it didn't restore correctly?
23 days ago  • #8
Avatar from Gravatar.com
cableghost
12 discussion posts
Good Q. Let me catch it when it doesn't restore next time.
21 days ago  • #9
Avatar from Gravatar.com
cableghost
12 discussion posts
Attached is the log from a failed restore attempt at approximately 7:40 PM. I verified beforehand that the Trigger function was enabled and that this specific Trigger was enabled.
• Attachment [protected]: DisplayFusionDebugInfo.zip [60,537 bytes]
21 days ago  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! It looks like there are still some "WM_DISPLAYCHANGE" events happening (Window reconfiguring the displays) around the same time the Trigger runs the function. Could you try upping the delay in the Trigger rule to 10000?
20 days ago  • #11
Avatar from Gravatar.com
cableghost
12 discussion posts
That is working much better now, thanks. I thought the movement of the windows was DF, guess it was the system still making adjustments.
11 days ago  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Glad to hear it!
9 days ago  • #13
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply