Bug 192970 - disk space monitor finds no mountpoints
Summary: disk space monitor finds no mountpoints
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemmonitor (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 200861 207146 211805 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-17 10:12 UTC by Andreas Kuhl
Modified: 2009-10-26 08:23 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Passes Usage values through i18n() (724 bytes, patch)
2009-08-07 17:42 UTC, javitonino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kuhl 2009-05-17 10:12:05 UTC
Version:            (using KDE 4.2.85)
Installed from:    SuSE RPMs

The disk space monitor plasmoid is empty and shows no available mountpoints in its settings dialogue. Worked on KDE 4.2.3, though...

KDE 4.3 Beta 1 with Qt 4.5.1 on openSUSE 11.1
Comment 1 Marco Martin 2009-05-17 13:30:35 UTC
can't reproduce here, wonder if it's a packaging issue
Comment 2 Andreas Kuhl 2009-05-17 13:35:59 UTC
Now happens with the network monitor plasmoid, too: It only shows a network icon instead of any traffic. Also no network interfaces in its settings dialogue, too.
Comment 3 Andreas Kuhl 2009-05-17 13:36:29 UTC
(which is quite odd  because the network monitor icon used to work some minutes ago)
Comment 4 Andreas Kuhl 2009-05-17 13:37:27 UTC
Could this be a Solid problem?
Comment 5 Aaron J. Seigo 2009-05-18 11:51:13 UTC
not solid, but libksysguard, which provides this information to both of those plasmoids.
Comment 6 Andreas Kuhl 2009-05-25 16:09:40 UTC
Can someone please confirm this bug? :-)
Comment 7 Andreas Kuhl 2009-06-24 16:38:10 UTC
I looked up which data engine was used for this widget and the sources (http://websvn.kde.org/*checkout*/trunk/KDE/kdebase/workspace/plasma/applets/system-monitor/hdd.cpp?revision=958136&content-type=text%2Fplain) told me that soliddevice is used.

I tried to see if the plasmaengineexplorer shows the correct values. The engine "soliddevice" lists no data sources, nothing. Just a blank list... Is this information useful for debugging?
Comment 8 Stefano Badoino 2009-07-08 17:04:49 UTC
Same problem here with disk space monitor plasmoid, it works only with plasmoidviewer. I'm running KDE 4.3 RC1 and Qt 4.5.2 on openSUSE 11.1 64.
Comment 9 javitonino 2009-08-07 17:25:26 UTC
The problem seems to be in this check:

if ((data->value("Usage").toString() != "File System" &&
             data->value("Usage").toString() != "Raid") ||
            data->value("File System Type").toString() == "swap") {

As I'm using spanish KDE, data->value("Usage") = "Sistema de archivos" (spanish translation of "File System") and the check fails.
Comment 10 javitonino 2009-08-07 17:42:03 UTC
Created attachment 35967 [details]
Passes Usage values through i18n()

This patch passes the previusly mentioned strings through i18n() as is done in soliddeviceengine.cpp so the Usage value comparison works well.

Tested in english and spanish.
Comment 11 Bartłomiej Zimoń 2009-08-13 19:13:08 UTC
CONFIRMED this patch works for me. KDE 4.3.0

please add this to trunk
Comment 12 Petri Damstén 2009-08-14 09:39:28 UTC
*** Bug 200861 has been marked as a duplicate of this bug. ***
Comment 13 Petri Damstén 2009-08-14 09:50:48 UTC
SVN commit 1011262 by pdamsten:

Usage types are translated.
BUG: 192970

 M  +2 -2      hdd.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1011262
Comment 14 Panard 2009-09-02 01:07:33 UTC
Hello,

Could this patch be backported to the 4.3 branch?
I hope to see this small fix into 4.3.2. (I hoped for 4.3.1...)

Thank you
Comment 15 Petri Damstén 2009-09-02 05:09:06 UTC
SVN commit 1018664 by pdamsten:

Usage types are translated
CCBUG: 192970

 M  +2 -2      hdd.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1018664
Comment 16 Janet 2009-09-03 21:52:34 UTC
Is this fix scheduled for KDE 4.4 or will it be available earlier?
Comment 17 Petri Damstén 2009-09-04 07:20:30 UTC
Backport commit should be in 4.3.2
Comment 18 Martin Samek 2009-09-04 10:56:46 UTC
Bug remains in 4.3.1 - Gentoo - locale: cs_CZ. Hope will be fixed in 4.3.2.
Comment 19 Petri Damstén 2009-09-12 07:02:47 UTC
*** Bug 207146 has been marked as a duplicate of this bug. ***
Comment 20 Martin Samek 2009-10-07 15:39:55 UTC
Bug seems to be fixed in 4.3.2 - Gentoo - locale: cs_CZ.
FIXED.
Comment 21 Petri Damstén 2009-10-26 08:23:06 UTC
*** Bug 211805 has been marked as a duplicate of this bug. ***