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

List:       kde-bugs-dist
Subject:    [Bug 194801] New: i18n: Nepomuk::Resource::properties returns
From:       Nick Shaforostoff <shafff () ukr ! net>
Date:       2009-05-31 21:31:40
Message-ID: bug-194801-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=194801

           Summary: i18n: Nepomuk::Resource::properties returns
                    qbytearrays wrapped in qvariant instead of qstrings
                    for strigi fields
           Product: nepomuk
           Version: unspecified
          Platform: unspecified
        OS/Version: unspecified
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: sebastian@trueg.de
        ReportedBy: shafff@ukr.net


Version:            (using KDE 4.2.3)

The testcase is .odt file with File->Properties->Title set to cyrillic (or just
umlauted) value.

The title is mangled in Dolphin information panel.

kdebase/apps/dolphin/src/panels/information/informationpanel.cpp calls
m_metaTextLabel->add(label, it.value().toString()); which apparently treats
qbytearray stored in qvariant as latin1 data.

instead nepomuk should store qstring there.

note that strigi analyzer works fine itself:
$ xmlindexer file.odt  | grep title
 <value
name='http://freedesktop.org/standards/xesam/1.0/core#title'>Титл</value>

-- 
Configure bugmail: https://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