Hello community, here is the log from the commit of package kdebase3 checked in at Sun Nov 5 00:30:09 CET 2006. -------- --- KDE/kdebase3/kdebase3.changes 2006-11-03 16:09:08.000000000 +0100 +++ /mounts/work_src_done/STABLE/kdebase3/kdebase3.changes 2006-11-04 19:30:31.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Nov 4 19:30:12 CET 2006 - stbinner@suse.de + +- fix build for < 10.2 +- fix drag & drop print with utf-8 name (#194400) +- fix systray flicker (#216669) + +------------------------------------------------------------------- New: ---- dnd-utf8-fix.diff systray-flicker.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdebase3.spec ++++++ --- /var/tmp/diff_new_pack.B1dAUY/_old 2006-11-05 00:29:16.000000000 +0100 +++ /var/tmp/diff_new_pack.B1dAUY/_new 2006-11-05 00:29:16.000000000 +0100 @@ -52,7 +52,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.kde.org/ Version: 3.5.5 -Release: 34 +Release: 36 %define kde_version 3.5.5 Source0: kdebase-%{kde_version}.tar.bz2 Source3: startkde.suse.sh @@ -178,6 +178,8 @@ Patch172: optional-kwin.diff Patch173: suspend-unmount.diff Patch174: bgdialog.cpp.patch +Patch175: dnd-utf8-fix.diff +Patch176: systray-flicker.diff Provides: kdebase %description @@ -368,7 +370,7 @@ Summary: Set and list fileshares Group: System/Management Version: 2.0 -Release: 163 +Release: 165 %description -n fileshareset This package contains the the fileshareset utility to allow users to @@ -520,6 +522,8 @@ %patch172 %patch173 %patch174 +%patch175 +%patch176 cp %SOURCE17 l10n/tw/flag.png . /etc/opt/kde3/common_options cd ../fileshareset2 @@ -831,7 +835,6 @@ /opt/kde3/bin/keditfiletype /opt/kde3/bin/kfind /opt/kde3/bin/khelpcenter -/opt/kde3/bin/khc_beagle_index.py /opt/kde3/bin/kicker /opt/kde3/bin/kjobviewer /opt/kde3/bin/klipper @@ -1463,6 +1466,7 @@ %files beagle %defattr(-,root,root) /opt/kde3/bin/khc_beagle_search.py +/opt/kde3/bin/khc_beagle_index.py /opt/kde3/%_lib/kde3/kickoffsearch_beagle.* /opt/kde3/share/services/kickoffsearch_beagle.desktop %endif @@ -1477,6 +1481,10 @@ %endif %changelog -n kdebase3 +* Sat Nov 04 2006 - stbinner@suse.de +- fix build for < 10.2 +- fix drag & drop print with utf-8 name (#194400) +- fix systray flicker (#216669) * Fri Nov 03 2006 - dmueller@suse.de - readd kickoff kcontrol module * Thu Nov 02 2006 - stbinner@suse.de ++++++ dnd-utf8-fix.diff ++++++ --- kdeprint/kprinter/printwrapper.cpp.sav 2006-11-01 17:15:26.000000000 +0100 +++ kdeprint/kprinter/printwrapper.cpp 2006-11-03 18:02:07.000000000 +0100 @@ -304,7 +304,7 @@ void PrintWrapper::slotPrintRequested(KP for (QStringList::ConstIterator it=files.begin(); it!=files.end(); ++it) { QString tmpFile; - KURL url(*it); + KURL url = KURL::fromPathOrURL(*it); kdDebug( 500 ) << url.url() << endl; if (KIO::NetAccess::download(url, tmpFile, this)) { ++++++ systray-flicker.diff ++++++ --- kicker/kicker/core/containerarea.cpp.sav 2006-04-13 14:02:58.000000000 +0200 +++ kicker/kicker/core/containerarea.cpp 2006-10-31 17:41:49.000000000 +0100 @@ -1392,6 +1392,7 @@ void ContainerArea::viewportResizeEvent( void ContainerArea::setBackground() { _bgSet = false; + m_cachedGeometry.clear(); if (KickerSettings::transparent() && (KickerSettings::menubarPanelTransparent() || @@ -1609,6 +1610,7 @@ void ContainerArea::updateBackground( co _completeBg.resize(width(), height()); _completeBg.fill(this, 0, 0); + m_cachedGeometry.clear(); updateContainersBackground(); } @@ -1737,10 +1739,33 @@ void ContainerArea::updateContainersBack it != m_containers.constEnd(); ++it) { - (*it)->setBackground(); + // A rather ugly hack. The code calls updateContainersBackground() all over + // the place even when nothing in fact has changed. Updating the background + // on every single unrelated change however means that e.g. the systray + // flickers when a new window is opened/closed (because the taskbar is relayouted, + // which triggers updateContainersBackground() even though the geometry + // of the taskbar does not change in fact. I'm apparently unable to fix this + // properly, so just cache the geometry and update background only when + // the geometry changes or when the background really changes (in which + // case the cached is cleared). + if( !m_cachedGeometry.contains( *it )) + { + m_cachedGeometry[ *it ] = QRect(); + connect( *it, SIGNAL( destroyed()), SLOT( destroyCachedGeometry())); + } + if( m_cachedGeometry[ *it ] != (*it)->geometry()) + { + (*it)->setBackground(); + m_cachedGeometry[ *it ] = (*it)->geometry(); + } } } +void ContainerArea::destroyCachedGeometry() +{ + m_cachedGeometry.remove( static_cast< const QWidget* >( sender())); +} + BaseContainer::List ContainerArea::containers(const QString& type) const { if (type.isEmpty() || type == "All") --- kicker/kicker/core/containerarea.h.sav 2006-04-13 14:02:58.000000000 +0200 +++ kicker/kicker/core/containerarea.h 2006-10-31 17:36:20.000000000 +0100 @@ -144,6 +144,7 @@ protected slots: void updateContainersBackground(); void startContainerMove(BaseContainer*); void resizeContents(); + void destroyCachedGeometry(); private: BaseContainer::List m_containers; @@ -167,6 +168,7 @@ private: QWidget* m_contents; ContainerAreaLayout* m_layout; AddAppletDialog* m_addAppletDialog; + QMap< QWidget*, QRect > m_cachedGeometry; }; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org