MantisBT - VCMI
View Issue Details
0000602VCMIGUI - Hero screen / Exchange windowpublic2010-08-12 08:472013-06-02 14:35
phomm 
Ivan 
normalcrashalways
closedfixed 
0.82 
0.85 
0000602: Pressing 'T' twice if player doesn't own any marketplace causes the game to freeze
Update: If player doesn't own any Marketplace yet, pressing the Marketplace hotkeys once returns the "No Marketplace available!" message correctly, but pressing the hotkey a second time freezes the game. This happens in all interfaces: Adventure Map, Town screen, Hero screen, even Battles (where it's not even necessary that the hotkey would work). - Zamolxis
Original summary:
some manipulation in hero-window with "T" and "L" and ok button in "no markets"-infobox causes hang-up

Original description:
just open hero window and press T and L and close with mouse/enter poping-up market-window and after some time VCMI hangs up...
I guess it is due to some error using Tradingpost hotkey and Tightformation hotkey when no TPs are available
No tags attached.
related to 0000216closed Tow VCMI-H3 discrepancy: VCMI uses hotkey 'T' to open Marketplace, while H3 used it for Towns on the map & Tight in hero screen 
Issue History
2010-08-12 08:47phommNew Issue
2010-08-13 12:36IvanNote Added: 0001311
2010-11-22 11:20ZamolxisRelationship addedrelated to 0000216
2010-11-22 11:49ZamolxisNote Added: 0001444
2010-11-22 11:49ZamolxisSeverityblock => crash
2010-11-22 11:49ZamolxisStatusnew => feedback
2010-11-22 11:49ZamolxisSummarysome manipulation in hero-window with "T" and "L" and ok button in "no markets"-infobox causes hang-up => Pressing 'T' twice if player doesn't own any marketplace causes the game to freeze
2010-11-22 11:49ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=1208#r1208
2010-11-22 11:49ZamolxisAdditional Information Updatedbug_revision_view_page.php?rev_id=1210#r1210
2011-03-03 20:30Tow dragonStatusfeedback => assigned
2011-03-03 20:30Tow dragonAssigned To => Tow
2011-03-22 13:23IvanNote Added: 0001665
2011-03-22 13:23IvanStatusassigned => resolved
2011-03-22 13:23IvanFixed in Version => 0.89
2011-03-22 13:23IvanResolutionopen => fixed
2011-03-22 13:23IvanAssigned ToTow => Ivan
2013-06-02 14:34ZamolxisNote Added: 0003638
2013-06-02 14:34ZamolxisStatusresolved => closed

Notes
(0001311)
Ivan   
2010-08-13 12:36   
Just a few notes
- can be reproduced by pressing "T" twice when there are no markets available
- marketplace need to have different hotkey because this one conflicts with tight formation in hero window and 0000216
(0001444)
Zamolxis   
2010-11-22 11:49   
Summary & description updated, because the bug impacts all interfaces and seems to have nothing to do with the "L" hotkey (though I left the original summary & description in Additional Info just in case).

Thanks Ivan on the heads-up on the link to report 0000216 and phomm for the heads-up on the Tight/Loose formation hotkeys in the Hero screen. This confirms that 'T' for Marketplace has to go.

Severity changed to Crash, because it's an easily avoidable bug, hence not preventing us from testing.
(0001665)
Ivan   
2011-03-22 13:23   
Disabled hotkeys in dialogs to get rid of crash. I'll leave conflicting hotkeys for 0000216
(0003638)
Zamolxis   
2013-06-02 14:34   
Verified in 0.93 and confirmed as fixed.

Actually meanwhile hotkeys changed to following:
- On Adv.map "T" is for towns and "CTRL+T" for Trading Post (and pressing it multiple times doesn't lead to crash)
- both "T" and "CTRL+T" only select Tight formation in Hero screen