Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311741 - Table leaves empty space for scrollbars on Mac OS X 10.5 even if scrollbars hidden
Summary: Table leaves empty space for scrollbars on Mac OS X 10.5 even if scrollbars h...
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 311725
  Show dependency tree
 
Reported: 2010-05-05 10:46 EDT by Raksha Vasisht CLA
Modified: 2017-07-03 08:30 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raksha Vasisht CLA 2010-05-05 10:46:33 EDT
See bug 311725

The table that we create  MultipleHyperlinkPresenter.LinkListInformationControl.fTable
 creates a white space at the bottom of the table. Could reproduce it on OSX 10.5 and with 3.6 M7 and 3.5.2 build.
Could not check in the earlier versions or investigate more as the machine got upgraded to 10.6 and the bug is no longer reproducible there. Creating a JDT-UI bug to do our side of the investigation.
Comment 1 Markus Keller CLA 2010-05-07 04:42:40 EDT
Moving to SWT.

On 10.5, the Table widget always reserves space at the bottom and the right for scrollbars, even if no scrollbar is necessary/shown. On 10.6, the Table behaves as on other platforms (preferred size does not leave gaps).

This causes the problems in bug 311725, since we don't expect areas in the table that do not render an element.

When the user clicks that area, the selection is cleared, our code throws the AIIOBE from bug 311725 comment 5, and SWT hangs in bug 308844.
Comment 2 Markus Keller CLA 2010-05-09 11:25:13 EDT
Actually, this also doesn't work for free on other platforms, so we do
fTable.getHorizontalBar().setVisible(false) (same for vertical), but this only works in Mac OS X 10.6.

Another inconsistency is that clicking an empty area deselects the current selection in an SWT.SINGLE Tree or Table on Cocoa. On GTK and WinXP, the selection stays. On GTK, I found no way to get an empty selection via UI. On WinXP, the selection always stays in Trees, but in Tables, Ctrl+Space deselects.
Comment 3 Lakshmi P Shanmugam CLA 2017-07-03 08:30:03 EDT
(In reply to Markus Keller from comment #2)
> Actually, this also doesn't work for free on other platforms, so we do
> fTable.getHorizontalBar().setVisible(false) (same for vertical), but this
> only works in Mac OS X 10.6.
OSX 10.5 is no longer supported.

> 
> Another inconsistency is that clicking an empty area deselects the current
> selection in an SWT.SINGLE Tree or Table on Cocoa. 
This doesn't happen anymore for SWT.SINGLE. Happens only for SWT.MULTI style