Please "vote" so that this hopefully at least gets reviewed!

http://www.realsoftware.com/feedback/viewreport.php?reportid=owrfecxz

Report ID: owrfecxz
Status: Open
Summary:
In apps Listbox scrollbars appearance and placement can be wrong and is inconsistent

Requests: 8

Category:
REALbasic / Framework / User Interface / Controls / ListBox

Severity:
Incorrect Functionality

Description
This is BOTH incorrect functionality AND cosmetic

Tests show it affects OSX, Classic, Win2K ... I assume Win XP but I can't test it.

With Autohide = false (I did not try with true) listbox scrollbar placement is wrong can be wrong and the order of operations affect appearence...

Note: I have since verified at least some of these issues occur with Autohide = True

The end cap is where the horizontal and vertical scrollbars come together is never drawn on 10.4.7 or 10.4.8. When both are present sometimes a white square (OSX) is left where the end cap should be, sometimes the vertical scrollbar extents the whole height even when a horizontal scrollbar is present.

And sometimes the horizontal scrollbar is not drawn at all leaving a "hole" where the window shows through

In R4B5 in classic the listbox does draw the end cap ... but in some cases outside the listbox bounds (see tiff)

The same code run from RB 5.5 always draws the scrollbars correctly but not the end cap on 10.4.7

See Rb55Listbox.tiff. That was not the case back when I was using 5.5 in a lower OSX version. In classic for RB 5.5 everything is correct

For RB2006R4b5 when the app is run in CLASSIC, the end cap is always drawn but sometimes totally outside the listbox bounds

On Win2K The same problems as on OSX are seen.

also, the new IDE sets the autohidescrollbars of v5.5 listboxes to true when they should remain false.

IDE Version
RB2006R3 and R4

Steps to Reproduce

Run the attached project

Top unpopulated listbox is missing the horizontal scrollbar leaving a "hole" and vertical scrollbar extends the full height

Middle populated list box shows correct horizontal scrollbar but vertical scrollbar extends the full height... and on classic the end cap is still drawn below below the verticak scroolbar ... but out side the listbox bounds!

Bottom listbox shows both scrollbars correctly but in missing the end cap at the intersection. Push the buttons to activate both scrollbars,

See enclosed project and Tiffs


In short it seems that on 10.4.7 (amd Win2K) the end cap is simply not drawing though code is in place to draw it at least on PEF Mac Apps as it is drawn in Classic . Also the logic for positioning/ drawing scrollbars is buggy, at least for AutoHide = false... Though I would not be surprised if it is also an issue in some cases for AutoHide = True

Note: Confirmed some of these issue exist for AutoHde = True

Workaround

none. the default for autohidescrollbars should be false, and the IDE should not set listboxes brought in from v5.5 to true. Scrolbar drawing and updating when autohidescollbars is false does not work and needs fixed.

the "hole" goes away if you set ColumnCount to match the number of columns specified in ColumnWidths. drawing is still wrong (the scrollbar goes all the way across instead of leaving an endcap), but at least there's a usable scrollbar.

Report State Change Request
Could this at least get reviewed so it has chance of getting fixed? Listbox are important!

Attachments
ListboxBug.tiff 61.4 kb
ListBoxMess.rbp  35.0 kb
Rb55Listbox.tiff 31.3 kb
ClassicR4B5ListBox.tiff 33.4 kb
Win2K_Listbox.tiff 28.6 kb

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to