So I guess you're saying that it happens even when the lister is NOT positioned somewhere on the CD/DVD before it is ejected? So even if your lister is browsing 'My Documents' you eject a disc and the lister switches to the optical drive root? Does the same happen in Explorer?
Let me clarify this with some tests I've just run:
Dopus browses to "c:" if optical drive is ejected and you were formerly on ,say, "c:\my docs", or to whatever your root is depending on the drive letter, but not to the optical drive root.
Windows Explorer does not behave in this way. Even more, from the moment I left open one Windows Explorer window, dopus stopeed doing this; even more, after closing the Windows Explorer window Dopus still is not doing this anymore, even if I switch it (dopus) completely off (closing from the notice taskbar icon) and then start it again.
But after starting dopus again (don't know if it can be related), one of the dual listers did not remenber its last path, which is annoying since after restarting you cannot "browse back" in dopus.
I guess this would be a temporaly solution till next PC restart (sorry, cannot reboot now to check it). That's why sometimes happen and sometimes not. As long as I never use Windows Explorer unless dopus crashes (which is not likely), this happens all the time for me.
Well, it's been inconsistent but I've been able to reproduce this. I could NOT do it though unless I was browsing a drive letter positioned BELOW my optical drives letter in the folder tree...
my DVD drive letter is X:
mapped a network drive to Z:
browsed to a folder off the root of Z:
inserted a cd-rom, and while it was loading, clicked on the X: drive in the folder tree
when it loaded, canceled out of the 'what do you want windows to do' dialog (everyone else still have autoplay enabled???)
clicked back on the folder I had previous been on under Z:
ejected the cd-rom
Opus positioned to the root of drive Z:
All I can say is that it might indeed have something to do with the re-drawing of the tree as Nudel said... I noticed that 2 redraw flickers occurred, and that it was only after the second flicker that I was bumped back to the root of Z:. I can also confirm that after trying to reproduce this in Windows Exploder, which I could not, it then no longer was happening in Opus either. Weird...
P.S. - it only happened for me while the folder tree was turned on.
Glad to see that you could reproduce it!
Also my optical drive is on the classical "d:" so, working paths fall below this one. Noticed also the two redraws (flicks) of folder tree.
Tested it with folder tree off and nothing happened; tested again with folder tree on: first time one of the dual browsed one level up (not to root this time); second time nothing happened.
And yes, I'm still using autoplay , if the system can open it for me, why should I care?
Well guys, so that's all we can do. Maybe now that it is reproducible it can be fixed in future releases.
So let me end with my usual final question, just to get profit from this all: Should I report this by mail as usual? or posted it into another section?
Nice finds Steje. Hopefully now there is enough information for GPSoft to reproduce and fix the problem. It's weird how it goes away if Explorer happens to be open but hopefully that doesn't matter in terms of making it work all the time.
In case you insert something nasty like a Sony audio CD that installs a rootkit without even asking you just because you put the CD in your drive.
In case you insert something nasty like a Sony audio CD that installs a rootkit without even asking you just because you put the CD in your drive. [/quote]
How are you getting your folder trees to automatically refresh when you insert/remove drives/discs? My tree never refreshes when I do those things, which is probably why I can't reproduce your bug.
It should refresh, otherwise you could never notice that a cd or another removable device is inserted.
Another different thing is that you don't notice it.
That's the normal behaviour under windows explorer which is the reference here.
Is there some way to get the tree to autorefresh without having Windows automatically run a CD/DVD? If not, then this is definitely something that should be added to a future version of Opus.