Bug 400189 - File > Properties window's initial size is too small for .djvu files
Summary: File > Properties window's initial size is too small for .djvu files
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.5.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 09:19 UTC by Kishore Gopalakrishnan
Modified: 2018-10-24 04:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Window as it initially opens for djvu (5.21 KB, image/png)
2018-10-24 04:21 UTC, Kishore Gopalakrishnan
Details
Window for djvu after resizing (filename blanked out by me) (20.46 KB, image/png)
2018-10-24 04:22 UTC, Kishore Gopalakrishnan
Details
Window for PDF as it initially opens (50.24 KB, image/png)
2018-10-24 04:23 UTC, Kishore Gopalakrishnan
Details
Window for PDF after resizing (21.16 KB, image/png)
2018-10-24 04:23 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2018-10-23 09:19:34 UTC
SUMMARY
If we open the File > Properties window while viewing a djvu file, the window opens with the wrong size, i.e. so small that none of the text is displayed properly.

STEPS TO REPRODUCE
1. Open a djvu file in okular
2. Go to File > Properties

OBSERVED RESULT
The opened window is so small that the text is not displayed properly. Lines of text are cut off vertically, i.e. only a certain fraction of the top of each line is displayed. In the extreme case, one simply sees what appear to be a bunch of dashed lines (the top edges of letters in each line). However, one can resize the window and view the text.

EXPECTED RESULT
The File>properties window should open with a size which allows the text to be displayed properly

SOFTWARE VERSIONS
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
The same does not happen with PDF files, i.e. the File>properties window opens with the correct size. However, one can resize the window until it is small enough to get the same effect of text not being displayed properly.
Comment 1 Laura David Hurka 2018-10-23 17:01:29 UTC
I only tried the PDF way. I can’t reproduce that on my system.

The properties window can not be resized down until it’s too small for all text lines. When I force it to be smaller (titlebar -> rightclick -> special window settings), there is simply no text.

Okular version: 1.5.1
KDE Frameworks version: 5.50.0
KDE Plasma version: 5.13.1
Qt version: 5.11.1
OS: KDE Neon 5.13 (16.04 LTS)
Comment 2 Albert Astals Cid 2018-10-23 22:39:29 UTC
Can you please attach a screenshot of what you get? And also when you made it bigger?
Comment 3 Kishore Gopalakrishnan 2018-10-24 04:21:58 UTC
Created attachment 115861 [details]
Window as it initially opens for djvu
Comment 4 Kishore Gopalakrishnan 2018-10-24 04:22:49 UTC
Created attachment 115862 [details]
Window for djvu after resizing (filename blanked out by me)
Comment 5 Kishore Gopalakrishnan 2018-10-24 04:23:20 UTC
Created attachment 115863 [details]
Window for PDF as it initially opens
Comment 6 Kishore Gopalakrishnan 2018-10-24 04:23:42 UTC
Created attachment 115864 [details]
Window for PDF after resizing
Comment 7 Kishore Gopalakrishnan 2018-10-24 04:26:49 UTC
I'm really sorry for the noise. It seems I'd set a kwin window rule for okular that disobeys the requested minimum size. I've marked the bug as resolved.