View Issue Details

IDProjectCategoryView StatusLast Update
0000385FSSCPuser interfacepublic2005-05-24 22:18
ReporterGoober5000 Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status closedResolutionopen 
Summary0000385: Clicking on briefing icons also causes a click on the popup
DescriptionEveryone knows that you can click on a briefing icon to make a ship display window pop up. Well, I just encountered a briefing where the briefing icon was perfectly positioned to cause the popup to close immediately after opening. It happened that the popup's "Close" button was positioned directly over top of the icon. Since the user doesn't have time to release the button before the popup appears, the window sees that the mouse is held down over the "Close" button and closes.

To fix the bug, one would have to change the UI's "Click" event to require that the left mouse button be in the "up" position before registering as pressed.

It may not even be worth it to fix the bug, since it appears so rarely and is so easy for the FREDder to avoid. If this is too much effort to fix, or if fixing it breaks other things, this bug can be closed as invalid.
TagsNo tags attached.

Activities

taylor

2005-05-24 22:18

administrator   ~0002473

I've played with this some but haven't really gotten anywhere. I'm assuming that part of the problem is the small hacks to deal with the slider controls where the mouse might go out of the control area but you want mouse event to still affect it. The briefing window also has a few little hacks to deal with io control there. I thought at first that this could be relatively easy to fix but after hacking on it a little I think it's too much trouble. Even if it gets fixed in this one case something else is likely to break.

For now this can be gotten around because the down click is the primary event, not the up click. If you press-and-hold down on the briefing icon then you can move/drag the cursor off of the popup close button before letting go. This will prevent the close button from catching the mouse button event.

I'll go ahead and close this one for now but if it continues to be a problem then it would probably be easier to just add the above solution to a FAQ than to deal with that code. Revisiting it later might present an easier solution than what I can currently see.

taylor

2005-05-24 22:18

administrator   ~0002474

Closered.

Issue History

Date Modified Username Field Change
2005-04-24 08:03 Goober5000 New Issue
2005-05-24 22:18 taylor Note Added: 0002473
2005-05-24 22:18 taylor Status new => closed
2005-05-24 22:18 taylor Note Added: 0002474