Is it possible to provide a confirmation dialog for closing a lister w/multiple tabs open? I've inadvertently closed such listers too many times.
I don't think there is a way right now but I've added it to the to-do list.
(We don't plan to make any more string changes until after 10.0.4.0, to give the translators time to do their thing, so it might take a while compared to the recent pace of changes.)
I'm both appreciative, and patient.
Thanks.
A related request and bump.
I use one or more listers, often with several tabs, to remind me to perform some future work (e.g. reconciling bills, read some documents). If for some unfortunate reason, Dopus happens to crash, I lose those reminders.
Firefox's Session Manager extension has a good paradigm to automatically deal with these cases. It a) remembers the open tabs and will re-open them upon restarting, and b) it retains the list of open tabs in a Crashed Session so that it can be restored upon restart.
Possible for Dopus?
It should certainly be possible. I guess the question is how often to save the current state. Too often would be a waste but not often enough could make it less useful.
Something you could do already is bind a hotkey (or double-click on the lister background etc.) to Prefs LAYOUTNAME="Crash" LAYOUTSAVE as a quick way of saving the current setup in case you need to restore it later for any reason. That won't trigger any additional prompts so you can trigger it and carry on working.
This is a perfectly workable solution. I've created a button for this, and will just use it after I've created a work-reminding tab.
I'll let the requests stand, but will allow votes by others to raise the priority.
Thanks.
Great, this should help when DOpus crashes.
There's code that you could use in Autohotkey to make it automatically each 5 seconds:
#Persistent
SetTimer, DOpusSaveLister, 5000
DOpusSaveLister:
Run, C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe /cmd Prefs LAYOUTNAME=Crash LAYOUTSAVE
return
I just thought about something else. Saving it too frequently may result in overwriting saved session before you open it after a crash.
The only idea in my mind is to save layout each N seconds alternately as "crash1" and "crash2" so if one session was just overwritten by the script, you can restore it from the second one. But it becomes a little messy.
On the other hand, using a button manually is somehow inconvenient and you have to remember to click it (or press a key shortcut).
Right. The saving should be triggered by the action of creating a new tab or lister, and not based on a omnipresent sledgehammer timer.
It is possible via Autohotkey to count windows matching some criteria. So it is possible to save layout when new window opens. But it still may be very difficult to detect all changes to listers, like closing windows (excluding situation where all windows are closed due to a crash!), opening/closing tabs etc.
And as I see, lister layout also saves when no windows are open so lister layout becomes "blank".
In addition, this script destroys Prefs LAYOUTSAVE=updatecurrent
[quote="daroc"]Great, this should help when DOpus crashes.
There's code that you could use in Autohotkey to make it automatically each 5 seconds:
#Persistent
SetTimer, DOpusSaveLister, 5000
DOpusSaveLister:
Run, C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe /cmd Prefs LAYOUTNAME=Crash LAYOUTSAVE
return
[/quote]
Hi daroc,
Could you please help and show me how to use this script? I use Autohotkey for some scripts but could not figure out a way to implement your suggestion. Thanks for the help.
Re the root post/question, the Preferences / Folder Tabs / Options / Lister close button closes active tab option added in 10.5 may help avoid accidentally closing a window when you just wanted to close the tab.
If you have Autohotkey installed - just copy the code and save as *.ahk file. Then double click it.
I never really tested it if this code is reliable and now I see that if DOpus crash and you don't use "Crash" layout in (less than) 5 seconds, it will not work at all. There's pretty much more work needed to make this script work as intended.
Thanks daroc for the reply.
I made a similar request in a different thread. Hopefully, the developer will have the time to tackle these suggestions for the next release.
+1
I've always wanted this since v9. But in reality, I really don't crash at all anymore.
Looking back, I think I would crash more when I had dual display turned on and thumbnails being used, and more than 1 tab (folder tree always off). I guess I don't crash anymore since I haven't done that kind of setup in a long time. I'd use that kind of setup to compare images, find duplicates or organize into folders. So there was a lot of moving and deleting at the times of crash (crash meaning it would just close the lister. not sure if dopus.exe process would exit).
Prefs LAYOUTNAME="Crash" LAYOUTSAVE
I like it. Don't think I'll ever remember to use it though.
Even the experimental builds of Opus that I run crash very rarely.
If you are seeing crashing, especially with thumbnails, then that's usually pretty easy to solve by tracking down the 3rd party component that's responsible for generating the thumbnails that are triggering the crash, and updating or disabling it.
Yup, indeed, crashes are mostly things of the past for me too. I have two listers, one on each of my dual monitors setup. My request has more to do with my empty head causing me to inadvertently close one of the two listers in this dual environment. I wish there is a feature to automatically save the state of all opened listers every "n" minutes (to be defined). Like that, whenever I absentmindedly click on the close button of a lister, I can immediately restore the state of all my listers that has been automatically saved say a couple of minutes earlier, and without having to go through the steps of doing a manual save from time to time.
You can use Preferences / Launching Opus / Default Lister / Update Default Lister automatically when closing a Lister to automatically save the state of a lister the moment you close it, then open a default lister to get it back.
Thanks Leo for the suggestion. I already have my preferences set that way. The problem is that I have to remember to regularly do a save. My request is to have an option to do it automatically, like for instance with Firefox, because I can go for a long time without ever thinking to do a save.
You don't need to manually save (unless there is a crash); that option saves automatically the moment you close the window.