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

[DocumentViewer] Edit menu gets multipled each time recent document is opened

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.6.0 Beta2, 6.7.0 FF
    • 6.6.0 Beta1
    • Examples and Demos
    • None
    • Ubuntu 22.04
    • Linux/X11
    • 01b7e2d09 (dev), 5a992b2f5 (6.6)

    Description

      Steps to reproduce:

      1. Open example: https://doc.qt.io/qt-6/qtdoc-demos-documentviewer-example.html from Qt 6.6.0 b1.
      2. Build and run the app on Linux desktop.
      3. Open any txt file.
      4. Open the same file again or use recent documents icon to open it.
      5. Observe edit menu and edit buttons in toolbar.

       

      Expected: File content is present. No changes to edit menu and toolbar.

      Actual: When reopening the file multiple times - Edit menu and some buttons get multiplied in the header. 

      Reproducibility:  100%

       

      NOTES: Not reproducible with the example from Qt 6.5.1.

      Attachments

        1. document_viewer.webm
          9.74 MB
          Łukasz Kosiorowski
        2. Screenshot 2023-11-15 at 14.19.48.png
          151 kB
          Łukasz Kosiorowski
        3. Screenshot from 2023-06-15 16-23-07.png
          165 kB
          Łukasz Kosiorowski

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              axelspoerl Axel Spoerl
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes