Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 11975

Summary: Perspective->SaveAs Dialog should show selected element in list
Product: [Eclipse Project] Platform Reporter: Tod Creasey <Tod_Creasey>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: accessibility
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on: 10476    
Bug Blocks:    

Description Tod Creasey CLA 2002-03-20 14:13:15 EST
The Perspective->Sav As dialog select the current perspective in the list by 
default. However in large fonts if you choose Save As from the Resource 
Perspective the Resource entry is not visible. This violates 1194.21 c) of 
section 508

(c) A well-defined on-screen indication of the current focus shall be provided 
that moves among interactive interface elements as the input focus changes. The 
focus shall be programmatically exposed so that assistive technology can track 
focus and focus changes.
Comment 1 Tod Creasey CLA 2002-03-20 16:35:06 EST
This is due to an OS bug in windows (this works fine in Linux) - see Bug 10476. 
Marking as later as it is low priority.

From the setItem() method in Table

/*
	* Bug in Windows.  For some reason, when there is insufficient space
	* to show an item, LVM_ENSUREVISIBLE causes blank lines to be
	* inserted at the top of the widget.  A call to LVM_GETTOPINDEX will
	* return a negative number (this is an impossible result).  The fix is 
to
	* detect this case and fail to show the selection.
	*/
	if (OS.SendMessage (handle, OS.LVM_GETCOUNTPERPAGE, 0, 0) <= 0)  return;
Comment 2 Tod Creasey CLA 2002-07-25 09:13:38 EDT
Recheck in 2.0 as Bug 10476 may be fixed.
Comment 3 Tod Creasey CLA 2002-07-25 11:32:54 EDT
Verified fixed in 2.0.
Comment 4 Tod Creasey CLA 2005-05-10 14:55:45 EDT
Marking closed