http://bugzilla.novell.com/show_bug.cgi?id=576113 http://bugzilla.novell.com/show_bug.cgi?id=576113#c0 Summary: Desktop file Name entry does not honor the [$e] modfier Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: joerg.steffens@dass-it.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=340214) --> (http://bugzilla.novell.com/attachment.cgi?id=340214) test program for the described behaviour User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.7) Gecko/20091222 SUSE/3.5.7-1.1.1 Firefox/3.5.7 in a desktop file, it is possible to use the [$e] for entries, to let KDE expand these entries. In the orig openSUSE 11.2 kdelibs4-4.3.1-6.7.2.src.rpm the patch 12 (desktop-translations.diff) prevents this. I added a test envirmonment as attachment. test.desktop includes the entry: Name[$e]=$(echo TEST $USER) which should result into "TEST root" (when started as root). With patch 12 included, the name is taken as "$(echo TEST $USER)" (entry is not expanded). Without this patch, the correct result is displayed. Precompiled packages without patch 12 can be found at OSB: home:steffens:lvermgeo:kde4/kdelibs4 The other problems (using default values) visible with the test program are enterd into https://bugs.kde.org/show_bug.cgi?id=225255 because they seem not to be SUSE specific Reproducible: Always Steps to Reproduce: download the attachment tar -xvzf kreadconfig.tgz cd kreadconfig /kread-desktopfile-test.sh Actual Results: filename: testdir/test.desktop readName(): $(echo TEST $USER) readEntry( "Name" ): TEST joergs readEntry( "Name", "default" ): $(echo TEST $USER) icon: xmag noDisplay(): True readEntry( "NoDisplay" ): False readEntry( "NoDisplay", True ): true readEntry( "NoDisplay", False ): true dump: [Desktop Entry] Categories = X-SuSE-DesktopUtility; Encoding = UTF-8 Exec = xmag GenericName = Desktop Magnifier Icon = xmag Name = TEST joergs NoDisplay = False Type = Application X-KDE-StartupNotify = false X-SuSE-Unimportant = true X-SuSE-translate = true Expected Results: filename: testdir/test.desktop readName(): TEST root readEntry( "Name" ): TEST root readEntry( "Name", "default" ): $(echo TEST $USER) icon: xmag noDisplay(): True readEntry( "NoDisplay" ): False readEntry( "NoDisplay", True ): true readEntry( "NoDisplay", False ): true dump: [Desktop Entry] Categories = X-SuSE-DesktopUtility; Encoding = UTF-8 Exec = xmag GenericName = Desktop Magnifier Icon = xmag Name = TEST root NoDisplay = False Type = Application X-KDE-StartupNotify = false X-SuSE-Unimportant = true X-SuSE-translate = true -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.