Bug 418032

Summary: xmessage message is not accessible-aware
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User h13THG8RK1 <forgotten_h13THG8RK1>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: casualprogrammer, d, forgotten_h13THG8RK1, mgorse, mvidner
Version: FinalKeywords: accessibility
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User h13THG8RK1 2008-08-18 15:00:06 UTC
The xmessage error window of yast does not function with Orca.

Suggestion: use zenity when available. Instead of calling xmessage directly from /sbin/yast2, we could add a function such as:

  function display_error
  {
  	if [ -x /usr/bin/zenity ]; then
  		/usr/bin/zenity --title="Error" --text-info --filename="$1"
  	else
  		xmessage -buttons OK:0 -default OK -center -file "$1"
  	fi
  }
Comment 1 Martin Vidner 2008-08-19 13:57:22 UTC
Thanks, I have added kdialog and committed to r50203, it will be in yast2-2.17.13.
Comment 2 Martin Vidner 2008-08-19 13:58:24 UTC
*** Bug 343903 has been marked as a duplicate of this bug. ***
Comment 3 Forgotten User h13THG8RK1 2008-08-22 00:40:12 UTC
Okay. The goal here of course is accessibility support which I am not sure how good it is from KDE, as Qt4 is just exporting ATK now, so it might make sense to at least make that zenity condition run first.