- 
    Bug 
- 
    Resolution: Fixed
- 
    P1: Critical 
- 
    6.6.0 Beta1
- 
    None
- 
    Ubuntu 22.04
- 
        
- 
        01b7e2d09 (dev), 5a992b2f5 (6.6)
Steps to reproduce:
- Open example: https://doc.qt.io/qt-6/qtdoc-demos-documentviewer-example.html from Qt 6.6.0 b1.
- Build and run the app on Linux desktop.
- Open any txt file.
- Open any json file.
- Open any pdf file.
Expected: Only tools specific for a given document type should be displayed.
Actual: Tools specific to json file remain on the screen when opening pdf files.
Reproducibility: 100%
NOTES: Not reproducible with the example from Qt 6.5.1.
- clones
- 
                    QTBUG-114615 [DocumentViewer] Edit menu gets multipled each time recent document is opened -         
- Closed
 
-         
- relates to
- 
                     QTQAINFRA-5592
        Qt Test Attack - Q2, 2023 QTQAINFRA-5592
        Qt Test Attack - Q2, 2023-           
- Open
 
-