Summary: | KHelpCenter sometimes resizes window contents when you click Next | ||
---|---|---|---|
Product: | [Applications] khelpcenter | Reporter: | Malcolm Hunter <malcolm.hunter> |
Component: | general | Assignee: | Cornelius Schumacher <schumacher> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | NOR | ||
Version: | 0.8 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Malcolm Hunter
2002-09-22 00:37:53 UTC
I have seen that too. I clicked the bugs.kde.org link in the kmail faq (help:/kmail/faq.html) and it resized the HTML widget to three times my monitor resolution. Subject: kdebase/khelpcenter CVS commit by raabe: - Don't allow the KHelpCenter window to grow larger than the desktop; I think this allows us to close BR48140 as well which (given the hint that the KPaint intro page breaks in both Konqueror and KHelpCenter) is either a khtml or a kio_help glitch. I cannot reproduce that myself with KDE 3.1.1a and KDE_3_1_BRANCH though, and this patch makes sure that KHelpCenter doesn't go crazy no matter what wacky HTML kio_help delivers. CCMAIL:48140-done@bugs.kde.org M +3 -0 mainwindow.cpp 1.31 --- kdebase/khelpcenter/mainwindow.cpp #1.30:1.31 @@ -136,4 +136,7 @@ MainWindow::MainWindow(const KURL &url) statusBarMessage(i18n("Ready")); + + const QRect rect = kapp->desktop()->availableGeometry( this ); + setMaximumSize( rect.width(), rect.height() ); } |