Win10 title bar obscures icons

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Message
Author
Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Win10 title bar obscures icons

#1 Post by Magnate »

Hi all, trying out 0.4.7.1 in Win10

Whatever size I have the Freeorion window, the title bar obscures the top part of the game window - the turn button, and all the game subwindow icons (research, production, ships, pop, detection etc. etc.). I can't seem to do anything about this, and it's unplayable.

Didn't happen last time I played (a few months ago)

Any tips?

Thanks

Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Re: Win10 title bar obscures icons

#2 Post by Magnate »

When playing with the Video options, both "Window Height" and "Window Top Position" cause the window to shrink (to tiny) when I click Apply, rather than changing the position or size.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Win10 title bar obscures icons

#3 Post by Dilvish »

Sorry to hear you are having trouble; sounds quite strange. Do you know what the resolution of your screen is?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
EricF
Space Dragon
Posts: 357
Joined: Fri Jul 29, 2016 10:12 am

Re: Win10 title bar obscures icons

#4 Post by EricF »

Two possible solutions from a Win10 standpoint;
Move the Taskbar to the bottom. (Probably undesirable since you moved it to the top)
Select 'Small Taskbar buttons' from the Taskbar settings menu.

User avatar
The Silent One
Graphics
Posts: 1129
Joined: Tue Jul 01, 2003 8:27 pm

Re: Win10 title bar obscures icons

#5 Post by The Silent One »

That sounds strange - does that happen while in full-screen or windowed mode?
Try changing to the other one in the options > video (don't forget to push "apply" at the bottom).
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.

Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Re: Win10 title bar obscures icons

#6 Post by Magnate »

Thanks for the replies - it might have been the difference between a maximised window and full-screen mode. Will try next time. Important to note that it wasn't the Win10 taskbar that was the problem, it was the title bar of the Freeorion window itself. I guess it wasn't properly full-screen because there should have been no title bar - but I'm not familiar with the pitfalls of Win10.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Win10 title bar obscures icons

#7 Post by Geoff the Medio »

For this sort of issue, screenshots would be preferable.

RemcoBlaakmeer
Space Krill
Posts: 6
Joined: Fri Dec 01, 2017 9:57 am

Re: Win10 title bar obscures icons

#8 Post by RemcoBlaakmeer »

I think I've got the same problem, running FreeOrion 0.4.7.1 on Windows 8.1.

I made two screenshots. The first is right after starting FreeOrion in windowed mode. The second is right after starting a new singleplayer game.
Attachments
right after starting FreeOrion in windowed mode
right after starting FreeOrion in windowed mode
2017-12-01 12_08_09-FreeOrion v0.4.7.1 [build 2017-09-03.139ffd9] MSVC 2015.png (1.15 MiB) Viewed 5164 times

RemcoBlaakmeer
Space Krill
Posts: 6
Joined: Fri Dec 01, 2017 9:57 am

Re: Win10 title bar obscures icons

#9 Post by RemcoBlaakmeer »

I forgot to add the second screenshot in my previous reply.
Attachments
2017-12-01 12_08_53-FreeOrion v0.4.7.1 [build 2017-09-03.139ffd9] MSVC 2015.png
2017-12-01 12_08_53-FreeOrion v0.4.7.1 [build 2017-09-03.139ffd9] MSVC 2015.png (250.52 KiB) Viewed 5164 times

RemcoBlaakmeer
Space Krill
Posts: 6
Joined: Fri Dec 01, 2017 9:57 am

Re: Win10 title bar obscures icons

#10 Post by RemcoBlaakmeer »

Looking at my own screenshots, it seems like a bit is missing on all four sides of the window, like if FreeOrion tries to render in the full outer size of the window, without accounting for the width of the window borders.

dbenage-cx
Programmer
Posts: 389
Joined: Sun Feb 14, 2016 12:08 am

Re: Win10 title bar obscures icons

#11 Post by dbenage-cx »

I assume not all windows users are seeing this behavior. Any chance this is a result of installation?

User avatar
alleryn
Space Dragon
Posts: 259
Joined: Sun Nov 19, 2017 6:32 pm

Re: Win10 title bar obscures icons

#12 Post by alleryn »

dbenage-cx wrote:I assume not all windows users are seeing this behavior. Any chance this is a result of installation?
I did try widening my borders on windows 10 by switching to a different theme and the window displayed properly, accounting for the increased border width.

It's my understanding that there are various ways of editing window border width in windows 8/8.1/10 (whereas there was more one "standard" way to do it in windows 7); perhaps that might account for differences in observed behavior?

RemcoBlaakmeer
Space Krill
Posts: 6
Joined: Fri Dec 01, 2017 9:57 am

Re: Win10 title bar obscures icons

#13 Post by RemcoBlaakmeer »

A further two points to add:

I observed the same behaviour in the 27 November test build (FreeOrion_2017-11-26.cbf1e48_Test_Win32_Setup.exe).

On another laptop, the behaviour was as expected: everything is rendered inside the window borders. This laptop is running Windows 10, but (obviously) on different hardware. So it could be a graphics card driver related issue.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Win10 title bar obscures icons

#14 Post by Geoff the Medio »

An updated version of SDL might help. The SDK currently includes 2.0.4 and 2.0.7 has been released.

RemcoBlaakmeer
Space Krill
Posts: 6
Joined: Fri Dec 01, 2017 9:57 am

Re: Win10 title bar obscures icons

#15 Post by RemcoBlaakmeer »

dbenage-cx wrote:I assume not all windows users are seeing this behavior. Any chance this is a result of installation?
I tried two different FreeOrion versions (0.4.7.1 and the then latest test version) on the same computer, with the same result. On a different computer, the screen was rendered correctly.
Geoff the Medio wrote:An updated version of SDL might help. The SDK currently includes 2.0.4 and 2.0.7 has been released.
Using SDL2.dll version 2.0.7 does not help.

Post Reply