UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #1890 after building, selection is incorrect
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Campaign
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/1890 Item 1890] imported from sourceforge.net tracker on 2013-01-28 19:12:13

go to base building, select any building. build it. notice how this building (ornext building in list, if just built was removed from the list) is still/now hilighted, but actually no building is selected.
also, building floating window shows building information.

several ways this could be fixed :

1. list items are unselected, floating window says "no building selected" or similar;
2. list items are unselected, floating window is hidden (and shown again when a building is selected);
3. building selection is always forced - if the just built building is removed from the list, next is selected. if it stays in the list, it also stays selected for cursor & floating window purposes.
===== Comments Ported from Sourceforge =====

====== richlv (2008-11-22 12:01:02) ======

selection is also incorrect after leaving/returning to building dialog - select hospital, leave/return - hospital is still hilighted, but alien containment will be actually built.
====== bayo-fr (2008-11-22 18:02:37) ======

Not sure i can do something.

First problem is maybe there are no Energy plan on the list, and we cant preview Alien containment.

So, maybe a mistake on description between "Alien containment" and "Energy plan"
====== bayo-fr (2008-11-22 20:17:23) ======

Maybe it's patched

1) i display the building name (broken since...)
2) i set default selection to 0 (new propserty "lineselected")
====== richlv (2008-11-26 11:55:56) ======

for the record - bug still there in revision 20403
====== bayo-fr (2008-11-26 12:40:47) ======

Sorry,

Can you reexplaine the problem ? Screenshot ? I am not sure i looking at the right place.
====== richlv (2008-11-26 15:49:07) ======

hmm, i thought it's easy to reproduce ;)
1. build a new base without buildings;
2. enter building screen, select powerplant, build it;
3. notice how floating window still shows powerplant, list shows 'command centre' as selected, but cursor says no building is selected (see the screenshot).

same happens if the building is not removed from the list (for example, storage), only then list & dialog agree on the selection, but cursor doesn't.
====== richlv (2008-11-26 15:49:35) ======

screenshot
====== geever (2009-01-02 17:36:20) ======

Fixed in r21400.

-geever
====== richlv (2009-01-03 15:56:42) ======

confirming the fix in revision 21471
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif