Bug 280954 - SUSE-Overwirte script/function skips/omits translation entries in *.desktop files
Summary: SUSE-Overwirte script/function skips/omits translation entries in *.desktop f...
Status: RESOLVED INVALID
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: KDE (show other bugs)
Version: Final
Hardware: i686 openSUSE 10.2
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Stephan Kulow
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 13:52 UTC by Mark Van De Vyver
Modified: 2007-06-11 22:27 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
a .desktop file showning partial commenting of translation entries (3.46 KB, application/x-desktop)
2007-06-05 14:00 UTC, Mark Van De Vyver
Details
Session file showing errors in the life of a KDE instance initiated from FreeNX. (34.70 KB, application/octet-stream)
2007-06-05 14:09 UTC, Mark Van De Vyver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Van De Vyver 2007-06-05 13:52:00 UTC
It appears that the script/function/utility that prepends:

#SUSE-Overwrite....

to the translation entries in *.desktop files under:
  
  /opt/kde3/share/apps/*

and

  /opt/kde3/share/services/*

is incomplete.  Specifically many entries are not commented out, and some whole files are omitted.

The cause of this may(?) be related to the fact that some 'app' files had "Type=Service" - see bug #280901.  Or it may be caused by something else?

I _suspect_ that the presences of 'special characters' is causing Xsession errors like the following:

MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0
MNG error 4: Encountered unexpected end-of-file; chunk vpAg; subcode 0:0
MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0
MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0

and possibly also

X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x1800007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x1800007
Xlib:  extension "MIT-SCREEN-SAVER" missing on display "unix:1004.0".
Xlib:  extension "MIT-SCREEN-SAVER" missing on display "unix:1004.0".
Xlib:  extension "MIT-SCREEN-SAVER" missing on display "unix:1004.0".
Xlib:  extension "MIT-SCREEN-SAVER" missing on display "unix:1004.0".

I attach an example desktop file, and the session log from a connection instigated from FreeNX.

This bug report arose as a result of working on bug #280901, which arose in the course of bug #280787.  

Or they may all be totally independent?
Comment 1 Mark Van De Vyver 2007-06-05 14:00:10 UTC
Created attachment 144222 [details]
a .desktop file showning partial commenting of translation entries

Related to the description in the OP
Comment 2 Mark Van De Vyver 2007-06-05 14:09:43 UTC
Created attachment 144225 [details]
Session file showing errors in the life of a KDE instance initiated from FreeNX.
Comment 3 Stephan Kulow 2007-06-11 11:14:34 UTC
desktop file translations have nothing to do with MNG errors, no. And the file is untranslated - but that's it. I don't understand the issue you have with it.
Comment 4 Mark Van De Vyver 2007-06-11 22:27:36 UTC
My issue was it seemed the '#SUSE-Overwrite' was not being properly inserted.  
I assumed these comments were inserted for very good reason, so expected there must be some side effect to their absence.... Apparently not, or at least not any side effect related to the behavior I'm seeing.  

I have a script that inserts these comments where they are missing - it sounds like running this is pointless - correct?

The hunt for an explanation continues.... issue is closed then.
 Thanks