Bug 553280 - [Mac] Tables containing images have header same size of the row and the table scrolls under the header it self
Summary: [Mac] Tables containing images have header same size of the row and the table...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.13   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact: Sravan Kumar Lakkimsetti CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2019-11-20 12:20 EST by Luca D\'Onofrio CLA
Modified: 2020-11-23 04:45 EST (History)
4 users (show)

See Also:


Attachments
Example project (2.31 KB, application/octet-stream)
2019-11-20 12:20 EST, Luca D\'Onofrio CLA
no flags Details
Screenshots and comparison (141.32 KB, image/png)
2019-11-20 12:20 EST, Luca D\'Onofrio CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca D\'Onofrio CLA 2019-11-20 12:20:07 EST
Created attachment 280745 [details]
Example project

As for the attached Snippet, I have created a table then added an image bigger than the row height in the first column of each row.
All appears ok on Windows, but on MAC (tested on Mohave only) I have found these to issues:

1) the table header height grows as the row height: thus, if a row as an height of, let's say, 100px, the table header will have the same height;

2) as you can see from the attached screenshot, when scrolling the table, the table content appears under the table header itself

I have seen this behaviour only recently, not sure if something has changed in Eclipse 2019-06 and 2019-09 or on MAC itself.
Comment 1 Luca D\'Onofrio CLA 2019-11-20 12:20:49 EST
Created attachment 280746 [details]
Screenshots and comparison
Comment 2 Andrey Loskutov CLA 2019-11-20 12:54:23 EST
Could you please check with latest 4.14 nightly build?
Comment 3 Luca D\'Onofrio CLA 2019-11-21 11:36:41 EST
Yes, just tried with https://download.eclipse.org/eclipse/downloads/drops4/S-4.14M1-201910091800/download.php?dropFile=swt-4.14M1-cocoa-macosx-x86_64.zip same issues.

Table header is still tall as each line and the table scrolls under the header.
Comment 4 Adam Ward CLA 2020-01-03 08:00:13 EST
Can confirm this is a problem for Mac High Sierra as well
Comment 5 Luca D\'Onofrio CLA 2020-01-07 15:27:31 EST
(In reply to Adam Ward from comment #4)
> Can confirm this is a problem for Mac High Sierra as well

Yes I confirm
Comment 6 Sravan Kumar Lakkimsetti CLA 2020-02-28 01:32:45 EST
Moving to 4.16 as we are working on higher priority bugs
Comment 7 Sravan Kumar Lakkimsetti CLA 2020-05-27 04:34:12 EDT
Unfortunately we have to move to 4.17 as we could not complete the work.
Comment 8 Sravan Kumar Lakkimsetti CLA 2020-06-30 02:38:13 EDT
I did some investigation and found that all the rows(including header) will have same height on Mac. And the header height is dependent on the row height irrespective of content in the header. 

I tried setting an image to header and no image to the rows. In this case the image got truncated and header has same height as the rows.
Comment 9 Sravan Kumar Lakkimsetti CLA 2020-08-03 04:39:52 EDT
I am not sure on how to proceed on this. Any help is appreciated
Comment 10 Niraj Modi CLA 2020-09-02 04:53:16 EDT
Mass move out to 4.18
Comment 11 Lakshmi P Shanmugam CLA 2020-11-23 04:45:42 EST
Resetting target.