[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 181884] New: Autohide doesn't work with popup applets
From:       cedric <cedric.borgese () gmail ! com>
Date:       2009-01-25 16:27:08
Message-ID: bug-181884-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=181884

           Summary: Autohide doesn't work with popup applets
           Product: plasma
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: plasma-bugs@kde.org
        ReportedBy: cedric.borgese@gmail.com


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Panel autohiding doesn't work with popup applets when the panel il large enough
to show the applet and not just the button to popup the applet.

to reporduce the problem :

1) add a new panel to you desktop

2) add the weather applet to the panel

3) resize the panel until it shows the applet and not the button to popup the
applet.

4) set the panel in autohide mode

5) show the panel with the mouse, when the cursor leave it, it doesn't hide
anymore.

this patch fixes the problem for me : 

Index: plasma/popupapplet.cpp
===================================================================
--- plasma/popupapplet.cpp      (révision 915859)
+++ plasma/popupapplet.cpp      (copie de travail)
@@ -434,7 +434,7 @@

 bool PopupApplet::isPopupShowing() const
 {
-    return !d->dialog || d->dialog->isVisible();
+    return d->dialog && d->dialog->isVisible();
 }

 PopupAppletPrivate::PopupAppletPrivate(PopupApplet *applet)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic