We-the-People-civ4col-mod / Mod

This is the repository where the mod resides.
85 stars 36 forks source link

tooltips of yields (occasionally) missing #754

Open Fuerstbischof opened 1 year ago

Fuerstbischof commented 1 year ago

Yields have 1 or 2 numbers on them representing storage and the net effect of production. Occasionally the yields have no tooltip. This happens when the mouse pointer points at the number, i.e. the numbers seem to work as an overlay thus preventing/hampering direct access to the gfx of the yield which prevents the tooltip from showing up. The smaller size of the yields makes avoiding this effect more difficult.

What can be done about that?

raystuttgart commented 1 year ago

Do you play 16:9 resolution? (e.g. 1920 x 1080)

AemonAlCaar commented 1 year ago

I suspect it's the same problem, or at least a similar one: in the city screen, the ToolTipText of the buildings (not the goods production) is not displayed when the mouse is over an (empty) worker slot. So with high level buildings it is almost impossible to see the building ToolTipText, e.g. to see the needed goods.

Nightinggale commented 1 year ago

The issue is that the mouseover is added by the DLL based on the widget type where it displays iData1 if iData2 > 0. The building button has one widget type and the units have another. Empty work slots then have... who knows? Possibly unit widget with iData1+2 set to no mouseover.

We can likely do a bunch about this, but if we want clean code, we should likely do #311 first.

MrZorG33 commented 8 months ago

I think it would be appropriate to post this here as a reminder of the issue. video from my subscriber.