SasView / sasview

Code for the SasView application.
BSD 3-Clause "New" or "Revised" License
51 stars 41 forks source link

Hide/Delete graph is counter-intuitive (Trac #36) #264

Closed butlerpd closed 5 years ago

butlerpd commented 5 years ago

Currently the x on the top left of the graph behaves as a hide rather than the expected kill/delete. The X in the graph menu in fact kills. There are several solutions such as making the top x kill as expected and replacing the X icon with something more akin to a hide (and appropriate tool tip). Another would be to remove the icon and add a - for hide at the top of the graph next to the x, again giving each the expected behavior, etc. as it is it is extremely confusing

Migrated from http://trac.sasview.org/ticket/36

{
    "status": "closed",
    "changetime": "2017-03-21T02:23:34",
    "_ts": "2017-03-21 02:23:34.062577+00:00",
    "description": "Currently the x on the top left of the graph behaves as a hide rather than the expected kill/delete.  The X in the graph menu in fact kills.  There are several solutions such as making the top x kill as expected and replacing the X icon with something more akin to a hide (and appropriate tool tip).  Another would be to remove the icon and add a - for hide at the top of the graph next to the x, again giving each the expected behavior, etc.  as it is it is extremely confusing",
    "reporter": "butlerpd",
    "cc": "",
    "resolution": "fixed",
    "time": "2012-03-29T23:22:27",
    "component": "SansView",
    "summary": "Hide/Delete graph is counter-intuitive",
    "priority": "critical",
    "keywords": "",
    "milestone": "",
    "owner": "robert-whitley",
    "type": "enhancement"
}
sasview-bot commented 5 years ago

Trac update at 2012/04/02 15:38:48:

sasview-bot commented 5 years ago

Trac update at 2012/04/10 11:14:15:

sasview-bot commented 5 years ago

Trac update at 2012/04/13 08:02:18:

Look into using wx.lib.agw.aui

butlerpd commented 5 years ago

Trac update at 2012/04/14 01:13:32: butlerpd commented:

Jae-Hie points out, if I understand it, that if wx.lib.agw.aui does not cut it, to achieve this in the current framework would require:

1) create a custom icon - 2) make a button out of it and place that appropriately 3) write custom code to hide 4) attach that code to the event generated by clicking the custom button

sasview-bot commented 5 years ago

Trac update at 2012/04/17 09:48:06: robert-whitley commented:

The [http://xoomer.virgilio.it/infinity77/AGW_Docs/index.html|documentation] can't be viewed at work due to potential spyware.

sasview-bot commented 5 years ago

Trac update at 2012/04/23 15:07:31: robert-whitley commented:

Add hide button and change x button so that it deletes the plot.

[https://builds.sns.gov/view/SansView/job/sansview_snowleopard_32bit/219/]

sasview-bot commented 5 years ago

Trac update at 2012/04/23 15:08:06:

sasview-bot commented 5 years ago

Trac update at 2012/04/26 10:15:07: robert-whitley commented:

Changed Icon because of feedback in meeting said it should be a closed eye.