KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
97664
:
cervisia-view in konqueror breaks layout
P
roduct
:
cervisia
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2005-01-22 19:04
Last Changed:
2005-08-02 10:33:48
Version: (using KDE KDE 3.3.91) Installed from: SuSE RPMs OS: Linux When I use the cvs-view in konqueror it creates a grey space between the statusbar and the bottom of the window.
Comment
#1
Christian Loose 2005-02-22 20:10:20
Hi, This is also a statusbar. When you look at the lower left corner, you should see a rectangle. There you should see the status of the file view filters (explanation on mouse over). I'm not sure at the moment why Konqueror doesn't add this to the normal statusbar. I will take a look at it. Thanks for the report. Christian
Comment
#2
Christian Loose 2005-03-04 19:43:22
CVS commit by cloose: Fix BR #97664: Fix statusbar when embedded as view in Konqueror. BUG: 97664 M +5 -0 ChangeLog 1.149 M +20 -15 cervisiapart.cpp 1.160 M +3 -12 cervisiapart.h 1.36 --- kdesdk/cervisia/cervisiapart.cpp #1.159:1.160 @@ -2,5 +2,5 @@ * Copyright (C) 1999-2002 Bernd Gehrmann *
bernd@mail.berlios.de
- * Copyright (c) 2002-2004 Christian Loose <
christian.loose@kdemail.net
> + * Copyright (c) 2002-2005 Christian Loose <
christian.loose@kdemail.net
> * * This program may be distributed under the terms of the Q Public @@ -89,5 +89,5 @@ CervisiaPart::CervisiaPart( QWidget *par , recent( 0 ) , cvsService( 0 ) - , statusBar( 0 ) + , m_statusBar(new KParts::StatusBarExtension(this)) , m_browserExt( 0 ) , filterLabel( 0 ) @@ -146,16 +146,4 @@ CervisiaPart::CervisiaPart( QWidget *par parentWidget)); - statusBar = new CervisiaStatusBarExtension(this); - - // create the active filter indicator and add it to the statusbar - filterLabel = new QLabel("UR", statusBar->statusBar()); - filterLabel->setFixedSize(filterLabel->sizeHint()); - filterLabel->setText(""); - QToolTip::add(filterLabel, - i18n("F - All files are hidden, the tree shows only folders\n" - "N - All up-to-date files are hidden\n" - "R - All removed files are hidden")); - statusBar->addStatusBarItem(filterLabel, 0, true); - if( cvsService ) { @@ -166,4 +154,6 @@ CervisiaPart::CervisiaPart( QWidget *par setXMLFile( "cervisiaui.rc" ); + + QTimer::singleShot(0, this, SLOT(slotSetupStatusBar())); } @@ -208,4 +198,18 @@ bool CervisiaPart::openURL( const KURL & } + +void CervisiaPart::slotSetupStatusBar() +{ + // create the active filter indicator and add it to the statusbar + filterLabel = new QLabel("UR", m_statusBar->statusBar()); + filterLabel->setFixedSize(filterLabel->sizeHint()); + filterLabel->setText(""); + QToolTip::add(filterLabel, + i18n("F - All files are hidden, the tree shows only folders\n" + "N - All up-to-date files are hidden\n" + "R - All removed files are hidden")); + m_statusBar->addStatusBarItem(filterLabel, 0, true); +} + void CervisiaPart::setupActions() { @@ -1735,4 +1739,5 @@ void CervisiaPart::setFilter() } + if( filterLabel ) filterLabel->setText(str); } --- kdesdk/cervisia/cervisiapart.h #1.35:1.36 @@ -2,5 +2,5 @@ * Copyright (C) 1999-2002 Bernd Gehrmann *
bernd@mail.berlios.de
- * Copyright (c) 2002-2004 Christian Loose <
christian.loose@kdemail.net
> + * Copyright (c) 2002-2005 Christian Loose <
christian.loose@kdemail.net
> * * This program may be distributed under the terms of the Q Public @@ -42,14 +42,4 @@ class CervisiaBrowserExtension; -class CervisiaStatusBarExtension : public KParts::StatusBarExtension -{ -public: - CervisiaStatusBarExtension(KParts::ReadOnlyPart* parent) - : KParts::StatusBarExtension(parent, "CervisiaStatusBarExtension") - { - } -}; - - /** * An embeddable Cervisia viewer. @@ -147,4 +137,5 @@ private slots: // called by menu action "Open Sandbox..." void slotOpenSandbox(); + void slotSetupStatusBar(); protected: @@ -186,5 +177,5 @@ private: CvsService_stub* cvsService; - CervisiaStatusBarExtension* statusBar; + KParts::StatusBarExtension* m_statusBar; CervisiaBrowserExtension* m_browserExt; QLabel* filterLabel; --- kdesdk/cervisia/ChangeLog #1.148:1.149 @@ -1,2 +1,7 @@ +2005-03-04 Christian Loose <
christian.loose@kdemail.net
> + + * Fix BR #97664: + Fix statusbar when embedded in Konqueror. + 2005-01-31 Christian Loose <
christian.loose@kdemail.net
>
Comment
#3
Christian Loose 2005-05-19 21:19:16
***
Bug 105949
has been marked as a duplicate of this bug. ***
Comment
#4
Christian Loose 2005-08-02 10:33:48
***
Bug 110007
has been marked as a duplicate of this bug. ***
P
latform
:
SuSE RPMs
O
S
:
Linux
K
eywords
:
People
Reporter
:
S Burmeister
Assigned To
:
Christian Loose
CC
:
ieure debian org
pierre linux59 wanadoo fr
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In