[jNotes-list] Launching the jNotes2
Brought to you by:
alexeya
From: Alex V. A. <al...@op...> - 2003-08-26 08:42:23
|
Hi all, As you could notice, the launching and "daemon mode" of jNotes2 is still very clumsy and of course, requires a further development. It has a following problems: 1) There is no obvious and convenient way to switch between 'normal' and 'daemon' modes 2) An user can launch a number of jNotes instances ('normal' or 'daemons'). This is bad, because if you change the events in one instance, then other instances do not get these changes. Most likely, this is only one of many possible conflicts. jNotes should have only one instance started in a given time (as many applications, i.e. e-mail clients) Willy Dobe <wd...@gm...> has ideas on how to improve jNotes launching and modes switching. Willy wrotes: > I would like to be a bit more > precise and explain it with the following imaginary use case. > > I have created a shortcut to jNotes and dropped it on the application > pane. This launches jNotes in normal mode (non-demon mode) and the > taskbar looks like image2.png then. > When minimizing it the jNotes window hides itself completely and the > taskbar would look like image3.png. However, jNotes is still running and > pulls up reminder messages when due. > When double-clicking the shortcut again jNotes would check whether it is > already running and does not create a second instance of itself but > restores its window instead. I've introduced some additions in this scenario, because I had the following questions: 1) What if an user wish to completely unload (shutdown) jNotes? 2) What if an user wish to launch jNotes as 'daemon' in first (eg, at system startup)? So, my variant looks like this: 1) User launches jNotes first time with no options: Normal application window opens. 2) User launches jNotes first time with "-m" option (it may be another shortcut on user's desktop):jNotes launches in a 'daemon' mode. 3) User launches jNotes repeatedly (when it is already active): a) When it is active in 'normal mode', a window manager try to move the jNotes window to top (may be problematic on some platforms, e.g. ms-windows) b) When it is active in 'daemon mode', a window is restored (jNotes goes to 'normal mode') 4) User closes the jNotes window by 'Close'([x]) window button or by selection the 'File -> Minimize' menu item: The window is closed but jNotes is still active as a 'daemon' 5) User closes the jNotes window by selection the 'File -> Exit' menu item: jNotes goes to complete shutdown. Alternative way is to show a dialog box "Do you want to continue to monitor the events (Y/N)?" each time when user closes the window: YES - The window is closed but jNotes is still active as a 'daemon' NO - jNotes goes to complete shutdown A dialog box may contains a checkbox "Don't ask me again" to always close the window with going to 'daemon mode' without any questions. Or, this behavior may be customized in "Preferences" dialog. Looking forward to your opinions. -- Best regards, Alex V. Alishevskikh al...@op... jNotes homepage: http://jnotes.sf.net Unsubscribe this mailing list: https://lists.sourceforge.net/lists/listinfo/jnotes-list |