Menu

#1098 The "file names" option does not work in search results from TMs

5.8
closed-fixed
None
5
2023-09-27
2022-05-24
msoutopico
No

Steps to reproduce

  1. Press Ctrl+F.
  2. Uncheck the "File names" option.
  3. Check the "TMs" option (and uncheck "Project")
  4. Run a search in TMs.

Expected results

Results include the source text and the translation, without the file name (or path):

-- This is a sample sentence.
-- Bla bla bla, blu blu blú.

.

Actual results

The "file names" option does not seem to take effect. The file paths are visible even if that option is checked.

/home/pico/Sync/OmegaT/tickets/test-omt-projects/very/looooong/path/that/I/do/not/need/to/see/in/search/results/sample_project_omt/tm/auto/filename_good_to_see.tmx
-- This is a sample sentence.
-- Bla bla bla, blu blu blú.

.
The following screencast shows the problem: https://i.imgur.com/mrP5tRK.gif

Discussion

  • Hiroshi Miura

    Hiroshi Miura - 2022-05-27

    An attached patch fix the issue?

     
    ❤️
    1
    • msoutopico

      msoutopico - 2022-05-29

      Thank you, Hiroshi! Yes, I can confirm your patch fixes issues in both this ticket (1098) and 1098.

       
    • msoutopico

      msoutopico - 2022-06-24

      Hi Hiroshi, A bit of follow-up: Do I assume correctly that you will close the ticket and push your patch to the code? Or is there something else I must do myself? Thanks.

       
  • Hiroshi Miura

    Hiroshi Miura - 2022-09-26
    • status: open --> open-fixed
    • assigned_to: Hiroshi Miura
     
  • Hiroshi Miura

    Hiroshi Miura - 2022-09-26

    The fix is merged. [46b905]

     

    Related

    Commit: [46b905]

  • Hiroshi Miura

    Hiroshi Miura - 2023-09-27
    • status: open-fixed --> closed-fixed
     
  • Hiroshi Miura

    Hiroshi Miura - 2023-09-27

    released 6.0

     

Log in to post a comment.