Menu

#1596 Ignore Microsoft Office temporary files

5.7
closed-fixed
None
5
2023-04-10
2021-10-11
No

When Microsoft Office files are opened, they create a temporary file that OmegaT tries (but fails) to open when reloading the project after external modification.

I propose adding :

        "**/~$*.ppt?",
        "**/~$*.doc?",
        "**/~$*.xls?",
        "**/~$*.dot?",
        "**/~$*.vsdx"

To the ignore list.

Discussion

  • Aaron Madlon-Kay

    • summary: Add extra ignore patterns for opened MS Open XML files --> Ignore Microsoft Office temporary files
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -When MSO files are opened, they create a temporary file that OmegaT fails to open when reloading the project after external modification.
    +When Microsoft Office files are opened, they create a temporary file that OmegaT tries (but fails) to open when reloading the project after external modification.
    
     I propose adding :
    
    • status: open --> open-fixed
    • assigned_to: Jean-Christophe Helary
     
  • Aaron Madlon-Kay

    Apparently these are "owner files"; see https://superuser.com/a/405258/93651

    It looks reasonable to just ignore **/~$* rather than try to enumerate all Office file extensions.

     
  • Aaron Madlon-Kay

    Implemented on master in [c64251].

     

    Related

    Commit: [c64251]

  • Jean-Christophe Helary

    I thought about just using a generic ~$* but maybe there are legitimate uses of a name that starts with ~$ so I thought limiting to the file formats that OmegaT supports and that exhibit this issue was better.

     
  • Aaron Madlon-Kay

    I think it's probably rare enough that it will be fine. If not, we can always adjust it later.

     
    👍
    1
  • Aaron Madlon-Kay

    • status: open-fixed --> closed-fixed
     
  • Aaron Madlon-Kay

    Implemented in OmegaT 5.7.0.

     
  • Jean-Christophe Helary

    @Thomas would you mind checking if the same issue appears in the new filter?

     

Log in to post a comment.

MongoDB Logo MongoDB