GMMan / SteamNotificationsTray

Tray app that shows Steam notifications count
18 stars 4 forks source link

Notification window position with multiple screens. #15

Open roughnecks opened 6 years ago

roughnecks commented 6 years ago

Hello.

I recently added a second screen and moved my Windows Notification Area to the second monitor... Now when I click on SteamNotificationsTray icon, its window does appear in my first monitor, in a weird position.

GMMan commented 6 years ago

I think it's a bug inside .NET Framework. It does its own location calculation instead of using the system method because of special rendering, and it will calculate the location to the top left (assuming taskbar is on the bottom) instead of taking into account the current taskbar location. Not something easy to fix since all these calculation methods are not overrideable.

roughnecks commented 6 years ago

Alright, you can close this one, if there's no easy way to fix it, or leave it here if you want to. I had my answer, so thanks.

roughnecks commented 6 years ago

Oh, one other thing: do you mind if I remove the picture?

GMMan commented 6 years ago

Sure