Hi Michael, it seems that you've introduced a little bug with this...
I'm ususally reading/opening the movie from an readonly disk, and when the idx filename is suggested (NOW with a prepended "file:" in front of the filename) I'm changing the directory and hit "Save". What happens is that dvbcut tells me that he can't write on that disk since it's readonly!!! When I delete the "file:" prefix it works... so it seems that the new path is not prepended to that new file:idxfile construct... ciao Ralph PS: Sorry for not attaching a patch... but I'm short in time... ;-) Am Mittwoch, 12. März 2008 19:37 schrieb Michael Riepe: > Uh... > > I checked the strace log (thanks to David for providing it), and it's > the index file that can't be opened. With a name like > "stargate.2008-02-28.23://./31:02.mpg.idx" one probably had to expect > that. ;-) > > After a little digging I found out that it's the file dialog that causes > problems. It treats the starting directory as an URL, and the stupid > parser thinks that everything up to the first colon is an access method. > > That alone would have been easy to fix by prepending "file:" to the > filename passed to QFileDialog::getSaveFileName(), but there's another > Qt "feature" that prevents the dialog from entering the right directory > and selecting the file: the filename portion of the path is treated as > an URL *again*, but this time it's done inside QFileDialog which we > can't change. Therefore, I had to work around the stupidity of the > Qtrolls. I hope this doesn't break the Windows port... > > Apropos: my "A:B.mpg" test worked fine because Qt thought the "A" were a > drive letter. Yeah, it's that dumb. How was that ancient Chinese curse > again? "May you live in interesting times!" > > Anyway, welcome to r118 (there also was r117 but it only added some > beauty patches that were not worth mentioning ;-). ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DVBCUT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvbcut-user
