Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE Version 0.9.28 has problem with modal dialog "Save File?" — Parallax Forums

SimpleIDE Version 0.9.28 has problem with modal dialog "Save File?"

DougworldDougworld Posts: 24
edited 2013-05-12 11:29 in Propeller 1
Steps to reproduce:
1. modify the example program -- for example, add a simple comment line
2. click the X button in the upper-right corner
3. Modal dialog box "Save File?" appears
4. Options are Save / Save All / Discard
5. But that's not the only option! The other option is that I hit the X by mistake and I just want to dismiss the modal dialog box.
6. The program should respond to the X button in the modal dialog box, thus allowing me to exit this dialog box without losing the changes I made to the source code.

Thanks.

Comments

  • jazzedjazzed Posts: 11,803
    edited 2013-05-09 06:51
    Hi. Thanks for using SimpleIDE.

    In step 2 do you mean the X to close the program?

    In steps 5 and 6 you mention X in the dialog. It does seem odd that the X is disabled, but it doesn't seem like a big problem - maybe I misunderstand the point. The X would have the same meaning as Discard if it was enabled. Other dialogs use Canel and X interchangeably.
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2013-05-09 09:46
    In this context, I would prefer these options, Save, Save All, Discard, Cancel. Your first 3 options should work as before, and Cancel should close this dialog stop SimpleIDE from closing. The X on the window should do a Cancel.

    The cancel option would follow with the convention I am familiar with on many (most?) apps. I can't think of an app that doesn't work like this if it has documents that are unsaved.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-05-09 17:21
    Hey Ray, How's the weather up there in Bellevue???
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2013-05-09 17:57
    It's sunny and nice today (and the last few days). ;)
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-05-09 18:41
    Yep, Here too!!!!! Could not believe we hit 87 a couple days ago!
  • DougworldDougworld Posts: 24
    edited 2013-05-10 05:58
    jazzed wrote: »
    Hi. Thanks for using SimpleIDE.

    In step 2 do you mean the X to close the program?

    In steps 5 and 6 you mention X in the dialog. It does seem odd that the X is disabled, but it doesn't seem like a big problem - maybe I misunderstand the point. The X would have the same meaning as Discard if it was enabled. Other dialogs use Canel and X interchangeably.

    Step 2 = the upper-rightmost X, meaning quit the program
    Step 5 and 6. What do you mean that it doesn't seem like a big problem? Shall I only report those problems that you consider big? Standard behavior for a modal dialog box includes dismissing the modal dialog box without further action, which can't be done in this software. The point of beta software feedback is to find problems that make the software hard or impossible to use. In this case, I'm reporting a non-standard behavior, and everyone who has used a modal dialog box will agree that standard behavior is preferable to arbitrary behavior. I don't want to Save or Save All or Discard -- I want to stop the modal dialog box and continue what I was doing before I clicked the X. All modal dialog boxes that I've encountered to date act a certain way, and this one doesn't. Thanks.
  • dgatelydgately Posts: 1,630
    edited 2013-05-10 06:16
    Dougworld wrote: »
    Step 2 = the upper-rightmost X, meaning quit the program
    Step 5 and 6. What do you mean that it doesn't seem like a big problem? Shall I only report those problems that you consider big? Standard behavior for a modal dialog box includes dismissing the modal dialog box without further action, which can't be done in this software. The point of beta software feedback is to find problems that make the software hard or impossible to use. In this case, I'm reporting a non-standard behavior, and everyone who has used a modal dialog box will agree that standard behavior is preferable to arbitrary behavior. I don't want to Save or Save All or Discard -- I want to stop the modal dialog box and continue what I was doing before I clicked the X. All modal dialog boxes that I've encountered to date act a certain way, and this one doesn't. Thanks.


    You should definitely write a bug report on this. You can report it at: https://code.google.com/p/propside/issues/list

    I do agree that a Cancel option that returns the user to the IDE without saving is warranted in this scenario.


    BTW: I noticed that in Mac OS X, that the Close button in the Save dialog appears enabled, though clicking it does nothing.

    dgately
  • jazzedjazzed Posts: 11,803
    edited 2013-05-10 15:01
    I appreciate everyone's testing. I apologize for not meeting everyone's expectations in posts or software features.
  • dgatelydgately Posts: 1,630
    edited 2013-05-10 18:49
    jazzed wrote: »
    I appreciate everyone's testing. I apologize for not meeting everyone's expectations in posts or software features.

    This is a tough crowd, so I wouldn't expect anyone to meet all of its expectations :smile:... SimpleIDE is a great boon to getting folks writing C code for Propeller!

    boon.png



    Your work in developing SimpleIDE is greatly appreciated by me and I'm sure many others.

    dgately
    316 x 220 - 41K
  • tdlivingstdlivings Posts: 437
    edited 2013-05-12 11:29
    You should always have a way to back out and cancel. Never be left with only the
    option of choosing the lesser of two evils.
    The modal dialogs I have seen always do a cancel not close the application.
    The best approach in UI design however is to not give the user the option of
    clicking on and executing a command if the state of the application is such
    that it makes no sense such as save a file if we do not have one open yet.
    Disable and gray out the save command until a file is open.
    Far better than trying to think of if else if else etc code of how to handle what
    the app does if a user executes some command you do not want executed now.

    The solution here could be to not even have the "X" system icon in the upper right
    corner to be clicked on but then there should be a cancel button to choose as well
    as the normal options.
    This is possible in Delphi which I use as you can choose which icons or none to have
    up in the corner when creating a dialog form.
    However Steve with SimpleIDE might not have that option as he has to satisfy many
    masters with the requirement of it working with Windows, Mac etc . With each platform
    having it's own UI requirements and style.

    Tom
Sign In or Register to comment.