None
closed
nobody
None
2018-11-15
2018-11-14
Vera
No

I use recoll-1.24.1

1) Perform some query and save it in ~/.recoll/saved_queries
2) Notice that query is saved without .rclq

--> as a Result this query cannot be found when I use dialog 'Open saved queries'

GNU/Linux
MATE Desktop Environment 1.12.1

1 Attachments

Discussion

  • medoc
    medoc
    2018-11-15

    Hi and thanks for reporting this.

    I was unable to reproduce the issue. In my environment, a suffix of .rclq seems to be always added, as specified by the setDefaultSuffix() option to the Qt file dialog in rclm_saveload.cpp

    What Qt version are you using ?

     
    • Vera
      Vera
      2018-11-15

      qt5 (5.9.6)
      For additional information: all is OK for version recoll-1.22.0

       
  • medoc
    medoc
    2018-11-15

    Ok, I can reproduce it with qt 5.9
    The recoll code for this function did not change since at least 1.21

    recoll 1.21 or 1.24 with qt 5.9 have the problem.
    No problem with qt 5.7

    This looks like a qt bug, but, curiously, I can't reproduce it with a small sample (using the exact same save function...

    Anyway, attaching a simple patch to work around the issue, this will be included in future releases.

     
    • Vera
      Vera
      2018-11-15

      Thank you!

       
  • medoc
    medoc
    2018-11-15

    • status: open --> closed
    • milestone: -->
     

Cancel   Add attachment