Bug 273136 - [ui] Drag n' Drop of Duplicate location into Install New Software window
Summary: [ui] Drag n' Drop of Duplicate location into Install New Software window
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: api, polish
Depends on:
Blocks:
 
Reported: 2009-04-21 16:51 EDT by Matthew Piggott CLA
Modified: 2019-10-08 10:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Piggott CLA 2009-04-21 16:51:36 EDT
If the address for a repository which is already known and enabled is dropped into the list of available software on the Install New Software page then an error pop-up is displayed indicated the duplicate location.  Additionally the current working site is not changed to reflect the address dropped into the box.

When the same address is dragged into the Works With combo box an error is not shown and the selected site is changed.
Comment 1 Susan McCourt CLA 2009-04-21 17:18:27 EDT
This is legacy behavior that I'm not sure we will fix for 3.5, though I'll mark it for now to keep it on the radar.

The issue is one of scoping/factoring of the code.  The the "available IU Group," which is the list, is the one registering the drop target.  It prevents duplicates.  It doesn't know that the client has stuck a combo on the top that scopes the group, so it doesn't know there's anything to "select" in that case.

We could probably fix this by having an option on available iu group that specifies how to handle duplicates.  Or the client could supply/override the drop target.  

Stepping back, we'll need to determine for API/3.6, whether the group and combo should always be used together.  In practice we found that clients of the group were clients of the combo (such as PDE).

Comment 2 Susan McCourt CLA 2009-07-09 17:03:03 EDT
assigning bugs to me that I've marked for 3.6
Comment 3 Eclipse Genie CLA 2019-03-24 14:27:52 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Lars Vogel CLA 2019-10-08 10:45:20 EDT
This bug was marked as stalebug a while ago. Marking as wontfix.

If this report is still relevant for the current release, please
reopen and remove the stalebug whiteboard tag.