Bug 71142 - no popup for kwallet in system tray
Summary: no popup for kwallet in system tray
Status: RESOLVED FIXED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: George Staikos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-23 20:51 UTC by Richard Bos
Modified: 2004-01-27 06:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Bos 2003-12-23 20:51:29 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    SuSE RPMs
OS:          Linux

If the mouse remains for same time above the kwaller manager icon
in the system tray no (yellow) popup is shown, telling what it is.

Klipper for example in the same system tray shows the yellow popup.
=> the popup mechanism works.
Comment 1 George Staikos 2003-12-23 20:54:48 UTC
Subject: Re:  New: no popup for kwallet in system tray

On Tuesday 23 December 2003 14:51, Richard Bos wrote:
> If the mouse remains for same time above the kwaller manager icon
> in the system tray no (yellow) popup is shown, telling what it is.
>
> Klipper for example in the same system tray shows the yellow popup.
> => the popup mechanism works.

  yes I noticed this, but it can't be fixed until 3.3 due to the string 
freeze.

Comment 2 George Staikos 2004-01-27 06:58:14 UTC
Subject: kdeutils/kwallet

CVS commit by staikos: 

Add tooltip to tray icon
CCMAIL: 71142-done@bugs.kde.org


  M +9 -3      kwalletmanager.cpp   1.37


--- kdeutils/kwallet/kwalletmanager.cpp  #1.36:1.37
@@ -32,4 +32,5 @@
 #include <kiconloader.h>
 #include <kiconview.h>
+#include <kkeydialog.h>
 #include <klineeditdlg.h>
 #include <klocale.h>
@@ -38,10 +39,10 @@
 #include <ksystemtray.h>
 #include <kwallet.h>
-#include <kkeydialog.h>
-#include <qguardedptr.h>
 
+#include <qaccel.h>
+#include <qguardedptr.h>
 #include <qptrstack.h>
 #include <qregexp.h>
-#include <qaccel.h>
+#include <qtooltip.h>
 
 KWalletManager::KWalletManager(QWidget *parent, const char *name, WFlags f)
@@ -53,4 +54,5 @@ KWalletManager::KWalletManager(QWidget *
         _tray = new KSystemTray(this, "kwalletmanager tray");
         _tray->setPixmap(loadSystemTrayIcon("wallet_closed"));
+        QToolTip::add(_tray, i18n("KDE Wallet: No wallets open."));
         connect(_tray,SIGNAL(quitSelected()),SLOT(shuttingDown()));
         QStringList wl = KWallet::Wallet::walletList();
@@ -131,4 +133,6 @@ bool KWalletManager::queryClose() {
 void KWalletManager::aWalletWasOpened() {
         _tray->setPixmap(loadSystemTrayIcon("wallet_open"));
+        QToolTip::remove(_tray);
+        QToolTip::add(_tray, i18n("KDE Wallet: A wallet is open."));
         updateWalletDisplay();
 }
@@ -267,4 +271,6 @@ void KWalletManager::openWallet(QIconVie
 void KWalletManager::allWalletsClosed() {
         _tray->setPixmap(loadSystemTrayIcon("wallet_closed"));
+        QToolTip::remove(_tray);
+        QToolTip::add(_tray, i18n("KDE Wallet: No wallets open."));
         possiblyQuit();
 }