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

List:       kde-bugs-dist
Subject:    Bug#24947: konqueror tree plays gear animation infinitely
From:       b.greiner () t-online ! de
Date:       2001-04-29 17:34:17
[Download RAW message or body]

Package: konqueror
Version: KDE 2.2.0 CVS/CVSup/Snapshot
Severity: normal
Installed from:    Compiled sources
Compiler:          gcc 2.95.4 20010319
OS:                Linux
OS/Compiler notes: Not Specified

When opening a folder in the tree view after having launched stock Konqy from the \
kicker, the gear animation only goes away with the first opened folder. Each folder \
opened after that keeps the animating gear forever. It happens here in konq_tree.cpp, \
line 601: void KonqTree::stopAnimation( KonqTreeItem * item )
{
    MapCurrentOpeningFolders::Iterator it = m_mapCurrentOpeningFolders.find(item);
    if ( it != m_mapCurrentOpeningFolders.end() )
    {
        item->setPixmap( 0, it.data().originalPixmap );
        m_mapCurrentOpeningFolders.remove( item );
    }
    if (m_mapCurrentOpeningFolders.isEmpty())
        m_animationTimer->stop();
}

After the first time, the two ifs go false and the item is not removed from the list \
and the timer isn't stopped. This could perhaps be because the item isn't removed \
correctly when remove is called first or some items that shouldn't be there get into \
the map when the second (third, ...) animation starts. Precompiled Konqueror 2.1.1 \
worked fine with the very same Qt library, so I suspect the latter.

(Submitted via bugs.kde.org)


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

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