In the Okular version shipped with KDE 4.11 RC2 I'm observing this behavior: with some pdfs (for example those with both portrait and landscape pages) its impossible to make the okular window width smaller than the landscape page size. This does not happen with the Okular version shipper with KDE 4.10.5, so it seems it's not a backend problem (just wild guessing). Such behavior is particulary bad when using the Okular part in Kile, since the Okular part takes more than half of the screen space, stealing precious space for the editor. Reproducible: Always Steps to Reproduce: 1. open the attached document 2. try to reduce the width Actual Results: you can't have a window smaller than the landscape page width Expected Results: the windows should shrink as in KDE 4.10.5
Created attachment 81642 [details] example of a pdf where width cannot be reduced
Created attachment 81643 [details] what happens in Kile This is the minimum size of the okular part in Kile when editing the .tex file that generates the attached pdf - with Okular from KDE 4.11 RC2
Created attachment 81644 [details] what happens in Kile with okular from KDE 4.10.5 This is the minimum size of the Okular part in Kile when using Okular from KDE 4.10.5
Created attachment 81659 [details] LaTeX test file Confirmed for attached LaTeX file and poppler/Okular/Kile from git/master.
Yes, that does happen. Not sure it's a bug to be honest, we need to show the "every page is different size info" in the page bar and it's just a long string because you are using unstandard page sizes. If you want to have a smaller size, just hide the page bar. If you want to convince me this is a bug, you'll have to offer an alternative place to show the page size.
ah! so the problem is in the page bar! The workaround is an acceptable solution for me but, just asking, wouldn't be possible to restore the behaviour of 4.10.5? There I see: "7.67717in x 5.311496in" While in RC2-master I see: "7.67717in x 5.311496in in (unknown landscape paper size)" (then the numbers change when you scroll to the portrait pages, where the "in unknown..." part is not shown anymore) is the "(in unknown landscape paper size)" really necessary? It doubles the needed space without (IMO) adding useful information. So, why couldn't you just remove that part and restore the 4.10.5 behavior?
erm, I just noticed that in the okular_part there is no option to remove the page bar. So please at least add an option to remove the bar from the okular part, because the problem gets severe when you use okular as previewer in another program (e. g. Kile)
You noticed wrong, okular_part properly exports the option to remove the page bar (since you can access it perfectly from Konqueror), if Kile doesn't show it, complain to Kile people. And no, i'm not restoring 4.10.5 behaviour, this behaviour is better, maybe you should stop generating documents with unstandard page sizes ;-)
I only use the okular part in Kile... I'm seeing now it works differently in konqueror, I'll go ask Kile people about it. Oh and well, thank you for the advice, I've already sent an email to my boss, explaining that he should stop asking me documents with non standard paper sizes as suggested by the Okular mantainer ;) Best.
So should this bug be reassigned to Kile developers?
Or at least adding them as CC, yeah, can you do that, please?
Adding Kile developer to CC list.
Ehm, sorry for the late reply, I had already opened a new bug for Kile: https://bugs.kde.org/show_bug.cgi?id=323466 so maybe one should be closed as duplicate now
Okay :) *** This bug has been marked as a duplicate of bug 323466 ***