To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106782
                 Issue #|106782
                 Summary|ListBox keystrokes only work properly for some sizes
               Component|Word processor
                 Version|OOO310m19
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|writerneedsconfirm
             Reported by|propyloneric





------- Additional comments from propylone...@openoffice.org Tue Nov 10 
16:45:49 +0000 2009 -------
In a listbox with many entries, sized to display approximately a dozen at a
time, different sizes have different, mostly unexpected behaviors.

Using the code below and pressing "R", and then PageDown:

  ListBox Height   Result
  --------------   ------
      106          everything works properly
      107, 115     proper item is selected, but it is hidden below the
                   bottom of the box
      113, 114     proper item is selected and displayed at the bottom 
                   of the box, but PageDown goes one line up before 
                   acting as expected

===== Test Case ====

REM  *****  BASIC  *****

Sub Main

elements = Array( _
"Ag", _
"Am", _
"Ar", _
"Ar1", _
"Ar2", _
"As1", _
"As2", _
"At1", _
"At2", _
"Ba1", _
"Ba2", _
"Ba3", _
"Bi1", _
"Bi2", _
"Ca1", _
"Ca2", _
"CC1", _
"CC2", _
"Ch1", _
"Ch2", _
"Ch3", _
"Ch4", _
"Cl", _
"Co1", _
"Co2", _
"Co3", _
"Co4", _
"Co5", _
"Co6", _
"Co7", _
"Co8", _
"CR1", _
"CR2", _
"CR4", _
"Cr1", _
"Cr2", _
"De", _
"Dr", _
"FA1", _
"FA2", _
"FA3", _
"Fe", _
"Ge", _
"Go1", _
"Go2", _
"Ho1", _
"Ho2", _
"Ho3", _
"Ho4", _
"Ho5", _
"Ho6", _
"Ho7", _
"In", _
"Jo1", _
"Jo2", _
"Jo3", _
"K1.", _
"K2.", _
"K3.", _
"Ka1", _
"Ka2", _
"Ka3", _
"KS1", _
"KS2", _
"KS3", _
"KS4", _
"KS5", _
"La1", _
"La2", _
"La3", _
"Me", _
"Ne", _
"No", _
"Om", _
"Ou", _
"Pr1", _
"Pr2", _
"Pr3", _
"Re01", _
"Re02", _
"Re03", _
"Re04", _
"Re05", _
"Re06", _
"Re07", _
"Re08", _
"Re09", _
"Re10", _
"Ru", _
"Se01", _
"Se02", _
"Se03", _
"Se04", _
"Se05", _
"Se06", _
"Se07", _
"Se08", _
"Se09", _
"Se10", _
"Sh", _
"So1", _
"So2", _
"St", _
"Su1", _
"Su2", _
"Su3", _
"Un", _
"Wa", _
"We1", _
"We2", _
"We3", _
"We4", _
"We5", _
"We6")

myDlg = CreateUnoDialog(DialogLibraries.Standard.dlgListBoxBug)
myDlg.Title = "Listbox bug..."
myDlg.getControl("ListBox1").addItems(elements, 0)
myDlg.execute

End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to