LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
285 stars 158 forks source link

Right-clicking Printing Press Tech pulls up Printing Press NW Civilopedia Page #11075

Closed ZetaLambdaNinja closed 2 months ago

ZetaLambdaNinja commented 3 months ago

1. Mod Version (X.Y.Z). Current Version: 4.11.0

4.11

2. DirectX Version

DX 10 & 11

3. List of Other Mods

pdan's 34UC (v 88.9), azum4roll's Unit Supply for VP, UI - Promotion Tree for VP

4. Describe the Issue

When Printing Press is the technology displayed in the technology view in the upper left-hand corner, right clicking on it should display the civilopedia page for the Printing Press technology. Instead, it displays the civilopedia page for the Printing Press national wonder.

I presume there's just a broken reference somewhere, and while I doubt logs are needed, I've been wrong about that before. I'll include them here just in case.


5. Save Game From 1 Turn Before (ALWAYS ATTACH THIS IF POSSIBLE)

BUG-PrintingPressTechRightClick.zip

6. Logs (ALWAYS ATTACH THESE IF POSSIBLE)

Logs.zip

7. CvMiniDump.dmp File (ATTACH IF REPORTING A GAME CRASH)

8. Steps to reproduce the Issue (Optional)

Open the attached save. Open the technology view from the upper left drop-down menu, then right-click on the Printing Press technology icon.

9. Screenshots of the Issue (Optional)

Hokath commented 2 months ago

It seems that right clicking performs some kind of text-based search that selects the first hit (the building) I think this because: In a modmod I have renamed the national wonder and this behavior goes away, i.e. right clicking the tech leads to the correct page.

axatin commented 2 months ago

exactly, it's a text-based search, so we can't change which result we get. feel free to propose to rename either the tech or the wonder next congress.