Anonymous | Login | 2024-11-21 11:33 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0003102 | VCMI | GUI - PreGame | public | 2020-01-21 08:40 | 2020-01-23 20:02 | ||||||||
Reporter | toneyisnow | ||||||||||||
Assigned To | toneyisnow | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 0.99 | ||||||||||||
Target Version | Fixed in Version | 1.next | |||||||||||
Summary | 0003102: LobbyScreen UI is showing multiple Difficulty options in toggle group when Loading map. | ||||||||||||
Description | Scenario: In LoadGame Lobby screen, the difficulty toggle group is showing multiple choices, but actually only one valid is working. The reason is, in the Lobby screen Initialization code will set the difficulty = 0, and each time the player changes a map in the selection, the toggle group control is not resetting the difficulty buttons to disabled state. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | 1033189811.jpg [^] (320,489 bytes) 2020-01-21 08:40
fixed.PNG [^] (78,070 bytes) 2020-01-21 08:41 | ||||||||||||
Notes | |
(0007858) toneyisnow (developer) 2020-01-21 08:41 |
Note: During the game loading time, the client is loading the map, and send a NetPack to server: LobbySetMap, and send a NetPack to Interface: LobbyUpdateState. In the LobbyUpdateState it sets the map difficulty. |
(0007859) toneyisnow (developer) 2020-01-21 08:41 |
How fix: Add a new method to ToggleGroup class: setSelectedOnly, which will disable all other buttons and then set the selected button. |
(0007860) toneyisnow (developer) 2020-01-23 15:48 |
This is fixed by my pull request https://github.com/vcmi/vcmi/pull/624 [^] |
(0007861) SXX (administrator) 2020-01-23 20:02 |
Thanks for the fix. |
Issue History | |||
Date Modified | Username | Field | Change |
2020-01-21 08:40 | toneyisnow | New Issue | |
2020-01-21 08:40 | toneyisnow | File Added: 1033189811.jpg | |
2020-01-21 08:41 | toneyisnow | Note Added: 0007858 | |
2020-01-21 08:41 | toneyisnow | Note Added: 0007859 | |
2020-01-21 08:41 | toneyisnow | File Added: fixed.PNG | |
2020-01-23 15:48 | toneyisnow | Note Added: 0007860 | |
2020-01-23 20:02 | SXX | Note Added: 0007861 | |
2020-01-23 20:02 | SXX | Status | new => resolved |
2020-01-23 20:02 | SXX | Fixed in Version | => 1.next |
2020-01-23 20:02 | SXX | Resolution | open => fixed |
2020-01-23 20:02 | SXX | Assigned To | => toneyisnow |
Copyright © 2000 - 2024 MantisBT Team |