Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125148

QHelpEngineCore::copyCollectionFile doesn't copy all content of help collection file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.5
    • Other, Tools: Assistant
    • None
    • All

    Description

      We use `QHelpEngineCore::copyCollectionFile` to copy a help collection to a temporary directory and then open and change it in that location to avoid modifying the original collection.

      This works fine in Qt 5.15, but now no longer works after migrating to Qt 6.5.5. Attached is a minimal example (based on the "contextsensitivehelp" example) that reproduces the issue. The strange thing is that the search mechanism still works, but the index model/widget and the actual content is empty (see attached screenshots).

      Attachments

        1. helpdialog.zip
          18 kB
        2. helpdialog_ok.png
          helpdialog_ok.png
          337 kB
        3. helpdialog_not_ok.png
          helpdialog_not_ok.png
          296 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            simon.geisseler Simon Geisseler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes