News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

[r9129] too high offset of line name tooltips

Started by THLeaderH, June 15, 2020, 12:11:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

THLeaderH

Line name tooltip is a great feature. However, the tooltips are placed at too high position when the convoy is on an elevated way.

The attached images describes the position difference of line name tooltips between in the case that the convoy is on the ground level or on an elevated way.

Ranran

This is not a issue of the line name tooltip. The usual tooltip and  the station name have the same issue. And the same applies to extended.

Dwachs

Parsley, sage, rosemary, and maggikraut.

Vladki

#3
There is also opposite issue for stations and vehicles underground

EDIT: the underground issue is fixed too. Thanks. And the patch works on extended too

Ranran

I confirmed r9139. The airplane's tooltip seems to see a height mismatch on the slope.
In standard, it is difficult to track convoys tooltip because the tooltip is not displayed unless the mouse is over, but there is no continuity in that case.
On the slope, the tooltip will rise above the plane's climb angle, then move down sharply on the next tile.

Dwachs

The tooltip is following the vehicle (and also its position on the tile).
Parsley, sage, rosemary, and maggikraut.

Ranran

Quote from: Dwachs on June 17, 2020, 06:24:32 AMThe tooltip is following the vehicle (and also its position on the tile).
But for airplanes, the climb angle and the tooltip climb angle don't seem to match. The slope causes the tooltip to rise independently and move away from the airplane.
Is it related to the airplane colliding with the slope?


If anything, the airplane seems to be in the wrong position, but the tooltip movement is also not continuous.

Dwachs

I think for airplanes, the tooltip is shown as if the plane would be on the ground.
Parsley, sage, rosemary, and maggikraut.

Mariculous

Beware that airplane height logic is different in extended (and especially takeoffs are currently bugged)
Thus, the label position _might_ also be an extended specific issue.
In any case, extended does not show airplane labels on ground level, might be different in standard.

Ranran

QuoteThus, the label position _might_ also be an extended specific issue.
At least the image above is a standard image. There is a difference in the standard that the tooltip is not displayed unless the mouse is over. Therefore, continuity is difficult to understand.
However, it can be seen that the height of the tooltip at the end of the previous tile and the height of the tooltip at the start of the next tile are clearly different and not continuous.

QuoteThus, the label position _might_ also be an extended specific issue.
From the above, we have determined that this is a standard bug. The tile is a double slope, but the airplane behaves like a half slope. But the tooltip behaves like a double slope. And the contradiction begins again by adjusting the position at the start of the next tile.


QuoteIn any case, extended does not show airplane labels on ground level, might be different in standard.
Is that so? I can see it properly.

https://i.imgur.com/NV5y7eh.gif

This strange behavior looks the same as standard.

Mariculous

The label is definitely not on ground level, which would be just above the shadow, but instead on airplanes actual height with some bug in calculation.

It seems quite strange in both cases though.

Ranran

Quote from: Freahk on June 17, 2020, 03:24:44 PMThe label is definitely not on ground level, which would be just above the shadow, but instead on airplanes actual height with some bug in calculation.

It seems quite strange in both cases though.
I may have understood what you mean. Does the airplane mean that the tooltip is higher than the bus?

It may be because the image size is not 128px. It's as if the size of the depot is strange. Is this breaking the display position calculation too?