<div dir="ltr">ok i uploaded the diff to review board :-<div><br><div><a href="https://git.reviewboard.kde.org/r/115283/">https://git.reviewboard.kde.org/r/115283/</a><br></div></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jan 24, 2014 at 5:10 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
El Dimecres, 22 de gener de 2014, a les 19:04:40, saheb preet singh va<br>
escriure:<br>
> hi,<br>
<br>
Hi<br>
<div class="im"><br>
> I was working on bug number 326844.<br>
><br>
> <a href="https://bugs.kde.org/show_bug.cgi?id=326844" target="_blank">https://bugs.kde.org/show_bug.cgi?id=326844</a><br>
><br>
> It was a feature request to resize the window to fit the current page size.<br>
><br>
> I solved this bug up to some extent and was stuck in a small problem from<br>
> last two three days. Here are some screenshot of what is happening.<br>
<br>
</div>Maybe you can upload your diff to reviewboard so we can see it and try it<br>
ourselves? For me it's always easier to understand the problems someone are<br>
having if i can run the software and experience them myself.<br>
<br>
Cheers,<br>
  Albert<br>
<div><div class="h5"><br>
><br>
> Before selecting resize window to fit page:-<br>
><br>
> [image: Inline image 3]<br>
><br>
> After selecting resize to fit page:-<br>
><br>
> [image: Inline image 4]<br>
><br>
> I am using the resize method for resizing the window.<br>
><br>
> The window is resizing  as required but sometimes it doesn't resizes . It<br>
> has to be moved by mouse and then again click on the button in the menu to<br>
> resize the window again.  Once it is moved by mouse, it works fine. Now,<br>
> when i change the zoom level of the current page, the problem starts again.<br>
><br>
> I think the problem occurs due to something happening in the other portion<br>
> of the code.<br>
><br>
> I searched about it on the internet and nobody was able to answer the<br>
> solution to people with same problem. There are some alternative solutions<br>
> to the problem:-<br>
><br>
> ==> Use set geometry instead of resize which works fine. but would have to<br>
> be taken care of the size of the screen and the original position of the<br>
> window. Also, repainting the portion outside the window when the window is<br>
> resized to a smaller window.<br>
><br>
> ==> Use a timer which will signal a slot which in turn will resize the<br>
> window, but that might require qsignalmapper to map the width and height to<br>
> the slot. ( I didn't tried this solution ).<br>
><br>
> The best solution i could find on the internet is this<br>
> <a href="http://qt-project.org/forums/viewthread/25648" target="_blank">http://qt-project.org/forums/viewthread/25648</a><br>
><br>
> Please guide me how should I solve this problem. Should I use such methods<br>
> which don't appear to be clean.<br>
><br>
> Thanks,<br>
> Saheb Preet Singh<br>
<br>
</div></div>_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</blockquote></div><br></div>