[Bug 343903] New: yast2 xmessage enhancement to make error details accessible for copying
https://bugzilla.novell.com/show_bug.cgi?id=343903 Summary: yast2 xmessage enhancement to make error details accessible for copying Product: openSUSE 11.0 Version: unspecified Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: jsrain@novell.com Found By: Beta-Customer As pointed out in Bug 343899 Comment #0 it doesn't seem to be possible to copy content from an xmessage for reporting it here or elsewhere. Adding some functionality to /sbin/yast2 could help. I tried the following: Modify function exit_trap() from exit_trap() { # handily, exit_code is set to $? of y2base. # If there was an error and there is anything to display, pop up. if [ $exit_code != 0 -a -s $ERRLOG ]; then xmessage -buttons OK:0 -default OK -center -file $ERRLOG fi rm -f $ERRLOG } to exit_trap() { # handily, exit_code is set to $? of y2base. # If there was an error and there is anything to display, pop up. if [ $exit_code != 0 -a -s $ERRLOG ]; then xmessage -buttons OK:0,"Details in: "$ERRLOG:0 -default OK -center -file $ERRLOG fi rm -f $ERRLOG } which simply adds a dummy ( return code same as OK ) button displaying the location of the temporary file containing the error details. While this is probably not perfect, it saves me a lot of fiddling to get at the information offered. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=343903
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=343903#c2
--- Comment #2 from Casual J. Programmer
https://bugzilla.novell.com/show_bug.cgi?id=343903#c3
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=343903#c4
--- Comment #4 from Casual J. Programmer
https://bugzilla.novell.com/show_bug.cgi?id=343903#c5
--- Comment #5 from Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=343903#c6
--- Comment #6 from Casual J. Programmer
https://bugzilla.novell.com/show_bug.cgi?id=343903
User rpmcruz@alunos.dcc.fc.up.pt added comment
https://bugzilla.novell.com/show_bug.cgi?id=343903#c7
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=343903
User mvidner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343903#c8
Martin Vidner
participants (1)
-
bugzilla_noreply@novell.com