Bug 160384

Summary: Invalid png graphics in ELOG
Product: [Applications] kst Reporter: Yiwen Mao <yiwenv>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: perl script used to generated random data

Description Yiwen Mao 2008-04-05 00:43:49 UTC
Version:           1.6.0 (using KDE 4.0.3)
OS:                Linux

Problem: when using the Event Monitor to add an entry in ELOG, Kst capture cannot be displayed.

Steps to reproduce the problem:
Enable ELOG extension: Settings --> Extensions --> check "ELOG Extensions"
Download the perl script: simrealtime.pl
Execute the script in a terminal:
   chmod a+x simrealtime.pl
   ./simrealtime.pl simulated.dat
In a seprerate terminal, open kst by typing
    kst -y 1 simulated.dat
Create a new event monitor: Data--> New Event Mointor...
Enter "ABS([1]-[1/Mean])>=5*[1/Sigma]" for Expression
Check "Notify" under ELOG
Click Configure...

In the ELOG Event Entry dialog
Check "Include Kst Capture"
Enter "kst" for Author
Enter "test" for Subject
Click Close
Press Enter a few times in the terminal executing the perl script
File --> Launch ELOG Browser
Open the message with Subject: test and Authour: kst
The Capture.kst cannot be displayed
Comment 1 Yiwen Mao 2008-04-05 00:45:08 UTC
Created attachment 24192 [details]
perl script used to generated random data
Comment 2 Andrew Walker 2008-04-05 00:50:24 UTC
Fixed with previous changes to kst/src/extensions/elog.cpp