Unit bar disappears when you have too many minions.

Avatar
  • Views 18.888
  • güncellendi
  • Completed - Resolved

Most easily seen if you build one of every room and convert a few Empire units. I'm not sure the exact number of minions required, but eventually the entire unit bar vanishes and the only way to pick up units is to use hotkeys.


See picture here: http://steamcommunity.com/id/ArtixFox/screenshot/266093048581678006

You can see that the "close quickbar" arrows are floating off on the bottom right of the screen, so there should be unit portraits between it and the Workers portrait. Happens in any map or campaign mission that you can get enough minions in.

Game Version:
Steam Public
Platform:
Windows
Avatar
Stefan Furcht Programmer

Oh thank you for this hint. I was unable to reproduce.

Avatar
Stefan Furcht Programmer

Somehow for me the minion panel does still not disappear when i put UI Scale to 104% (it neither does when i put it to 102% nor 120%).
So I wonder if this might be a Linux specific issue with our UI middleware.

Artix, are you on Linux as well?
Can we get your system specs?




Avatar
YS1

What happens when there are too many units to display ? Is there some sort of scrolling system ?

Avatar
Lee "Noontide" Moon Designer & Community Manager
Quote from YS1

What happens when there are too many units to display ? Is there some sort of scrolling system ?

That's correct, you can scroll the unit bar under normal conditions once there are too many types to display.

Avatar
Stefan Furcht Programmer

And it works fine in all cases I tested.
Once there is one unit more than space on screen it does add little double arrows left and right to the panel which can be hovered or clicked to scroll.
(You can see them in my screenshot above)
But somehow this doesn't work on (your) Linux (versions), which is quite strange,
because the UI is rendered by the Chromium engine which _should_ behave the same on every platform.

So now I am a bit puzzled why it is different for you guys.

Avatar
YS1

I reckon that the UI is in HTML+CSS+JS. Is there some sort of debug console that could help understangin what is going on ?

Avatar
YS1

I just started the Heart of Gold campaign, and I got a correctly displayed unit bar, with the arrows.

Avatar
Stefan Furcht Programmer
  • Accepted

There is some way but it is not accessible for normal users I fear.
We might need to contact the provider of our UI middleware.
I am just glad the issue is not permanent, so you can at least fix it by putting UI Scale on a different value to make it appear again.

Avatar
jhk ahu

Hi, guys!

Would like to add my experience of that nasty bug.

My rig specs are:

17" 4:3 display

Amd bulldozed cpu x6

GPU GTX 960

16 gb ram

Win 7

In my case this nasty bug is totally linked with GUI scale.

I made it over 130% because the font is absolutely unreadable on my display otherwise. It is barely readable over 130% btw, but I stopped at 130% because the tabs are way too big this way.

So when the number of types of creatures go over certain number (depends on gui scale) the creature tab disappeares. At the moment I'm looking at the 4 of 5th mission (killing dwarf portal / prison introduced) and I had to scale gui under 80% - creature tab disappeares otherwise.

Hope you can fix this bug and the small fonts bug.

P.S. That's the best the font looks for me. Difficult to read!

Avatar
Lee "Noontide" Moon Designer & Community Manager
Quote from jhk ahu

Hi, guys!

Would like to add my experience of that nasty bug.

My rig specs are:

17" 4:3 display

Amd bulldozed cpu x6

GPU GTX 960

16 gb ram

Win 7

In my case this nasty bug is totally linked with GUI scale.

I made it over 130% because the font is absolutely unreadable on my display otherwise. It is barely readable over 130% btw, but I stopped at 130% because the tabs are way too big this way.

So when the number of types of creatures go over certain number (depends on gui scale) the creature tab disappeares. At the moment I'm looking at the 4 of 5th mission (killing dwarf portal / prison introduced) and I had to scale gui under 80% - creature tab disappeares otherwise.

Hope you can fix this bug and the small fonts bug.

P.S. That's the best the font looks for me. Difficult to read!

Thanks for this great documentation Jhk Ahu, I successfully replicated the issue in the office based on your feedback.


I believe that what's happening here is caused by the fact that the unit bar when scaled will disappear if any part of it moves over screen space. Normally this is fine as it's scaled for each resolution but there are a few exceptions.


As such the higher you scale your UI the quicker it will disappear at 102% on standard 16:9 or 4:3 displays the UI disappears just as the scrolling arrow is added. I believe that Stefan could not replicate as he previously used a very wide resolution, so the screen space available was wide enough to allow the unit bar to extend without going over.


I'll pass this on to Stefan.