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

List:       kde-devel
Subject:    Re: Plasma::DataEngine not automatically updating
From:       Trever Fischer <wm161 () wm161 ! net>
Date:       2009-02-18 18:55:16
Message-ID: 200902181355.24068.wm161 () wm161 ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 18 February 2009 01:16:53 pm Shantanu Jha wrote:
> I noticed that The System Monitor - Network applet did not
> automatically updated its network interface list, i.e. if I connect a
> dial-up modem, the interface ppp0 is not shown in the applet's
> settings. However, if the applet is restarted, the list is updated.
> I've examined the source (
> kdebase/workspace/plasma/applets/system-monitor/net.cpp ) and found
> that it uses "systemmonitor" as the data engine, and whenever a call
> to engine()->sources() is made ( in the function
> SM::Net::parseSources() ), the list returned back doesn't contain
> "ppp0", if the interface was connected after the applet was started.
> This means that the data engine is not getting properly updated.
> Further, there are no public member functions of Plasma::DataEngine
> which can force a update/refresh.
> So, is this a bug in the DataEngine or am I missing something?
> I am using Kubuntu 8.10 with latest kde svn trunk build. Thanks in advance,

This is a bug with the DataEngine. Currently, it does not issue periodic 
updates for the list of all sources. When the engine object is first created, 
it requests the list, then forgets about it for eternity.

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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