triplea
triplea copied to clipboard
12099 Flash Hesitation When Editing Tech
Engine version12099
My Operating System
Linux
Map name
Global 40 House Rules with Canada
Can you describe how to trigger the error? (eg: what sequence of actions will recreate it?)
When adding tech via edit it does a 1 sec or so flash. Similar to the previous flash things when scrolling I think it was. Can't remember for sure. Might have been something else
Do you have the exact error text? Please copy/paste if so
Instead of this error, what should have happened?
Shouldn't flash.
Any additional information that may help
Not a huge deal as most maps don't use tech via edit. This one does or can though. Don't remember it happening before, so that's why I mention it. I'll attach a save sep 19 2018 Flash on Tech Add.zip
yea doesn't do it in 11440. SBR froze the game up in 12099 too. I've time to properly diagnose it as Dan Van suggested a while back with a similar issue. I'll get back with the error for that
@beelee1 I just want to make sure I understand what you mean by "flash hesitation." When I add a tech on that map, I see the map get cleared and redrawn. Is that what you're seeing?
yea that's what's happening. Real brief, maybe not even a second, but as I said above doesn't do it at all in 11440
@beelee1 Thanks for confirming!
I actually do see it in 11440. I think it might be because I'm running on a VM, and that tends to exacerbate any timing issues so that I notice things on it that I don't normally see on my physical box.
I went back through several releases and think I found the point where this issue was introduced. 10498 was the last build that doesn't flicker for me, while 10506 is the first build that does flicker. That implies that #3514 would have introduced the flicker, and looking at those changes, it kind of makes sense.
@ron-murhammer @RoiEXLab If I'm reading that code right, it means anytime the game data changes, the map will be redrawn, correct? Is the flicker reported in this PR an acceptable side effect for the correctness presumably #3514 was meant to ensure? If not, is there a way we can double-buffer the redraw operation to avoid clearing the map before drawing the tiles?
@ssoloff Yeah, this is known. It isn't ideal but never got back around to trying to figure out how to do it better.
The TripleA team regrets this issue was not solved sooner. To keep focus on latest issues and the most pressing tasks, this issue has been automatically marked as stale because it has not had recent activity. If the issue may be closed, please do so. If there are remaining items, we encourage for those items to be resubmitted as new, independent, concise tasks. The strategy is divide and conquer. Thank you for your contributions.
just checked this on 2.5.22294 and it still happens. Pretty low priority but I'll leave it open since it's not fixed.