Re: [TDK-BETA] Tclapp 4.0b1.273125 on Mac OS X
by Peter Caffin other posts by this author
Dec 7 2006 11:12PM messages near this date
view in the new Beta List Site
Re: [TDK-BETA] Tclapp 4.0b1.273125 on Mac OS X
|
[TDK-BETA] Tclapp 4.0b1.273125 on Mac OS X - Tile scan
Hi Jeff,
It's the first time I've seen that one. I've always used:
tk_getSaveFile -initialdir $somedir
That works fine. A possible work-around for TclApp until the Tk core team
fix the bug?
-PC.
Jeff Hobbs wrote:
> Hi Peter,
>
> peterc wrote:
> > First up, thanks to all ActiveState who developed TDK4. Mac OS X
> > support is very very much appreciated.
>
> Thanks. It took longer to get out than anticipated, but hopefully we
> can get it to work just as well there as it has for other platforms.
>
> > Now, a bug report:
> >
> > 'File -> Save Project As' in Tclapp demands you save filenames such as:
> >
> > -Users-pc-TCL-Project-File.tpj
> >
> > Instead of:
> >
> > /Users/pc/TCL/Project/File.tpj
> >
> > At a guess, maybe [file native] is giving the wrong result for OS X and
> > considers it a previous version of Mac OS? (OS X uses Unix style file
> > notation.)
> >
> > Platform: Mac OS X 10.4 (Tiger) on PPC (Mac Mini).
>
> Are you not getting the native Mac OS X dialog?
>
> Ah - now I see it. OK, after the first save, when you do the Save As
> for an existing project, it is somehow converting. This seems to be a
> Tk core bug (oddity). Do this:
>
> tk_getSaveFile -initialfile /Users/pc/TCL/Project/File.tpj
>
> and you will see it convert the / to - in the dialog. The workaround is
> to separate file and dir segments for -initialdir and -initialfile, but
> that is not the way Tk docs it, so it really is a Tk/Aqua bug.
>
> Jeff
Thread:
peterc+activestate
Jeff Hobbs
Peter Caffin
Peter Caffin
Peter Caffin
Peter Caffin
Peter Caffin
jeffh
peterc+activestate
jeffh
peterc+activestate
Jeff Hobbs
Peter Caffin
Jeff Hobbs
Peter Caffin
Andreas Kupries
Peter Caffin
Andreas Kupries
Peter Caffin
Jeff Hobbs
|