#3072 closed defect (fixed)
[PATCH] Cleanup Summary Screen
Reported by: | Josh | Owned by: | JoshuaJB |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 19 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Attachments (4)
Change History (28)
by , 9 years ago
by , 9 years ago
Attachment: | summary_page_cleanup.diff added |
---|
comment:5 by , 9 years ago
Patch doesn't work for three of us playing r16384! (windows 7 + ubuntu). The font was not found (and had the default 12 size + black color formatting).
comment:6 by , 9 years ago
I'm getting another error on the summary screen:
ERROR: GUI: Trying to use style 'TitleText' that doesn't exist. ERROR: JavaScript error: fpsCounter tick line 1 ReferenceError: updateFPS is not defined __eventhandler177 (tick)@fpsCounter tick:1:5
comment:9 by , 9 years ago
Component: | Core engine → UI & Simulation |
---|---|
Milestone: | Alpha 18 → Alpha 19 |
Resolution: | fixed |
Status: | closed → reopened |
comment:11 by , 9 years ago
Milestone: | Alpha 19 → Alpha 18 |
---|
comment:13 by , 9 years ago
Milestone: | Alpha 18 → Alpha 19 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Testing stuff would be nice. Tooltips for civ icons are broken and we're in commit freeze now (and were in feature freeze before).
comment:14 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed again, but this time with more testing.
by , 9 years ago
Attachment: | t3072_fix_session_tooltip_summary.patch added |
---|
comment:15 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I experienced an error when playing r16699 and when hovering over the civ icon in the summary screen:
ERROR: Cannot find tooltip object named 'sessionToolTip'
The patch above includes common/gamesetup.xml
again, which was removed in r16384 and r16391. That file is needed because it defines 'sessionToolTip'.
common/gamesetup.xml
is included in all those following files except page_summary.xml
:
page_civinfo.xml page_gamesetup_mp.xml page_gamesetup.xml page_loadgame.xml page_loading.xml page_pregame.xml page_savegame.xml page_session.xml
leper could confirm this issue - we can't reproduce the error though. It is strange that this bug only occurs sometimes. The common/setup.xml
file is probably included by another page that is active in the background if the bug doesn't occur.
comment:16 by , 9 years ago
Keywords: | patch review added |
---|---|
Summary: | Cleanup Summary Screen → [PATCH] Cleanup Summary Screen |
comment:17 by , 9 years ago
It should just use ModernTooltip. We're trying to get rid of all the common references that are not modern.
comment:19 by , 9 years ago
Using one of the modern tooltips (pg*) ends up with errors about missing gui objects, so something is broken here. (elexis' patch doesn't fix all errors)
comment:20 by , 9 years ago
Keywords: | review removed |
---|
comment:21 by , 9 years ago
Reproduce: When I start the game with -visual-replay (in my case with this commands.txt file: attachment:commands.2.txt:ticket:3221) and exit to the summary screen, the error appears consistently when hovering the civ icon.
comment:24 by , 9 years ago
Keywords: | patch removed |
---|
The Modern style system has a default tooltip style which the engine will fall back on in the case of no specified style. I just had to remove the sessionToolTip reference and it was fixed.
comment:25 by , 9 years ago
Works (at least for the replay, couldn't reproduce the issue ingame), thank you!
Summary page after