STEAM GROUP
Steam Client Beta SteamBeta
STEAM GROUP
Steam Client Beta SteamBeta
21,699
IN-GAME
83,015
ONLINE
Founded
January 8, 2013
All Discussions > Bug Reports > Topic Details
Steam window borders keep moving outside of screen borders in fullscreen
I'm using 2 monitors at the moment but it also happened when I used 3.

There might be more times it happens but usually I notice it after restarting steam or waking my laptop up.

It looks like this: https://i.imgur.com/iwjgIUx.png
Everything is too close to the screen borders which makes it awkward to click stuff like the friends list.

This is what it should look like I believe: https://i.imgur.com/GsTWNsO.png
Last edited by bingo bango; Aug 6, 2023 @ 8:22pm
< >
Showing 1-5 of 5 comments
Det.Fusco Sep 9, 2023 @ 7:13pm 
Well this annoying bug happens on my one monitor setup as well. It opens up properly and after some gaming session, it's bugged and moved a couple of pixel outside monitor boundaries.
But this may not be a Steam specific thing tho, 'cause I read somewhere this happened in some other app as well. Making this annoying f*cker a Microsoft (or another possibility is it may be Chromium Embedded Framework) issue.

Nonetheless there was no such bug/annoyance before the sh*tty cef UI update, so they have to deal with this somehow, one way or another.

Other people with the same problem but different apps:
https://github.com/fork-dev/TrackerWin/issues/777
https://stackoverflow.com/questions/36725769/wpf-windowchrome-edges-of-maximized-window-are-out-of-the-screen

Originally posted by Possible solution quote from StackOverflow link:
When the window is maximised, Windows seems to ignore the ResizeBorderThickness value. Using <Setter Property="Margin" Value="7" /> seems to work, but this value may need to be changed depending on the operating system (I tested this on Windows 10).

I recommend making a couple of small tweaks (see code below), such as adding WindowStyle="None" and ResizeMode="CanResize" to Window, as well as moving the Style out into either Window.Resources, Application.Resources or even a ResourceDictionary, changing the style's TargetType to "{x:Type Panel}" and using a key name (eg: x:Key="WindowMainPanelStyle"), as this will prevent the style automatically being applied to any child Grid elements, as well as allowing the style to be used with any elements that inherit from Panel (such as Border, DockPanel, Grid, StackPanel, etc).

<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowStyle="None"
ResizeMode="CanResize">

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="50" ResizeBorderThickness="5" />
</WindowChrome.WindowChrome>

<Window.Resources>
<Style TargetType="{x:Type Panel}" x:Key="WindowMainPanelStyle">
<Setter Property="Margin" Value="0" />
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=WindowState}" Value="Maximized">
<Setter Property="Margin" Value="7" />
</DataTrigger>
</Style.Triggers>
</Style>
</Window.Resources>

<Grid Style="{StaticResource WindowMainPanelStyle}">
<Border BorderThickness="2" BorderBrush="Blue" Background="Yellow" />
</Grid>

</Window>
Last edited by Det.Fusco; Sep 9, 2023 @ 7:14pm
Nova Sep 10, 2023 @ 5:21am 
Originally posted by Det.Fusco:
Well this annoying bug happens on my one monitor setup as well. It opens up properly and after some gaming session, it's bugged and moved a couple of pixel outside monitor boundaries.
But this may not be a Steam specific thing tho, 'cause I read somewhere this happened in some other app as well. Making this annoying f*cker a Microsoft (or another possibility is it may be Chromium Embedded Framework) issue.
[/quote]

This didn't happen in old Steam UI, the one we had about a couple of months ago.
Det.Fusco Sep 10, 2023 @ 5:50am 
Originally posted by Nova:
Originally posted by Det.Fusco:
Well this annoying bug happens on my one monitor setup as well. It opens up properly and after some gaming session, it's bugged and moved a couple of pixel outside monitor boundaries.
But this may not be a Steam specific thing tho, 'cause I read somewhere this happened in some other app as well. Making this annoying f*cker a Microsoft (or another possibility is it may be Chromium Embedded Framework) issue.

This didn't happen in old Steam UI, the one we had about a couple of months ago.

That’s literally what I’ve said at the end of my reply:

Originally posted by Det.Fusco:
…Nonetheless there was no such bug/annoyance before the sh*tty cef UI update, so they have to deal with this somehow, one way or another.
Last edited by Det.Fusco; Sep 10, 2023 @ 5:51am
Nova Sep 10, 2023 @ 2:26pm 
Originally posted by Det.Fusco:
Originally posted by Nova:

This didn't happen in old Steam UI, the one we had about a couple of months ago.

That’s literally what I’ve said at the end of my reply:

Originally posted by Det.Fusco:
…Nonetheless there was no such bug/annoyance before the sh*tty cef UI update, so they have to deal with this somehow, one way or another.

Oh i'm sorry i didn't read it fully and jumped to conclusion.
Sorry if I post here, but I have this issue too, I noticed it 2 weeks ago or so. When I come back from a game or something else full screen Steam is outside of my border a bit.
It's not cool, it feels like a fake or broken thing. It's the only software that does this.
Last edited by [BRE] Léonard "le Fol"; Feb 5, 2024 @ 11:42am
< >
Showing 1-5 of 5 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details
Date Posted: Aug 6, 2023 @ 8:21pm
Posts: 5