nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

show the import dialog after the file chooser #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The watch import dialog is created and immediately, a file chooser dialog
appears on top. I think it would be better if only the file chooser dialog
appeared, and then, when the user has chosen to open a watch list file to
import, create the import dialog.

Original issue reported on code.google.com by nekoh...@gmail.com on 22 Feb 2008 at 3:50

GoogleCodeExporter commented 9 years ago
For me it seems strange that a user first has to click a button to open the file
dialog, because he will have to do this every time he wans to import a watch 
(because
the only possible way to import watches is with a file and i can not think of 
other
ways to import a watch)

Original comment by woutclym...@gmail.com on 22 Feb 2008 at 4:49

GoogleCodeExporter commented 9 years ago
I am not suggesting that we add a button, just that we change the order of 
window
appeareances so that the process is less flashy/confusing.

The current behavior is:
- user clicks Import in the menu
- import window shows up
- ½ second later, the gtk file chooser also shows up
- user chooses a file, and its watches are shown in the import dialog
- user chooses watches to import and closes the import dialog

Proposed change:
- user clicks Import in the menu
- gtk file chooser shows up
- user chooses a file
- import window shows up, and watches are shown in it
- user chooses watches to import and closes the import dialog

Original comment by nekoh...@gmail.com on 22 Feb 2008 at 5:56

GoogleCodeExporter commented 9 years ago
Should work better in my branch, can somebody test it?

Original comment by woutclym...@gmail.com on 11 Mar 2008 at 10:57

GoogleCodeExporter commented 9 years ago
Fixed in revision 41

Original comment by woutclym...@gmail.com on 17 Mar 2008 at 4:49

GoogleCodeExporter commented 9 years ago
actually, hiding that dialog and then showind the filechooser is strange, 
because you
see a window "flash" by.

Also, I don't know why, the import dialog takes a *long* time to create itself 
(like,
1-2 seconds before it hides itself).

The correct workflow would be

filechooser shows up
If (file and file is valid):
    close the file chooser
    create the import dialog
    show the import dialog
elif (not file):
    pass
elif (file not valid):
    warn the user

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 2:46

GoogleCodeExporter commented 9 years ago
this illustrates the problem.

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 2:52

Attachments:

GoogleCodeExporter commented 9 years ago
I created 2 different files for this, one for the import and another one for the
export  to make it more clear.

revision 49

Original comment by woutclym...@gmail.com on 19 Mar 2008 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 21 Mar 2008 at 1:35