Bug 457564

Summary: Previewing a second text file in Ark opens a very small window
Product: [Applications] ark Reporter: David <david.cortes.rivera>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: normal CC: aacid, rthomsen6
Priority: NOR    
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David 2022-08-06 19:37:33 UTC
SUMMARY
If I open some compressed file, preview a text file inside it, close the preview window, and then preview another text file, the second and further files will show up in a very small pop-up window which needs to be manually resized before it even begins to show the contents.

STEPS TO REPRODUCE
1. Create a compressed file containing several plain text files inside it.
2. Open the compressed file with ark.
3. Click one of the text files inside it so as to launch the document previewer.
4. Close the window with the preview.
5. Click a different text file to preview it.

OBSERVED RESULT
Opens in a very small window - it's so small that the QT menus already take all the space and no content from the file is shown.

EXPECTED RESULT
Should open in a reasonably-sizes window, just like for the fist file.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.4
Kernel Version: 5.18.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10
Manufacturer: Acer
Product Name: Predator PH517-61
System Version: V1.09