Unknown

Fences placed at bottom of desktop don't roll up properly

Fences placed at bottom of desktop don't roll up properly

Hi, just bought fences 4 today. I'm using Windows 11 home, dual monitor, both with standard resolution of 1920x1080. When I place a roll up fence at the bottom of my desktop, the fence does not show its content upwards, but instead rolls down so that all of the fence content is off screen. Happens on either monitor. Tried a bunch of combinations of checking and unchecking fence settings and nothing seems to fix it. Furthermore, I can even place the fence below the task bar so that it's completely hidden from view altogether (only resolved by hiding the taskbar and dragging the fence back to its original place. How do I get the fence to roll upwards to show my content?

25,465 views 34 replies
Reply #26 Top

Just for good measure and for testing purposes:

 

AFTER taking notice of "does this happen on taskbar on both screens or just the one", I also recommend turning all 3 of these settings off and trying it out further:

 

And turning this one on. (Which, I recommend turning this one on in any event!)

 

Thanks for your help diagnosing.

Reply #27 Top

It happens on both taskbars. but this may be a clue. Everything was working correctly with one monitor. It was running on HDMI. I replaced that monitor with 2 monitors that are 4k and running on displayports.

When I did this, the fences worked fine. But I went to modify one fence and I noticed that after modification, it was not working right. Something about the new setup was confusing Fences. I only have one fence on one of the monitors. That is the one I changed and was recording.

On the other monitor, I have 4 fences and they are all working correctly. However, if I change any of them, they also start misbehaving. I have to restore my fences from the backups to get it to work correctly again.

Here is a screenshot of the display when I run your program

Reply #28 Top

Sigh alright. So there's the bad news.

There is something on your system that is messing with the Work Area on the system. Those numbers should not match.

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfoa#:~:text=primary%20display%20monitor.-,The%20work%20area%20is%20the%20portion%20of%20the%20screen%20not%20obscured%20by%20the%20system%20taskbar%20or%20by%20application%20desktop%20toolbars.,-The%20pvParam%20parameter

https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-monitorinfo

What that test did was query the system's monitor sizes, and then it used SPI_GETWORKAREA / GetMonitorInfo to get the "rcWorkArea" for the monitor in addition to the "rcBounds". Windows maintains (and one can set) the work area -- which per the docs is the area in which content should confine itself -- i.e. the area "minus the taskbar". Back in Windows 98 through Windows XP, you could also have additional bars on the top/left/right/bottom sides of the screen, too. We even had an old program ObjectBar that did some stuff like this :) In Windows 10/11, this is predominantly fixed. Apps can modify this, but none do because frankly none should, and the https://learn.microsoft.com/en-us/windows/win32/shell/application-desktop-toolbars framework is something that has been obsolete for a long time.

 

Something on this system is causing the work area to not be set up correct. And unfortunately, I just don't know what that is :/ But I encourage checking out other apps that are installed and using that test app until they're different. Sometimes monitor apps like DisplayFusion can do stuff like this.

 

Looking forward to learning what you find but unfortunately, this one is out of our hands for now.

Reply #29 Top

So that makes sense why it does not recognize the taskbar. I am racking my brain (which does not take long), but I can't think of any program that has anything to do with the screen except for Fences and maybe Start 11. Could screen drivers do this? I am running the Samsung drivers. Maybe I should revert to Microsoft drivers. I can maybe have one of each on the monitors and see what that program says.

Reply #30 Top

Going to the Microsoft driver made no difference unfortunately. I had one monitor on the Samsung driver and the other on the Microsoft driver. The funny thing is that all I did what swap out the monitors. It has to have something to do with that.

 

Reply #31 Top

😮‍💨 Unfortunately, not sure. There is for certain no lines in code in Fences that modify this, which could only be accomplished with a call to SystemParametersInfo with SPI_SETWORKAREA. I hope it can be figured out!

Reply #32 Top

An interesting approach would be to have an option in Fences to tell it that there is a task bar or no task bar. Perhaps even a way to move a fence to the taskbar and tell fences that this is where to initiate the rollup. It is very elegant and automatic now, but perhaps a manual setting could help when it is not detecting properly.

Reply #33 Top

Dr W. 

I was actually able to fix it but I have no idea why it worked. I decided to try and update the monitor firmware. It was not working so I decided to power the monitor off. When it did that, all the fenced moved to one monitor and they worked. Then I powered the monitor back on and the fences moved back to the proper monitors, but the fences still worked. I ran the program and in fact the sizes were not the same any more. For some reason, the monitor needed to power cycle to either get the proper information or pass on the proper information.

Reply #34 Top

W00t! Yes those are exactly the numbers I'd expect. (But yes the solution does not make any sense. But hey sure.) Glad it has gotten fixed!