Review Request: Fix Bug 152156 - KDE help center does not respect window placement policy

Parker Coates parker.coates at kdemail.net
Wed Apr 18 19:00:04 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104662/#review12635
-----------------------------------------------------------

Ship it!



khelpcenter/mainwindow.cpp
<http://git.reviewboard.kde.org/r/104662/#comment9879>

    I've seen a few applications use a certain fraction of the screen size as the default. See http://websvn.kde.org/trunk/KDE/kdegames/kpat/mainwindow.cpp?view=markup#l118 . I'm not sure that's necessarily the best default, though.


- Parker Coates


On April 18, 2012, 4:01 p.m., Maarten De Meyer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104662/
> -----------------------------------------------------------
> 
> (Updated April 18, 2012, 4:01 p.m.)
> 
> 
> Review request for KDE Runtime and Cornelius Schumacher.
> 
> 
> Description
> -------
> 
> Fix Bug 152156 - KDE help center does not respect window placement policy
> 
> khelpcenter does not open in the middle of the screen with the kwin centered window placement policy.
> 
> 1) remove setGeometry on mainwindow
> 2) include defaultsize to setupGui (application looked strange when only using size hinting)
> 
> Any suggestions on a better default?
> 
> 
> This addresses bug 152156.
>     http://bugs.kde.org/show_bug.cgi?id=152156
> 
> 
> Diffs
> -----
> 
>   khelpcenter/mainwindow.cpp dd22425 
> 
> Diff: http://git.reviewboard.kde.org/r/104662/diff/
> 
> 
> Testing
> -------
> 
> Compiled, run, changed size, run again, remove configuration, run again
> 
> 
> Thanks,
> 
> Maarten De Meyer
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120418/be3bdfdc/attachment.htm>


More information about the kde-core-devel mailing list