Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorgbr
    • CommentTimeJan 16th 2007 edited
     permalink
    Intype don't save files with names with more than 227 characters by command line and 225 caracters by “save file dialog”, including the extension.
    For example,
    1. Go for the Intype directory by prompt and type:
    intype.exe aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.txt
    2. Click on “Save”. See that the file was not saved and no warning was shown.

    Or

    1. Open the Intype
    2. Click on “Save” and paste this in filename field:
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.txt

    The NTFS filesystem allows bigger filenames that the 260 characters (including file extension) allowed for the FAT32.
  1.  permalink

    Thanx for the report. We will take a closer look on this one. I think that this is just hard coded buffer limitation, that would be easy to change.

    •  
      CommentAuthortstrokes
    • CommentTimeJan 16th 2007 edited
     permalink

    When would you want a file name that is more that 260 characters?

    • CommentAuthorgbr
    • CommentTimeJan 16th 2007
     permalink
    Personally, I almost don't use file/folders names with more than ~60 characters. ;)
    • CommentAuthorBrendonKoz
    • CommentTimeJan 16th 2007 edited
     permalink

    There are staff here that copy/paste entire paragraphs explaining images and when they right-click and “Save As” for that image on a webpage, they paste the paragraph text into the filename… It may allow it, but you’ll have an extremely hard time MOVING that file from one drive to another (USB drive to HDD). The filename is too long. :)

    ...P.S. – I don’t condone using long filenames, I think the longest filename I’ve ever used has been less than 30. I politely yell at them when they do it. :P

    • CommentAuthorhvge
    • CommentTimeJan 16th 2007
     permalink

    tstrokes: File name has 255 characters limit, but file path may be up to 32767. It will better to support it :)

    • CommentAuthorgbr
    • CommentTimeJan 19th 2007
     permalink
    Still present in 0.2.0.231.
    • CommentAuthorhvge
    • CommentTimeJan 23rd 2007
     permalink

    gbr: I made some prototyping about this and I discovered that there is very poor support for long paths in windows (xp). I mean that 99% of windows apps can’t work with paths longer than 255 characters. Here is my example command line application and you will see it. It creates a very long path in the C:\\!long_test directory.

    I was shocked, that windows explorer can’t work, IE, Firefox, SciTE, totalcmd, winrar, visual studio and in the reality, every application which uses standard open file dialog can’t do this.

    I’m going to make our file related code more “buffer overflow aware”. We may handle long files in command line parameters supplied to the Intype, but sorry, it’s impossible to create completely new open dialog :)